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
• Re: Text wrapping on C# webforms buttons
• Re: Replacing patterns a^b with pow(a,b)
• Re: Problem - Object doesn`t support this property or method
• great sight
• Re: JavaScript: Not working in Firefox 3.x
• Re: Difference between two dates including From & To date
• Re: How to highlight text WITHIN a JTable cell?
• Re: Javascript: return not in function?
• Re: How to concatenate a string and a variable using perl?


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-2010