Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,083 of 10,840    |
|    Yves to All    |
|    Re: How to excecute a VBS from VisualBas    |
|    17 Dec 04 00:21:29    |
   
   From: yves.nospam@invalid.org   
      
   Many thanks, it works.   
   Thanks for your help.   
   Yves   
      
      
   "mayayana" a écrit dans le message de news:   
   5U4wd.669$yK.9@newsread3.news.atl.earthlink.net...   
   > It should work using "WScript.exe test.vbs"   
   >   
   > _____________________________   
   >   
   > mayayXXana1a@mindYYspring.com   
   > For return email remove XX and YY.   
   > _____________________________   
   > Yves wrote in message   
   > news:cpplgu$8cg$1@news.tiscali.fr...   
   >> Hello,   
   >> I cannot find a way to start a windows script (test.vbs) from a Visual   
   > basic   
   >> program.   
   >> i tried Shell with no success:   
   >> prog = "Test.vbs"   
   >> retval= Shell (prog, 1)   
   >> I get always an error 5 at execution time.   
   >> Thanks for your help   
   >> Yves   
   >>   
   >>   
   >>   
   >   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca