home bbs files messages ]

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,082 of 10,840   
   mayayana to Yves   
   Re: How to excecute a VBS from VisualBas   
   16 Dec 04 00:44:49   
   
   From: mayaXXyana1a@mindYYspring.com   
      
   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