-
I have a program that I call from within my vb program (using the shell command) .. and currently the vb program that is called reads a file to find out if a condition is true or not, is there a way that I can pass a 1 or 2 to the program when it is called from the shell command to eliminate the need for the file?
Please email me with your answers at : [email protected]
Thanks
Jimmy C. Broadhead, Jr.
-
Place this in the form load event
Code:
Dim strBuffer As String
strBuffer = Command
If Trim$(strBuffer) = -1 Then
'True so Do Something
ElseIf Trim$(strBuffer) = 0 Then
'False so do other
Else
'no command line so check file any way.
End If
Regards
-
I believe
I believe that this only works with VB6.. I'm using VB5 Enterprise ..
Jimmy