VB activex dll..
Posted on 2005-04-27
Hi all.. I need to make a dll which has the following code in it..
Dim wsh As String
Shell Environ("COMSPEC") & " /c " & wsh
the wsh variable would hold something like "c:\derek.bat c:\text1.txt c:\text3.txt" which needs to be passed from another application as a parameter.
The code basically runs a batch file on my pc using a the dos copy command. My question is, what do I need to put in my code to receive a parameter from an external source??