Re: System.Diagnostics.Process.Start.....

From: CJ Taylor (nospam_at_blowgoats.com)
Date: 04/05/04


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.
>
>
>
>
>
>



Relevant Pages

  • Re: Xnews - Clipboard And DOpus
    ... > xnews.ini file turns off the internal JPG viewer in Xnews. ... > mentioned above about just leaving .TXT in the 'Launch' field. ...
    (news.software.readers)
  • Re: No PowerPoint Icon
    ... > launch from the All Programs task bar. ... just add a shortcut to its executable ... From another Explorer window, navigate to ...
    (microsoft.public.windowsxp.general)
  • Re: Error opening .jpg files in a TS outllok session
    ... still getting the exact same message when I try to double click a .jpg ... > user attempts to open a .jpg file attachment from their Outlook ... if they save the attachment to their Terminal Server session ... > Does anybody have any ideas as to why one cannot launch the ...
    (microsoft.public.win2000.termserv.clients)
  • Re: .ASPX Page Displays .GIF Images But Not .JPG!!
    ... Can you see the jpg any other way? ... In a picture viewer? ... Is it corrupt? ... What happens when you show it through ordinary HTML? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Cannot open windows picture and fax viewer
    ... for jpg, bmp, etc files. ... I associated all these files to windows picture viewer and i selected ...
    (microsoft.public.windowsxp.general)