Home All Groups Group Topic Archive Search About
Author
7 Jun 2006 7:19 AM
Doug Bell
Hi How can I use VB.Net Application to open IE and get it to display;
1. a JPEG image from a file?
2. a JPEG image held in memory?

Any guidance appreciated,

Doug

Author
7 Jun 2006 9:01 AM
Carlos J. Quintero [VB MVP]
Hi,

1. If you are sure that you want to use Internet Explorer and not the
application associated with .jpeg files you can use:

System.Process.Start("IEXPLORE.EXE","<image file")

or something like that.

2. You can save it in a temporary file in the temporary folder.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com



Show quoteHide quote
"Doug Bell" <vodaphoneSU***@starhub.com.au> escribió en el mensaje
news:uMEHpKgiGHA.4040@TK2MSFTNGP05.phx.gbl...
> Hi How can I use VB.Net Application to open IE and get it to display;
> 1. a JPEG image from a file?
> 2. a JPEG image held in memory?
>
> Any guidance appreciated,
>
> Doug
>
>
Author
8 Jun 2006 5:07 AM
Doug Bell
Thanks Carlos,
That is not what I am trying to Achieve.
I don't want to open a new instance of Explorer, I want to pass to the
opened instance the file or stream to open.

So Does IE have an object model that I can drive?

And will it accept a stream rather than a file?

Thanks

Doug


Show quoteHide quote
"Carlos J. Quintero [VB MVP]" <carlosq@NOSPAMsogecable.com> wrote in message
news:eYOWzDhiGHA.836@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> 1. If you are sure that you want to use Internet Explorer and not the
> application associated with .jpeg files you can use:
>
> System.Process.Start("IEXPLORE.EXE","<image file")
>
> or something like that.
>
> 2. You can save it in a temporary file in the temporary folder.
>
> --
>
> Best regards,
>
> Carlos J. Quintero
>
> MZ-Tools: Productivity add-ins for Visual Studio
> You can code, design and document much faster:
> http://www.mztools.com
>
>
>
> "Doug Bell" <vodaphoneSU***@starhub.com.au> escribió en el mensaje
> news:uMEHpKgiGHA.4040@TK2MSFTNGP05.phx.gbl...
> > Hi How can I use VB.Net Application to open IE and get it to display;
> > 1. a JPEG image from a file?
> > 2. a JPEG image held in memory?
> >
> > Any guidance appreciated,
> >
> > Doug
> >
> >
>
>
Author
8 Jun 2006 7:42 AM
Doug Bell
OK, I have worked out how to automate IE
referencing ShdocVw.dll

I can use its .Navigate method to get it to open a Jpeg file.

I am still wondering if there is any way to stream a .JPG to it without
serialising it to a file first?

Doug

Show quoteHide quote
"Doug Bell" <vodaphoneSU***@starhub.com.au> wrote in message
news:uMEHpKgiGHA.4040@TK2MSFTNGP05.phx.gbl...
> Hi How can I use VB.Net Application to open IE and get it to display;
> 1. a JPEG image from a file?
> 2. a JPEG image held in memory?
>
> Any guidance appreciated,
>
> Doug
>
>