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' 
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] 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-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  on behalf 
of Tony McGee 
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 
> 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



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: [OT] New surface laptop

2017-07-05 Thread Bec C
On Wednesday, 5 July 2017, Tom Rutter  wrote:

> i5+, 8gb+ ram, 128gb+ ssd, win 10 pro, 13-15 inch, $1500-2000 max
>
>
 Try affordablelaptops.com.au. You'll get something way more powerful for
the price. They don't look very sexy though


>
> On Wed, Jul 5, 2017 at 9:47 AM, DotNet Dude  > wrote:
>
>> What are your requirements?
>>
>>
>> On Monday, 3 July 2017, Tom Rutter > > wrote:
>>
>>> Hah didn't even notice that before you mentioned it. It's as if the
>>> designers did it just to make something wrong with the laptop. I've looked
>>> at so many laptops now that I'm over it all...
>>>
>>> On Mon, Jul 3, 2017 at 4:37 PM, DotNet Dude 
>>> wrote:
>>>
 Have you seen where the power button is on the keyboard? Lol no thanks


 On Monday, 3 July 2017, Tom Rutter  wrote:

> Anyone got the new surface laptop? If so, thoughts?
> My old reliable dell laptop took its last breath today. :(
>
> Cheers
>

>>>
>