Click here to Skip to main content
15,885,027 members
Home / Discussions / C#
   

C#

 
QuestionConverting math equations to C or C++ Pin
mohamad-n10-May-11 21:09
mohamad-n10-May-11 21:09 
Questionget newly inserted records or updated records from access tables Pin
Abdul Rahman Hamidy31-May-09 2:46
Abdul Rahman Hamidy31-May-09 2:46 
AnswerRe: get newly inserted records or updated records from access tables Pin
Luc Pattyn31-May-09 2:59
sitebuilderLuc Pattyn31-May-09 2:59 
AnswerRe: get newly inserted records or updated records from access tables Pin
Dave Kreskowiak31-May-09 3:32
mveDave Kreskowiak31-May-09 3:32 
QuestionHow to add a application to system menu and Startup in System Configuration Utility? Pin
tannghia31-May-09 1:56
tannghia31-May-09 1:56 
AnswerRe: How to add a application to system menu and Startup in System Configuration Utility? Pin
mrcooll31-May-09 2:03
mrcooll31-May-09 2:03 
AnswerRe: How to add a application to system menu and Startup in System Configuration Utility? Pin
0x3c031-May-09 2:09
0x3c031-May-09 2:09 
AnswerRe: How to add a application to system menu and Startup in System Configuration Utility? Pin
Luc Pattyn31-May-09 2:43
sitebuilderLuc Pattyn31-May-09 2:43 
Hi,

there are many ways to do this, and it depends on the intelligence you need behind this.

If all you need is a fixed menu item (fixed text, fixed command line to execute) for files, folders or files+folders then it takes two registry entries:

// create registry entries to get an entry in the Explorer context menu for all files and folders:
// (replace AllFilesystemObjects by * for files not folders)
// HKEY_CLASSES_ROOT\AllFilesystemObjects\Shell\SomeNameYouChoose.ContextMenu:
// (Default) Open in my program
// HKEY_CLASSES_ROOT\AllFilesystemObjects\Shell\SomeNameYouChoose.ContextMenu\Command:
// (Default) path_to_my_exe "%1"


If you need some code to run before the context menu appears (because you need to compute the right menu item text, etc) then it gets more complex.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

AnswerRe: How to add a application to system menu and Startup in System Configuration Utility? Pin
Giorgi Dalakishvili31-May-09 3:15
mentorGiorgi Dalakishvili31-May-09 3:15 
QuestionHow to use swf file in C#? Pin
SNI31-May-09 1:38
SNI31-May-09 1:38 
AnswerRe: How to use swf file in C#? Pin
0x3c031-May-09 1:43
0x3c031-May-09 1:43 
GeneralRe: How to use swf file in C#? Pin
SNI31-May-09 3:22
SNI31-May-09 3:22 
GeneralRe: How to use swf file in C#? Pin
0x3c031-May-09 7:06
0x3c031-May-09 7:06 
QuestionTime Calculation Pin
indian2231-May-09 0:54
indian2231-May-09 0:54 
AnswerRe: Time Calculation Pin
mrcooll31-May-09 1:15
mrcooll31-May-09 1:15 
GeneralRe: Time Calculation Pin
indian2231-May-09 1:23
indian2231-May-09 1:23 
GeneralRe: Time Calculation Pin
0x3c031-May-09 1:27
0x3c031-May-09 1:27 
GeneralRe: Time Calculation Pin
indian2231-May-09 1:30
indian2231-May-09 1:30 
GeneralRe: Time Calculation Pin
0x3c031-May-09 1:33
0x3c031-May-09 1:33 
GeneralRe: Time Calculation [modified] Pin
Alan N31-May-09 3:23
Alan N31-May-09 3:23 
GeneralRe: Time Calculation Pin
mrcooll31-May-09 1:53
mrcooll31-May-09 1:53 
AnswerRe: Time Calculation Pin
0x3c031-May-09 1:17
0x3c031-May-09 1:17 
Questionvideo file from web service Pin
Faysal30-May-09 22:06
Faysal30-May-09 22:06 
QuestionOverride non virtual Methods Pin
hafi8030-May-09 21:18
hafi8030-May-09 21:18 
AnswerRe: Override non virtual Methods Pin
Nuri Ismail30-May-09 22:28
Nuri Ismail30-May-09 22:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.