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 8,937 of 10,840   
   Rowland to All   
   Calling a script from a VB program.   
   01 Nov 04 16:47:20   
   
   From: banksr0@hotmail.com   
      
   Hi,   
      
   I'm writing a program which requires very different code if certain   
   technologies are being used (e.g. it might output results in a csv file, a   
   text file, a HTML file, a word document) depending on the requirements.   
   However, the requirements are subject to change, so I don't want to/can't   
   plan for every eventuality!   
      
   So, I decided to use an 'exit', i.e. a user-written script that will do the   
   task, given an appropriate input. Soooo, my question is how can I call, e.g.   
   a VBScript script (although ideally I would like to use any script if there   
   is a nice general-purpose method for that) from a VB program. I will need to   
   be able to pass a parameter(s), and get a result back.   
      
   Any pointers will be appreciated.   
      
   Thanks, Rowland.   
      
   --- 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