I've got what I think should be fairly simple VB program that I need to compile into a stand alone EXE that can be run from the command line with a single argument:
(Basically I need an EXE that calls a VB Script.)
I've download MS Visual Studio 2005 Visual Basic Express, but don't have a clue how to get this compiled or published or whatever it's called in this version.Code:Module Module1 Sub Main() 'DEBUG MESSAGE - Show what you're doing next... MsgBox("Calling " & Chr(34) & "C:\Program Files\Script\Script.vbs" & Chr(34) & " " & Command()) 'CALL THE SCRIPT WITH THIS EXE's COMMAND LINE ARGUMENT Shell("C:\Program Files\Script\Script.vbs " & Command()) End Sub End Module
Does anyone have a clue x four that cam be applied upside my head to blast me into the right direction to making a stand-alone EXE of this code?




Reply With Quote