Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27349

VS 2012 [RESOLVED] Can't start Snipping Tool from code

$
0
0
I'm trying to start the Windows(8) Snipping Tool from code.

I've tried all of these:

Code:

Process.Start("C:\WINDOWS\system32\SnippingTool.exe")
Process.Start("SnippingTool.exe")
Process.Start(IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.System), "SnippingTool.exe"))


I always get "The system cannot find the file specified" error and I have no idea why. I can double-click the file & it opens and I can start other Windows apps (Paint, Notepad) from the same folder using Process.Start, but not the SnippingTool. Any idea whats going on? Can somebody else try it for me? Thanks.

Viewing all articles
Browse latest Browse all 27349

Trending Articles