Re: Context menus for .sln file

2017-07-05 Thread Greg Keogh
>
> Not quite the same, but could you use the “Send To” functionality?
>
> Just place a link/batch file/etc in the appropriate users Send To folder
> (C:\Users\\AppData\Roaming\Microsoft\Windows\SendTo)
>

I've actually used the sendto for many years, and it's handy but too broad.
I have a set of "send to > VS Build xx" shortcuts, but they appear on *every
*file type. That's why I liked the old registry trick where they were only
on the relevant .sln files.

I should mention that there are rare cases where you do want to sendto on
every file. I used regedit to add one under HCR\*\shell\HexEdit\command
@="\frhed.exe "%1". Free hex edit is a great little program and I'm
often sending arbitrary files to it for a look.

*GK*


RE: Context menus for .sln file

2017-07-05 Thread David Smith
Hi Greg,

Not quite the same, but could you use the “Send To” functionality?
Just place a link/batch file/etc in the appropriate users Send To folder 
(C:\Users\\AppData\Roaming\Microsoft\Windows\SendTo)

Cheers
David

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Adrian Halid
Sent: Wednesday, 5 July 2017 6:16 p.m.
To: 'ozDotNet' <ozdotnet@ozdotnet.com>
Subject: RE: Context menus for .sln file

Hi Greg,

Below is a register file that adds context menu items when you right click on a 
.dll file which allows me to run an “Elevate.exe” on the dll.

This example will adds 3 options
Run as Administrator
Elevate Register
Elevate UnRegister

It may help you adding a context menu item on a .sln with a bit of modification.

I am running windows 10 and it works on my machine.


REGEDIT4

;Register modules (Elevated) from the context menu
;March 25, 2008 - (c) 2008 Ramesh Srinivasan
;http://www.winhelponline.com
;http://www.winhelponline.com/blog/

; ==
; .DLL files
; ==

[HKEY_CLASSES_ROOT\.dll]
"Content Type"="application/x-msdownload"
@="dllfile"

[HKEY_CLASSES_ROOT\dllfile]
@="Application Extension"

[HKEY_CLASSES_ROOT\dllfile\shell]
@="none"

;[HKEY_CLASSES_ROOT\dllfile\shell\runas]
;@=" (as Administrator)"

;[HKEY_CLASSES_ROOT\dllfile\shell\runas\command]
;@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\dllfile\Shell\Elevate Register\command]
@="Elevate.exe regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\dllfile\Shell\Elevate UnRegister\command]
@="Elevate.exe regsvr32.exe /u \"%1\""

; ==
; .OCX files
; ==

