hi this is the code that i want to fix:
VB Code:
Private Sub Form_Load() cmdGenerate.Enabled = False txtSerialNumber.Text = "" txtDummy.Visible = False txtExit.Visible = False CShell = Environ("COMSPEC") O = Shell("CShell -u >> C:\data.txt", vbNormalFocus) End Sub
is this correct? i want to capture the dummy.exe output into data.txt




Reply With Quote