Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


How to Pass Memory Variables to Visual Basic

Keywords:   VB Visual Basic

Question:

While running a WinBatch program, is it possible to call a routine in Visual Basic, and pass variables from the WinBatch program? What would be the fastest way?

Answer:

  1. WinBatch can run a VB Exe and pass it parameters . basically the run or runwait function.

  2. The VB script can write data to an ini file that WinBatch can pick up later.

  3. I've heard rumors you can write a DLL in VB and DLLCALL it from WinBatch. That might be a better solution.

Article ID:   W13175
Filename:   Pass Memory Variables to VB.txt