Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OS Right Click Menu Option Add
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Oracle
Divers
Thread ID:
00977990
Message ID:
00977994
Vues:
38
Hi Aashish,

1) look in MSDN to "Shell Basics: Extending the Shell - Creating a File Association"
2/3) many SW uses special DLL

MartinJ

very simply example for registry:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\Shell\File to EXE - use WinRar (Max)\Command]
@="d:\\special.bat %1"

[HKEY_CLASSES_ROOT\*\Shell\File to EXE - use WinRar (Fast)\Command]
@="d:\\specialf.bat %1"

[HKEY_CLASSES_ROOT\Folder\shell\File to EXE - use WinRar (max)]
[HKEY_CLASSES_ROOT\Folder\shell\File to EXE - use WinRar (max)\Command]
@="d:\\special.bat %1"

[HKEY_CLASSES_ROOT\Folder\shell\File to EXE - use WinRar (fast)]
[HKEY_CLASSES_ROOT\Folder\shell\File to EXE - use WinRar (fast)\Command]
@="d:\\specialf.bat %1"

Special.bat
START /D"c:\Program Files\WinRAR" WinRAR.exe a -sfxDefault.SFX %1 %1 -m5 -md1024 -s -r -rr -dh

specialf.bat
START /D"c:\Program Files\WinRAR" WinRAR.exe a -sfxDefault.SFX %1 %1 -m1 -md1024 -s -r -rr -dh

>Hi Friends,
>
>Would like to add few options in Right Click Menu of Operating System Windows.
>
>Like how WINZIP provide option of zipping in OS through Right Click.
>
>Features Needed
>1. File/Extension based operation.
>2. Multi - Selection.
>3. Dynamic Change in Right Click Menu of OS
>
>
>Example:
>Right click from the OS on .doc file provides an option to move that particular file in predefined path.
>Right click from the OS on .xls file provides an option to password protect the file.
>Right click from the OS on .PDF file provides an option to save the PDF content as text.
>
>
>Thanks.
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform