?
Solved

Setting/Retrieving URL from IE in VB.Net

Posted on 2006-04-29
6
Medium Priority
?
1,015 Views
Last Modified: 2010-08-05
Hello,
      I have been learning VB in college and as an assignment we have been requested to create a useful program for use in the college. So, I thought a web site blocker would come in handy. So, all I need is a way to retrieve the url from the address bar in IE.

Thanks in advance for any help.
Bolter99
0
Comment
Question by:Bolter99
  • 2
  • 2
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 16570624
Since we, as experts, are not allowed to do homework, but are allowed to provide assistance, I would suggest finding the IE window through Windows API, and then enumerate child windows.  A program like Spy++ can be a useful tool for this.

Bob
0
 
LVL 1

Author Comment

by:Bolter99
ID: 16570634
Well, its not exactly home work. Its an exercise so we get to grips with VB.

So, ill look into the Windows API and any other suggestions are welcome.

Thanks bob!

Bolter99
0
 
LVL 1

Author Comment

by:Bolter99
ID: 16591871
This question doesnt seem to want to be answered so please remove it.
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 16595861
So, you didn't find anything?  Look for EnumWindows, EnumChildWindows, and the class name for the Address combo box is ComboBoxEx32.

If you could read C#, you might find an answer here:
   http://www.experts-exchange.com/Programming/Programming_Languages/C_Sharp/Q_21738669.html

Bob
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question