Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command Line problem....urgent!!!!

Status
Not open for further replies.

swiv

Programmer
Sep 18, 2002
20
GB
Dear all

I am trying to execute a .bat file from a ASP.NET Portal using VB.NET...here's the code

Dim dblRet as Double  
dblRet = shell("C:\c2k\nma\portalvb\FormTemplates\test2.bat")

AppActivate (ToInt32(dblRet))

the problem I was getting was that the file simply wasn't being executed, hence the AppActivate bit to test for the TaskID...but now it can't find the process....help


SWIV
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top