Jan 10th, 2005, 02:06 PM
#1
Thread Starter
Lively Member
Add New option to the windows explorer pop up menu
Dear friends.
How I do to make a new option in the windows explorer popup (context menu) that call my application?
I'm using VB6
Attached Images
Jan 10th, 2005, 02:16 PM
#2
Re: Add New option to the windows explorer pop up menu
You can look in Explorer->Folder Options->Filetypes->Advanced.
You can associate filetypes, and include default actions which show up as right-click events.
or, the easier way,
just click RUN WITH and find your program, then click Always use this program when ...
Jan 10th, 2005, 02:26 PM
#3
Thread Starter
Lively Member
Re: Add New option to the windows explorer pop up menu
Dear friend.
I want to put it via code using Visual Basic 6!!!!???
Jan 10th, 2005, 02:27 PM
#4
Re: Add New option to the windows explorer pop up menu
I believe there is also a registry hack to do this. Try searching the forums. I remember seeing it lately.
VB/Office Guru™ (AKA: Gangsta Yoda ™ ® )
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it!
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6
Jan 11th, 2005, 09:56 AM
#5
Re: Add New option to the windows explorer pop up menu
if you want it to apply to all files, you have to add a hive to
HKEY CLASSES ROOT/*
otherwise add it for the file types you want to include eg for RichTextFile
HKEY_CLASSES_ROOT\rtffile\shell\yourapp
HKEY_CLASSES_ROOT\rtffile\shell\yourapp\command
@=C:\Program Files\yourappfolder\yourapp.EXE %1
actual example from registry
[HKEY_CLASSES_ROOT\rtffile\shell]
[HKEY_CLASSES_ROOT\rtffile\shell\open]
[HKEY_CLASSES_ROOT\rtffile\shell\open\command]
@="\"C:\\Program Files\\Windows NT\\Accessories\\WORDPAD.EXE\" \"%1\""
[HKEY_CLASSES_ROOT\rtffile\shell\print]
[HKEY_CLASSES_ROOT\rtffile\shell\print\command]
@="\"C:\\Program Files\\Windows NT\\Accessories\\WORDPAD.EXE\" /p \"%1\""
[HKEY_CLASSES_ROOT\rtffile\shell\printto]
[HKEY_CLASSES_ROOT\rtffile\shell\printto\command]
@="\"C:\\Program Files\\Windows NT\\Accessories\\WORDPAD.EXE\" /pt \"%1\" \"%2\" \"%3\" \"%4\""
regds pete
editing the registry can be destructive
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width