[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"

[HKEY_CLASSES_ROOT\ocxfile]
@="OCX"

[HKEY_CLASSES_ROOT\ocxfile\shell]
@="none"

;[HKEY_CLASSES_ROOT\ocxfile\shell\runas]
;@=" (as Administrator)"

;[HKEY_CLASSES_ROOT\ocxfile\shell\runas\command]
;@="regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\ocxfile\Shell\Elevate Register\command]
@="Elevate regsvr32.exe \"%1\""

[HKEY_CLASSES_ROOT\ocxfile\Shell\Elevate UnRegister\command]
@="Elevate regsvr32.exe /u \"%1\""


Regards

Adrian Halid

From: ozdotnet-boun...@ozdotnet.com<mailto:ozdotnet-boun...@ozdotnet.com> 
[mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Greg Keogh
Sent: Wednesday, 5 July 2017 12:19 PM
To: ozDotNet <ozdotnet@ozdotnet.com<mailto:ozdotnet@ozdotnet.com>>
Subject: Context menus for .sln file

Folks, back on Windows 7 I made some registry tweaks to add some really handy 
extra "Open with" shell context menus for the .sln extension. My Blog 
Post<https://gfkeogh.blogspot.com.au/2015/04/solution-open-with-batch-build.html>
 on doing this is still online.

On Windows 10 the registry changes have no effect. I spent a few hours 
searching and experimenting today to get it working, but no luck. Has anyone 
fiddled in this area? Maybe there are other ways of getting a "right click to 
build" facility. I really miss the convenience of those commands on the .sln 
file, and on other extensions as well.

Greg K


Re: Context menus for .sln file

2017-07-05 Thread Stephen Price
+1 for Directory Opus. I used it back in the Amiga days and was so happy to 
find it exists now in the PC world.
I don't think supporting Australian software companies goes against anything on 
this list. Sharing great tools is what it's all about.
It's amazing and complements the built in Windows file explorer just fine. I 
like both but don't like missing out on the built in stuff. DIrOpus does a nice 
job.

Cheers,
Stephen

From: ozdotnet-boun...@ozdotnet.com <ozdotnet-boun...@ozdotnet.com> on behalf 
of Tony McGee <tmcgee...@gmail.com>
Sent: Wednesday, July 5, 2017 12:36:08 PM
To: ozDotNet
Subject: Re: Context menus for .sln file

Hopefully I'm not breaking any rule to give Directory Opus a plug, it's great 
for this stuff and loadsmore.
Link: http://www.gpsoft.com.au/
e.g. http://imgur.com/LPcOuOJ

No affiliation at all, just an extremely happy customer - it's actively in 
development locally in Brisbane so shout out if anyone from GPSoftware on this 
list.




On Wed, Jul 5, 2017 at 2:19 PM, Greg Keogh 
<gfke...@gmail.com<mailto:gfke...@gmail.com>> wrote:
Folks, back on Windows 7 I made some registry tweaks to add some really handy 
extra "Open with" shell context menus for the .sln extension. My Blog 
Post<https://gfkeogh.blogspot.com.au/2015/04/solution-open-with-batch-build.html>
 on doing this is still online.

On Windows 10 the registry changes have no effect. I spent a few hours 
searching and experimenting today to get it working, but no luck. Has anyone 
fiddled in this area? Maybe there are other ways of getting a "right click to 
build" facility. I really miss the convenience of those commands on the .sln 
file, and on other extensions as well.

Greg K



RE: Context menus for .sln file

2017-07-05 Thread Adrian Halid
Hi Greg,

 

Below is a register file that adds context menu items when you right click on a 
.dll file which allows me to run an “Elevate.exe” on the dll.

 

This example will adds 3 options

Run as Administrator

Elevate Register

Elevate UnRegister

 

It may help you adding a context menu item on a .sln with a bit of modification.

 

I am running windows 10 and it works on my machine.

 

 

REGEDIT4

 

;Register modules (Elevated) from the context menu

;March 25, 2008 - (c) 2008 Ramesh Srinivasan

;http://www.winhelponline.com

;http://www.winhelponline.com/blog/

 

; ==

; .DLL files

; ==

 

[HKEY_CLASSES_ROOT\.dll]

"Content Type"="application/x-msdownload"

@="dllfile"

 

[HKEY_CLASSES_ROOT\dllfile]

@="Application Extension"

 

[HKEY_CLASSES_ROOT\dllfile\shell]

@="none"

 

;[HKEY_CLASSES_ROOT\dllfile\shell\runas]

;@=" (as Administrator)"

 

;[HKEY_CLASSES_ROOT\dllfile\shell\runas\command]

;@="regsvr32.exe \"%1\""

 

[HKEY_CLASSES_ROOT\dllfile\Shell\Elevate Register\command]

@="Elevate.exe regsvr32.exe \"%1\""

 

[HKEY_CLASSES_ROOT\dllfile\Shell\Elevate UnRegister\command]

@="Elevate.exe regsvr32.exe /u \"%1\""

 

; ==

; .OCX files

; ==

 

[HKEY_CLASSES_ROOT\.ocx]

@="ocxfile"

 

[HKEY_CLASSES_ROOT\ocxfile]

@="OCX"

 

[HKEY_CLASSES_ROOT\ocxfile\shell]

@="none"

 

;[HKEY_CLASSES_ROOT\ocxfile\shell\runas]

;@=" (as Administrator)"

 

;[HKEY_CLASSES_ROOT\ocxfile\shell\runas\command]

;@="regsvr32.exe \"%1\""

 

[HKEY_CLASSES_ROOT\ocxfile\Shell\Elevate Register\command]

@="Elevate regsvr32.exe \"%1\""

 

[HKEY_CLASSES_ROOT\ocxfile\Shell\Elevate UnRegister\command]

@="Elevate regsvr32.exe /u \"%1\""

 

 

Regards

 

Adrian Halid

 

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Greg Keogh
Sent: Wednesday, 5 July 2017 12:19 PM
To: ozDotNet 
Subject: Context menus for .sln file

 

Folks, back on Windows 7 I made some registry tweaks to add some really handy 
extra "Open with" shell context menus for the .sln extension. My Blog Post 
  
on doing this is still online.

 

On Windows 10 the registry changes have no effect. I spent a few hours 
searching and experimenting today to get it working, but no luck. Has anyone 
fiddled in this area? Maybe there are other ways of getting a "right click to 
build" facility. I really miss the convenience of those commands on the .sln 
file, and on other extensions as well.

 

Greg K



Re: Context menus for .sln file

2017-07-04 Thread mike smith
x86 vs x64 locations of registry?(assuming you run with x64 Windows)

On Wed, Jul 5, 2017 at 2:44 PM, Greg Keogh  wrote:

> Hopefully I'm not breaking any rule to give Directory Opus a plug, it's
>> great for this stuff and loadsmore.
>>
>
> That's an impression utility, and it looks like it implements custom
> context menus, but it's far to heavy-handed for my modest needs. I was
> hoping to just tweak a few registry entries to get what I needed.
>
> I forgot to mention that while search all 4.48 billion web pages this
> morning, I found a at least a dozen suggestions and examples which all *don't
> work*.
>
> *GK*
>



-- 
Meski

 http://courteous.ly/aAOZcv

"Going to Starbucks for coffee is like going to prison for sex. Sure,
you'll get it, but it's going to be rough" - Adam Hills


Re: Context menus for .sln file

2017-07-04 Thread Greg Keogh
>
> Hopefully I'm not breaking any rule to give Directory Opus a plug, it's
> great for this stuff and loadsmore.
>

That's an impression utility, and it looks like it implements custom
context menus, but it's far to heavy-handed for my modest needs. I was
hoping to just tweak a few registry entries to get what I needed.

I forgot to mention that while search all 4.48 billion web pages this
morning, I found a at least a dozen suggestions and examples which all *don't
work*.

*GK*


Re: Context menus for .sln file

2017-07-04 Thread Tony McGee
Hopefully I'm not breaking any rule to give Directory Opus a plug, it's
great for this stuff and loadsmore.
Link: http://www.gpsoft.com.au/
e.g. http://imgur.com/LPcOuOJ

No affiliation at all, just an extremely happy customer - it's actively in
development locally in Brisbane so shout out if anyone from GPSoftware on
this list.




On Wed, Jul 5, 2017 at 2:19 PM, Greg Keogh  wrote:

> Folks, back on Windows 7 I made some registry tweaks to add some really
> handy extra "Open with" shell context menus for the .sln extension. My Blog
> Post
> 
> on doing this is still online.
>
> On Windows 10 the registry changes have no effect. I spent a few hours
> searching and experimenting today to get it working, but no luck. Has
> anyone fiddled in this area? Maybe there are other ways of getting a "right
> click to build" facility. I really miss the convenience of those commands
> on the .sln file, and on other extensions as well.
>
> *Greg K*
>