Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alt key not working after calling API_APIRUN
Message
 
 
To
27/10/2005 12:43:30
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01060394
Message ID:
01062693
Views:
11
>>>>Here's what I do most of the time. Sometimes this gets more complicated - see Capture error output from PkZip25 Thread #1061161 - but basically this is it. Just plain old API_APPRUN, and oprocess.LaunchAppAndWait.
>>>
>>>Thank you.
>>>I was able to run non empty bat files. I can use unmodified API_APPRUN for this.
>>>
>>>After running bat file containing single line exit Alt+F key works.
>>>After running bat file containg 3 lines
>>>
>>>set pgpassword=x
>>>C:\PROGRA~1\POSTGR~1\8.0\PGADMI~1\pg_dump.exe -Z9 -b -v -f "I:\051027 DEMO backup.backup" -F c -h andrus -U postgres mydb
>>>exit
>>>
>>>Alt+F does not work.
>>>So the problem persists.
>>
>>Did you try it with a different command? I am thinking, may be it's related to this particular pg_dump exe
>
>I'm thinking this also.
>Which API call I can use to restore normal Alt+F behaviour ?
>I think I need something like switching to other application and then back to my application programmatically.

Well, as a kludge you can add to the same bat file call to some other application. It sure doesn't sound like a good application this pg_dump.exe if it changes keys behavior.
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