Re: System.Diagnostics.Process.Start.....
From: CJ Taylor (nospam_at_blowgoats.com)
Date: 04/05/04
- Next message: Roger Twomey: "Sending Email from a windows service"
- Previous message: Art DeBuigny: "Scanning using WIA question"
- In reply to: Robin Tucker: "System.Diagnostics.Process.Start....."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 5 Apr 2004 09:53:02 -0500
Open up an explorer window,
Go to Tools / Folder Options
Click on the FileTypes tab, and see if JPG is associated with anything, and
then check the parameters associated with it.
-CJ
"Robin Tucker" <idontwanttobespammedanymore@reallyidont.com> wrote in
message news:c4rqjk$rdf$1$8302bc10@news.demon.co.uk...
>
> I'm having problems with System.Diag here. When I double click the item
(on
> my desktop), it launches in Windows Fax and Picture Viewer, but when I try
> to launch it from my VB program, I get the following exception:
>
> "A first chance exception of type 'System.ComponentModel.Win32Exception'
> occurred in system.dll
>
> Additional information: No application is associated with the specified
file
> for this operation"
>
>
> I'm writing this:
>
> System.Diagnostics.Process.Start("C:\Documents and
> Settings\R.Tucker\Desktop\camera.jpg")
>
> Some items do launch ok, but for some reason .JPG files don't. Does
> explorer look for this kind of thing explicitly and display it with the
fax
> and picture viewer if a default viewer is not registered?
>
> Thanks for any answers.
>
>
>
>
>
>
- Next message: Roger Twomey: "Sending Email from a windows service"
- Previous message: Art DeBuigny: "Scanning using WIA question"
- In reply to: Robin Tucker: "System.Diagnostics.Process.Start....."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|