Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Api_apprun problem (mine)
Message
 
 
To
14/05/2002 14:42:12
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00656391
Message ID:
00657363
Views:
36
>Hello Ed,
>
>Trying to use your PROCESS class (api_apprun). First attempt, with the following code:
>
> rrun = createobject("api_apprun")
> rrun.iccommandline = "rrwrun.exe"+cmd
> rrun.launchappandwait()
>
>I get a "data type mismatch" error. Can you tell me what I am doing wrong? TIA.

To isolate the problom try to launch NOTEPAD
rrun = createobject("api_apprun")
rrun.iccommandline = "notepad.exe "
rrun.launchappandwait()
If it runs okey, than the problem most likely is with parameters stored in the 'cmd' variable. If you get the same error try to download that class again.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform