Opening a Web Address in IE

  • Thread starter Thread starter Ed Rauscher
  • Start date Start date
E

Ed Rauscher

I basically have 2 questions. If anyone can help, that would be great.

1. How I can open a URL web address in IE using VB?

2. How to I save a webpage as a .txt file using VB?

I am attempting to write a program that inputs a web address in IE, and then
saves the content as a .txt file.

Thanks,
- ETR
 
The code I use here will work on the desktop and pull back the HTML text as
a stream:

http://www.knowdotnet.com/articles/activesynccradle.html

You can also use Process.Start(ie, "Url")

If you look at the example I have in the article, you can take the stream
and write it to text (res is the variable and you can write it directly to a
text file)

HTH,

Bill

I have code to handle it totally done at work, I can send you the whole
class then if that's your valid email address?
 
Back
Top