Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restriction on SHIFT key
Message
De
02/04/2004 07:29:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/04/2004 06:06:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00891705
Message ID:
00891718
Vues:
20
>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
I wouldn't bother with shift key. Write to registry HKLM\Software\Microsoft\Windows\CurrentVersion\Run
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform