Groups | Blog | Home
all groups > dotnet windows forms > february 2004 >

dotnet windows forms : Vbc Compile problem


Richard
2/19/2004 10:31:07 PM
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
hirf-spam-me-here NO[at]SPAM gmx.at
2/20/2004 1:04:46 PM
* "=?Utf-8?B?UmljaGFyZA==?=" <anonymous@discussions.microsoft.com> scripsit:
[quoted text, click to view]

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.

--
Herfried K. Wagner [MVP]
Richard
2/22/2004 5:31:05 PM
If I removed the ico file in the directory, the exe file throw exception
Why?
hirf-spam-me-here NO[at]SPAM gmx.at
2/23/2004 5:46:15 PM
* "=?Utf-8?B?UmljaGFyZA==?=" <anonymous@discussions.microsoft.com> scripsit:
[quoted text, click to view]

What exception?

--
Herfried K. Wagner [MVP]
AddThis Social Bookmark Button