cwvsmart
asked on
How save save website with a click?
I'd develop a form that when user click a button, it actually open the web browser(separate window) with specific URL.
My question is:
How to save specific website onto some temp folder in VB environment?
I know i can do it manually by right click hyperlink and choose "save target as". I tried using WINDOW API and hwnd..It's too troublesome and time consuming and not sure whether i'm on the correct path.
Just in case my way of explanation is too confusing. (Sorry for the broken english)
1)User clicked button A on a form.
2)Button A invoke another window(web browser->IE) pop up with pre-defined URL.
3)User click a hyperlink on the IE
4)Now user wish to save the web(have to manually right click and choose "save target as..."
My aim is to automate the process 3 and 4 for user:meaning when user click a button B or user drag cursor to current web/active window, from there suppose to invoke save the web/html function directly onto a temp folder.
Any comment or suggestion would be greatly appreciated...
My question is:
How to save specific website onto some temp folder in VB environment?
I know i can do it manually by right click hyperlink and choose "save target as". I tried using WINDOW API and hwnd..It's too troublesome and time consuming and not sure whether i'm on the correct path.
Just in case my way of explanation is too confusing. (Sorry for the broken english)
1)User clicked button A on a form.
2)Button A invoke another window(web browser->IE) pop up with pre-defined URL.
3)User click a hyperlink on the IE
4)Now user wish to save the web(have to manually right click and choose "save target as..."
My aim is to automate the process 3 and 4 for user:meaning when user click a button B or user drag cursor to current web/active window, from there suppose to invoke save the web/html function directly onto a temp folder.
Any comment or suggestion would be greatly appreciated...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
A request for deletion has been made. If no response or you feel this is in error, comment. If no objection, I will delete in three days.
Computer101
E-E Admin
Computer101
E-E Admin
It saves a file called google.htm on your c:\ drive as you requested...
ASKER
Thank you Aelatik. I'm not sure what happened the other day when i test out your codes. I must be too tired.....
Thank you and your help is greatly appreciated.
Thank you and your help is greatly appreciated.
ASKER
Thank you