473,399 Members | 4,177 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

how to retrieve selected web address in web browser control

In my application I want to allow the user to "browse" to a section of the Subversion repository and select any location and have the URL display in a message box. Navigating through a Subversion repository is a lot like navigating in Windows Explorer, except you use a web browser.

I have created a VB.Net application VS 2005 and added the WebBrowser control to the form, named WebBrowser1. I have set the default URL in the properties. I'm not sure I need an address bar, but maybe that would help. If so, I can't get one to work.

When I launch the application, the default URL displays in the web browser with the top level projects displaying as folders. I can click on any of these folders and go to the next level. However, I can't figure out a way to actually SELECT the item I am currently on and have it display in a Message Box. I can get the Message Box to work, just not to display anything meaningful.

For example, if my starting URL is http://<server>/MFI, when the documentcompleted event is finished, I don't see the URL, but I do see the contents of MFI. If one of the content items of MFI is clients and I double click it, I see the contents of that item. However, I can't seem to retrieve the contents (=URL) of the selected item.

Does anyone know how to accomplish this? It seems like it should be easy enough, but I am at a loss after spending several days searching the internet and trying numerouss approaches suggested there.

Thank you.
Nancy
Aug 25 '08 #1
0 902

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Paul Smith | last post by:
This doesn't seem like it should be *that* difficult, but after quite some time trying to figure it out, I'm still banging my head against the wall. My objective is to examine the exact...
3
by: serge calderara | last post by:
Dear all, I have a tool which is able to receive any kind of data from a remote system. For that I need to get the ipadress of the remote system. If the system is not connected to a DHCP...
0
by: Mirano | last post by:
Hi everybody. I open a Word document in the web browser control, I then select some text in it using a mouse, and I want to paste the selected text into another text box on the same form, but it...
1
by: Cipher | last post by:
I've got a DropDownList control on my ASP.Net page and I cannot retrieve it's value (via its SelectedValue property) if the control is hidden or disabled. Once I set the control to visible and...
0
by: Luis Esteban Valencia | last post by:
Hi folks, I have a problem using the Calendar Control. Let me explain: On my first page, "Default.aspx", I have a calendar control named "calPrimary". I then have a Web User Control on the...
1
by: Karen Grube | last post by:
Hi! I'm using a standard server side ASP.Net listbox control on a web form. The page is basically various shades of green. The listbox itself has a pale green background and forest green text...
5
by: Dick | last post by:
I have a GridView bound to an ObjectDataSource. I have a Button that calls GridView.DataBind. I want the row that is selected before the DataBind to still be selected afterwards. This happens...
11
by: Frank Rizzo | last post by:
I have a WebBrowser control on a .net 2.0 winforms app. I load up a page and want to get the selected entry of a dropdown. I can get the element: HtmlElement stationList =...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
Greetings, I am using a web browser control to browse windows explorer. I give it a default address as below and then click on some folder. The question is: how do I retrieve the address of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.