|
-
Jan 24th, 2006, 09:13 AM
#1
Thread Starter
Member
Open Pictures with IE
Hi, instead of opening the image in a image control i would like to open it in IE. I do not wish to use a webbrowser control in my application. All i want to do is open this picture in IE from my application. Any help in this regard is highly appreciated.
image1.Picture = LoadPicture("C:\Temp.gif")
-
Jan 24th, 2006, 09:17 AM
#2
Re: Open Pictures with IE
Use ShellExecute() and pass the the address of the image.
-
Jan 24th, 2006, 09:22 AM
#3
Thread Starter
Member
Re: Open Pictures with IE
can you pls help me with the code as i am unable to understand from the function (shellexecute) as to how the program will open the image in Internet explorer.
-
Jan 24th, 2006, 09:26 AM
#4
Re: Open Pictures with IE
ShellExecute opens a file in the default handler. If you really must open it in IE then you can use Shell() (which is built into VB) and pass "iexplore " follwed by the address of the file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|