Vbc Compile problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using vbc as my compile tool because I have no money to buy VS.net!! :

When I complile my program to generate exe fil

vbc /t:winexe /out:good.exe good.vb /win32icon:good.icon /r:connection.dll /r:common.dl

I discover the generated exe file require the dll file and good.icon file in the same directory
If I run the exe file in other machine, it fail

Therefore, I want to know any method can run the exe file independently
Thank You Very Much
 
* "=?Utf-8?B?UmljaGFyZA==?= said:
I am using vbc as my compile tool because I have no money to buy VS.net!! :>

When I complile my program to generate exe file

vbc /t:winexe /out:good.exe good.vb /win32icon:good.icon /r:connection.dll /r:common.dll

I discover the generated exe file require the dll file and good.icon file in the same directory!
If I run the exe file in other machine, it fail?

You don't need to distribute the icon file, but you will have to
distribute the DLL. There are ways to link the DLL into the EXE, but I
wouldn't recommend to do that. Remember that the .NET Framework must be
installed on the destination machine too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

vbc command line 4
Using vbc to compile 1
Compiling With VBC 3
VBC and Formualr with Icon 2
vbc compiler error code 1 7
vbc compile error 1
capturing vbc parameters 1
Compile a CLR as an EXE 2

Back
Top