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,081 of 10,840   
   Yves to All   
   How to excecute a VBS from VisualBasic   
   15 Dec 04 16:33:44   
   
   From: yves.nospam@invalid.org   
      
   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