[C#] Show Shell Properties Dialog With Input File |
|
05-27-2012, 07:42 PM
(This post was last modified: 05-27-2012 07:44 PM by AceInfinity.)
|
|||
|
|||
|
Show Shell Properties Dialog With Input File
Demo/Preview:
![]() Here's my code: Code: (SELECT ALL CODE) private unsafe void button1_Click(object sender, EventArgs e)Return values for ShellExecute: http://msdn.microsoft.com/en-us/library/...s.85).aspx ShellExecuteInfo struct: http://msdn.microsoft.com/en-us/library/...s.85).aspx ![]() Microsoft MVP .NET Programming - (2012 - Present) ®Crestron DMC-T Certified Automation Programmer Development Site: aceinfinity.net |
|||
|
05-27-2012, 08:20 PM
|
|||
|
|||
|
RE: Show Shell Properties Dialog With Input File
Great Job, looks very interesting. Thanks
|
|||
|
05-27-2012, 09:33 PM
(This post was last modified: 05-27-2012 09:43 PM by AceInfinity.)
|
|||
|
|||
|
RE: Show Shell Properties Dialog With Input File
Some other verbs to use for the lpVerb parameter:
Code: (SELECT ALL CODE) "open" - see MSDNAnd "runas" which runs the program with admin privilleges. Note: This could also be done with the Process methods from the System.Diagnostics namespace if anybody knows :) Code: (SELECT ALL CODE) ProcessStartInfo ProcInfo = new ProcessStartInfo() {![]() Microsoft MVP .NET Programming - (2012 - Present) ®Crestron DMC-T Certified Automation Programmer Development Site: aceinfinity.net |
|||
Possibly Related Threads... |
| Thread: | Author | Replies: | Views: | Last Post | |
How do you display the file name and path in Me.Text ? |
william7 | 13 | 441 |
05-10-2013 11:15 PM Last Post: AceInfinity |
|
PNG Bomber - File byte size optimization (Created by Ace) |
AceInfinity | 9 | 749 |
05-10-2013 03:18 PM Last Post: AceInfinity |
|
| File writer | cedonni | 4 | 195 |
03-25-2013 04:42 PM Last Post: cedonni |
|
Save / Load Config File |
simx | 8 | 316 |
02-09-2013 10:16 PM Last Post: AceInfinity |
|
| Set Control Propeties & Invalidate Control - No Verboose Manual Properties | ByteBlast | 1 | 138 |
01-26-2013 12:25 AM Last Post: AceInfinity |
|
| Users browsing this thread |
| 1 Guest(s) |

Show Shell Properties Dialog With Input File




