473,394 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Shell IE ?

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
Jun 7 '06 #1
3 1721
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" <vo************@starhub.com.au> escribió en el mensaje
news:uM**************@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

Jun 7 '06 #2
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
"Carlos J. Quintero [VB MVP]" <ca*****@NOSPAMsogecable.com> wrote in message
news:eY*************@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" <vo************@starhub.com.au> escribió en el mensaje
news:uM**************@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


Jun 8 '06 #3
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

"Doug Bell" <vo************@starhub.com.au> wrote in message
news:uM**************@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

Jun 8 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: John Bowling | last post by:
I'm creating a routine (not in a browser) to move multiple files on a daily basis to a backup directory. It can be done easily by call shell functions like 'mv file* newdir'. I can't find any...
8
by: Siemel Naran | last post by:
Hi. I'm writing a command shell that reads commands from standard input. At this point I have the command in a std::string. Now I want to execute this command in the shell. From the Borland...
6
by: Lauren Wilson | last post by:
Hi folks, In an A2K app, I have attempted to use the following command in some VBA code with IDENTICAL results with every single version of the following: Shell "outlook.exe", vbHide Shell...
8
by: Mike | last post by:
Am trying to open a Microsoft Word .doc file using Access 2000 with Shell function (on Windows XP Operating system) Here is the code : Shell "C:\Program Files\Microsoft...
5
by: bearophileHUGS | last post by:
For array.array "B" means unsigned char, and such arrays accept to be initialized from (str) strings too, this is quite useful: But it seems such capability isn't shared with the append: ...
3
by: George Sakkis | last post by:
I'm trying to figure out why Popen captures the stderr of a specific command when it runs through the shell but not without it. IOW: cmd = if 1: # this captures both stdout and stderr as...
21
by: Tom Gur | last post by:
Hi, It's seems that csh and tcsh acts a bit different when handling special characters in quotes. i.e: if i'll supply my program with the following arguments: -winpath "c:\\temp\\" tcsh will...
25
by: dennijr | last post by:
ok, shell always used to be easy for me, now its starting to get annoying cause i dont know wats wrong heres the simplist code possible: Private Sub IExplorer_Click() a = Shell("C:\Program...
3
by: mmm | last post by:
I am looking for advice on Python Editors and IDEs I have read other posts and threads on the subject and my two questions at this time are mainly about the IDLE-like F5-run facilities. While I...
7
by: Samuel A. Falvo II | last post by:
I have a shell script script.sh that launches a Java process in the background using the &-operator, like so: #!/bin/bash java ... arguments here ... & In my Python code, I want to invoke...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.