User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 402,373 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,106 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 2113 | Replies: 1
Reply
Join Date: Nov 2006
Location: Carlisle, PA
Posts: 10
Reputation: dtbradio is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
dtbradio dtbradio is offline Offline
Newbie Poster

Question Can images be auto-resized while using the WebBrowser control in VB5

  #1  
Nov 22nd, 2006
I have written a small app which allows me to page through numerically-sequenced online images via a VB-5 WebBrowser control window and a few buttons. The app works quite well, but I want to know 2 things.

1. Is there a way to have images auto-resize to fit the available WebBrowser area within the app. I've read through the WebBrowser docs at MSDN.COM, but didn't find anything that helped.

2. Is there a way to directly access the right-click, SaveImageAs menu option without having to actually right-click over an image in the WebBrowser control while viewing onlineimages? What I want to do is set up a button that will automatically save an image to a pre-specififed directory using the full URL (with some minor modifications which I will code in) as the image save-as filename. I can do all the text manipulation to form the file-name etc, but I can't find a way to access the right-click menu with code. If there's a way to bring the image into a picture box, and save it from there, that would work as well.


Please note that I am using VB5 Professional editon when replying.
HAVE A NICE DAY!

Please do not assume that I have a clue just because I post possibly helpful replies. I am a programming amateur at best, and I do this for FUN.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2006
Location: Carlisle, PA
Posts: 10
Reputation: dtbradio is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
dtbradio dtbradio is offline Offline
Newbie Poster

Update

  #2  
Nov 22nd, 2006
UPDATE:

I stumbled across a code example at http://vbnet.mvps.org/index.html?cod...ilenocache.htm that gave me the file save ability I was looking for.
HAVE A NICE DAY!

Please do not assume that I have a clue just because I post possibly helpful replies. I am a programming amateur at best, and I do this for FUN.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Visual Basic 4 / 5 / 6 Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum

All times are GMT -4. The time now is 12:34 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC