Embedding Mysql.Data.dll (VB.NET)

Hi there, is it possible to compile mysql.data.dll inside my main .exe application instead of having myapp.exe and mysql.data.dll in the folder. I just want my application to be a single executable.

Thanks.
LVL 1
anggryAsked:
Who is Participating?
 
CodeCruiserConnect With a Mentor Commented:
The other suggestion is to package the MySQL driver setup with your application setup. The driver will install the DLLs in the GAC not in your app folder so the DLL will not be visible.


Check here

http://www.eggheadcafe.com/community/aspnet/2/10136323/to-combine-mysqlconnecto.aspx

http://www.eggheadcafe.com/community/aspnet/2/10136247/how-to-install-mysqldata.aspx

http://www.vbmysql.com/articles/vbnet-mysql/myodbc-connector/create-a-windows-installer
0
 
anggryAuthor Commented:
any other suggestions?
0
 
hameerabbasiCommented:
Use the publishing wizard. Go to the properties page and in the left pane click publish and publish your file. Then you'll need just one executable to install it.
0
All Courses

From novice to tech pro — start learning today.