•
•
•
•
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
![]() |
•
•
Join Date: Nov 2006
Location: Carlisle, PA
Posts: 10
Reputation:
Rep Power: 2
Solved Threads: 0
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.
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.
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.
•
•
Join Date: Nov 2006
Location: Carlisle, PA
Posts: 10
Reputation:
Rep Power: 2
Solved Threads: 0
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.
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.
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- alternative to inet control (ASP)
- Opening a new window form with web browser control,with webbrowser.navigating event (VB.NET)
- Horizontal display of data on Repeater control in asp.net (ASP.NET)
- Using WebBrowser Control in Win32 (C)
- Reducing pixelization in images (ASP.NET)
- Drop Down Menu - Problem Opening in IE (JavaScript / DHTML / AJAX)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: sms through pc
- Next Thread: Calculator code, pls help


Linear Mode