Shell IE ?

  • Thread starter Thread starter Doug Bell
  • Start date Start date
D

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
 
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
 
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
 
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
 
Back
Top