Sorry for posting the same question again but this is really urgent and it would be great if somebody could help me out. heres the problem:
I'm using Visual Basic 2005 Express Edition and I made a web browsing program,
I was wondering how you save the page that is displayed in the browser to a HTML file somewhere on the computer. but I also need the save file dialog box to come up
So if there are any experts out there that can help it would be much appreciated.
3 3241
I'm pretty sure one of the properties of the webbrowser control gives you the complete HTML. Just open a text file and write it there, giving the file an HTM or HTML extension.
As for the save-file dialogue, in VB6 that would be done using the Microsoft Common Dialog control (added in project references) - not sure whether it's still the same in VB2005.
Oh, and by the way - a message title of "Urgent" won't get you more attention. Just the opposite, in fact. Most people will just skip over it on the list, because the title doesn't give any indication of what the message is about.
Thanks for that, I did manage to save the file with a HTML extension, but I cant work out how to save it through the dialog, none the less. at least I can get the document to save :)
Thanks for that, I did manage to save the file with a HTML extension, but I cant work out how to save it through the dialog, none the less. at least I can get the document to save :)
As far as I'm aware, the dialogue doesn't actually have anything to do with loading or saving - it's just used to choose a filename. After that, what you do with the name is up to you.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Michael C |
last post by:
Anyone know of a good HTML Rendering control? I need a control that will
render and display HTML in a Windows form. It doesn't need to pull down
HTML pages from the Web - I'll feed it all the...
|
by: punkbot |
last post by:
My application is processing a bunch of english and japanese data, composing
some XML (utf-16) then transforming it (XsltCommand) (utf-8) to create some
HTML. I am redirecting the output into a...
|
by: programmer2004 |
last post by:
Hi
I have used WebBrowser control and i want to save the entire webpage including pictures etc.
i have called ExecWB method of WebBrowser control with OLECMDEXECOPT_DONTPROMPTUSER flag, but it...
|
by: eewwttww |
last post by:
how to save with only WebBrowser: save html+picture without dialog box?
what I Have is:
WebBrowser.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_PROMPTUSER, 300, 300
I don't want this code.
I want...
|
by: standish22 |
last post by:
want to open a word document stored in my database.
What I do is save the document locally, and then open a new winform
that has the WebBrowser Control on it and navigate to that new file.
...
|
by: Andy Chen |
last post by:
Hi,
I found a vbs file on the internet, it can do this job very well:
------------------
'MakeMHT.vbs
Const adSaveCreateNotExist = 1
Const adSaveCreateOverWrite = 2
Const adTypeBinary = 1...
|
by: Jesper |
last post by:
Hi,
Is there an alternative to an URI location when loading html into a
webBrowser control.
I have some html generated in a string. I would like to skip saving the
string to a file on disk...
|
by: Artie |
last post by:
Hi,
I have a WebBrowser control displaying some formatted HTML.
I need to be able to save the formatted HTML to a file, using the
common Windows 'Save As' dialog, and preferably be able to...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |