Link to home
Start Free TrialLog in
Avatar of cwvsmart
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...
ASKER CERTIFIED SOLUTION
Avatar of aelatik
aelatik
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cwvsmart
cwvsmart

ASKER

I'm sorry..Ayhan Elatik but i'm a bit slow in this...what happen? when i implement the codes...Nothing happens..Do i need to include any other additional references?

Thank you
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
It saves a file called google.htm on your c:\ drive as you requested...
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.