codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Help Running VB script in Windows 2003  ltdoors at 19:51 on Tuesday, July 15, 2008
 

I am trying to run Visual Basic Script on Windows 2003 Server. When I run the script, I keep getting file handle and not enough storage space errors. When I run the script on Windows 2000 it runs flawlessley. Can anyone help me??


If oX.FileExists("MAIL.vbs") Then
' hack hack - Win2003 returns Handle is invalid, make
' a new shell object and use the run on that
WScript.sleep 3000

Set oWShellHack = CreateObject("Wscript.shell")
oWShellHack.Run "s:\d\p_in\MAIL.vbs",2,1
Set oLogFile = oFSO.OpenTextFile(LOG_FILE, 8)
oLogFile.WriteLine("Mail.vbs was processed.")
oLogFile.Close
End If






  Re: Help Running VB script in Windows 2003  Jackcarter at 14:06 on Friday, July 25, 2008
 

Argh I cant find it right now, but I am sure I remember seeing this same resolutions over at vbasic.net. I will try and find it and post it here. Try searching over there.








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Web Hosting
•  Re: refresh parent after closing pop up window
•  [Help] Javascript Quiz
•  Page scrolls to top when hiding or showing a div
•  Site disconnects unexpectedly
•  Re: dynamic crystal report generation
•  px to cm or reverse converting
•  Re: Help Running VB script in Windows 2003
•  ONUNLOAD


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008