jerzybest
 Beginner Join Date: 9/10/2007 Posts: 24
|
|
|
Posted: 9/19/2007 1:27:48 PM
|
|
|
when i run this i get
F:\website\forums2>vbc /nologo /t:library /r:System.dll,System.web.dll,System.D ta.dll,Microsoft.VisualBasic.dll /out:bin\Global.dll Global.vb 'vbc' is not recognized as an internal or external command, operable program or batch file.
for all the .dll's how can i fix this ?
|
|
grimmeissen
 Administrator
 Join Date: 8/30/2005 Posts: 656 Location: Cincinnati, Ohio
|
|
|
Posted: 9/20/2007 7:16:42 AM
|
|
|
Make sure the location of vbc.exe is in your path. The location is somewhere like this.
C:\WINDOWS\microsoft.NET\Framework\v2.0.50727
This must be in your path to call vbc like that. Otherwise, you could always change each command in compile.bat to look like this.
C:\WINDOWS\microsoft.NET\Framework\v2.0.50727\vbc.exe /nologo /t:library /r:System.dll,System.web.dll,System.D ta.dll,Microsoft.VisualBasic.dll /out:bin\Global.dll Global.vb
|
|
bascdfj
 Newbie
 Join Date: 9/18/2007 Posts: 9
|
|
|
Posted: 10/12/2007 12:31:17 PM
|
|
|
Best to set the path using instructions in the readme so the complier can find the other dll's it needs. also be sure there are no other copies of the dlls or exe in your dmg directory (something I tried when I could not get the compiler to fly).
Ford James
|
|
grimmeissen
 Administrator
 Join Date: 8/30/2005 Posts: 656 Location: Cincinnati, Ohio
|
|
|
Posted: 10/12/2007 6:42:48 PM
|
|
|
|
That's true. I have not tested, but it may not find the referenced DLLs if you do not have the .NET framework directory in your path. That's the best solution for using the compiler.
|
|
empkey2
 Intermediate Join Date: 2/20/2008 Posts: 74
|
|
|
Posted: 2/26/2008 10:18:32 AM
|
|
|
Why don't you run the vbc by using Visual Studio 2005 Command Prompt from Microsoft Visual Studio 2005 folder, then use the DOS command to change the current directory to your *.vb source code, then run the compile.bat

|
|