Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restriction on SHIFT key
Message
From
02/04/2004 07:02:44
 
 
To
02/04/2004 06:06:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00891705
Message ID:
00891712
Views:
25
Hi Tariq,

No, as far as I know. I think you must run your exe as a service. BTW, have you tried to add C:\watch\watch into autoexec.bat? May work on WIN98 machines.

>Dear Sir,
>
>I am using VFP6 on Windows98 plateform. I copy my software's exe file to start menu by using these commands
>*------------------
>CLEAR
>SET DEFAULT TO C:\WATCH
>
>DECLARE LONG CopyFile IN WIN32API STRING lpExistingFileName, STRING lpNewFileName, LONG bFailIfExists
>IF COPYFILE("c:\watch\watch.exe", "C:\WINDOWS\Start Menu\Programs\StartUp\watch.exe", 1) = 1
>ENDIF
>*------------------
>When windows startup this exe file runs correctly but, on that time, if a user holds own SHIFT key then watch.exe does not start. Windows by-pass it.
>
>Is there any method to restrict shift key function on windows startup.
>
>I want this exe to run with every startup session of Windows.
>
>Please help
Previous
Reply
Map
View

Click here to load this message in the networking platform