I recently upgraded my application from VB6 to .NET and noticed that my WinExec call doesnt work anymore. It cant seems to recognize it at all. Does anyone know why this is?
Old Code:
WinExec(BATCH_FILE & " " & f, SW_SHOWNORMAL)
New Upgraded Code:
Win.Winbase.WinExec(BATCH_FILE & " " & f, Win.ESW.SW_SHOWNORMAL)
Now it's telling me that WinExec is not a part of Winbase, when I get rid of all that Win.Winbase stuff it still doesn't recognize it... What am I doing wrong? Please let me know.
Thanks,
Damann
Old Code:
WinExec(BATCH_FILE & " " & f, SW_SHOWNORMAL)
New Upgraded Code:
Win.Winbase.WinExec(BATCH_FILE & " " & f, Win.ESW.SW_SHOWNORMAL)
Now it's telling me that WinExec is not a part of Winbase, when I get rid of all that Win.Winbase stuff it still doesn't recognize it... What am I doing wrong? Please let me know.
Thanks,
Damann