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.
 
Back
Top