Click here to Skip to main content
15,908,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: سي Pin
sima37-Feb-10 23:48
sima37-Feb-10 23:48 
GeneralRe: شيس Pin
sima37-Feb-10 23:51
sima37-Feb-10 23:51 
QuestionMessage Removed Pin
7-Feb-10 23:53
jojoba20107-Feb-10 23:53 
AnswerRe: سي Pin
sima37-Feb-10 23:55
sima37-Feb-10 23:55 
QuestionMessage Removed Pin
7-Feb-10 23:55
jojoba20107-Feb-10 23:55 
AnswerRe: س Pin
sima38-Feb-10 0:00
sima38-Feb-10 0:00 
AnswerRe: سي Pin
sima37-Feb-10 23:56
sima37-Feb-10 23:56 
Questionshell extension problem on 64 bit pc Pin
Nematjon Raxmanov7-Feb-10 23:03
Nematjon Raxmanov7-Feb-10 23:03 
Good day.

I have a problem with shell context menu register on x64 pc.
My shell extension working well on 32 bit, but in 64 bit not working.

I search google ,msdn , but can't find answer.Please help me.

My code parts :

<br />
 Assembly executingAssembly = Assembly.GetExecutingAssembly();<br />
 RegistrationServices services = new RegistrationServices();<br />
 services.RegisterAssembly(executingAssembly, AssemblyRegistrationFlags.SetCodeBase);<br />
<br />
.................<br />
<br />
 RegistryKey key2 = Registry.CurrentUser.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Explorer", true);<br />
                key2.SetValue("DesktopProcess", 1);<br />
                key2.Close();<br />
                key2 = Registry.LocalMachine.OpenSubKey(@"Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved", true);<br />
                key2.SetValue(myguid, mytext);<br />
                key2.Close();<br />
<br />
                key2 = Registry.ClassesRoot.CreateSubKey(@"Drive\shellex\ContextMenuHandlers\"+mytext);<br />
                key2.SetValue("", myguid);<br />
                key2.Close();<br />



Thanks for reply.
Nematjon.
AnswerRe: shell extension problem on 64 bit pc Pin
Daniel Grunwald8-Feb-10 1:13
Daniel Grunwald8-Feb-10 1:13 
QuestionRe: shell extension problem on 64 bit pc [modified] Pin
Nematjon Rahmanov8-Feb-10 1:35
Nematjon Rahmanov8-Feb-10 1:35 
QuestionAddRectangle Exception Pin
gwithey7-Feb-10 22:55
gwithey7-Feb-10 22:55 
AnswerRe: AddRectangle Exception Pin
OriginalGriff7-Feb-10 23:00
mveOriginalGriff7-Feb-10 23:00 
GeneralRe: AddRectangle Exception Pin
gwithey7-Feb-10 23:09
gwithey7-Feb-10 23:09 
GeneralRe: AddRectangle Exception Pin
OriginalGriff7-Feb-10 23:17
mveOriginalGriff7-Feb-10 23:17 
GeneralRe: AddRectangle Exception Pin
gwithey7-Feb-10 23:32
gwithey7-Feb-10 23:32 
GeneralRe: AddRectangle Exception Pin
gwithey7-Feb-10 23:41
gwithey7-Feb-10 23:41 
Questionl Pin
sima37-Feb-10 22:52
sima37-Feb-10 22:52 
AnswerRe: l Pin
OriginalGriff7-Feb-10 23:01
mveOriginalGriff7-Feb-10 23:01 
Questionx Pin
sima37-Feb-10 22:40
sima37-Feb-10 22:40 
AnswerRe: x Pin
Mohammad Dayyan7-Feb-10 23:23
Mohammad Dayyan7-Feb-10 23:23 
GeneralRe: x Pin
Nagy Vilmos8-Feb-10 0:27
professionalNagy Vilmos8-Feb-10 0:27 
Questionم Pin
sima37-Feb-10 22:26
sima37-Feb-10 22:26 
AnswerRe: م Pin
SeMartens7-Feb-10 22:31
SeMartens7-Feb-10 22:31 
AnswerRe: م PinPopular
J4amieC7-Feb-10 22:35
J4amieC7-Feb-10 22:35 
AnswerRe: م Pin
Pete O'Hanlon7-Feb-10 22:48
mvePete O'Hanlon7-Feb-10 22:48 

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.