.NET Framework Bookmark and Share   
 index > Windows Presentation Foundation (WPF) > How to capture URL from Address bar of IE.
 

How to capture URL from Address bar of IE.

I guess about step to do. At first, Find an IE Process after find the Handle ID of Address bar of IE. Finally, Capture URL when someone connect to internet. but I can't do that.

My guess can do or not. If not, Have any way to do that.

Please anyone showexample for me, Thanks!


Yoonmy
Maybe it would be easier to sniff network connection. This might help:
http://www.codeproject.com/KB/IP/CSNetworkSniffer.aspx?msg=3193228
Bigsby, Lisboa, Portugal - O que for, quando for, é que será o que é... http://bigsby.eu
Bigsby
I'm not skillfully about network programming, Have other example?

Such as Get URL connecting at a time.
Yoonmy
Hi Yoonmy,

Please have a try with the code snippet here . Note that GetUrlFromIE method in the sample code section.

Let me know if you have any problem.

Best regards,
Bruce Zhou
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
Bruce.Zhou

You can use google to search for other answers

Custom Search

More Threads

• DragDrop Functionality
• FrameworkElement border issue
• WPF listbox scrollbar crash
• Saving Data from a listbox to an xml file and then retreiving it
• TreeView splits string into separate characters
• Fbx to Wpf with source code; try it!
• Keydown does not get fired up
• How Deleting a Treeview Item
• Runtime modification of Geometry object
• Global Hit Test Visibility