Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with API_APPRUN classe
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00454101
Message ID:
00454319
Views:
41
Eric,

Hopefully Ed Rauh will answer you soon. I may just say, what I use the program (not the class) and it works great for me. Could you also check what's in this line (102)?

>I think I will ask my question in an another way.
>
>I download the class API_APPRUN.
>I changed nothing to the class.
>I add SET CLASSLIB TO PROCESS ADDITIVE.
>I create a small form with a button.
>When I click it does:
>
>oProcess = CREATEOBJ('API_AppRun','NOTEPAD.EXE AUTOEXEC.BAT','C:\','NOR')
>oProcess.LaunchApp()
>
>(Code like in the sample in FAQ)
>
>When it run it fails and I receive an error
>
>Pgm:API_APPRUN.LAUNCHAPP/Line: 102
>Err.mess.:Data type mismatch.
>
>So one of the parameter is of the wrong type. I tried with the debugger to see which one but with any succes.
>
>Note : I am no expert with API Calls.
>
>Does this works with Win98? Probably yes. I use other classes from Web Connection and API calls works fine.
>
>May be I am forgetting something like an another class, a call?
>
>Any idea would be very appreciated, since I need exactly this functionality.
>
>Thank's
>Eric.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform