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 documentcomplet ed 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
0 926 Sign in to post your reply or Sign up for a free account.
Similar topics |
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 case-sensitive domain used
by the client to request a page, such as http://www.mysite.com vs.
http://www.MySite.com. As I spin through all the ServerVariables
and various & sundry HTTP headers (e.g. ALL_HTTP, ALL_RAW,
etc.), all I seem to pick up is the...
|
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 server no
problem , I set in my configuration the ip adress.
Then if my remote system is connected to a DHCP server,
|
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 does not work.
The code looks like this:
Clipboard.SetDataObject("");
_web.Focus();
|
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 enabled then the currently
selected value is available in code.
Any ideas how I can hide or disable a DropDownList but still retrieve its
value as I don't want the users to be able to directly change its value.
Thanks in advance.
|
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 page that needs to get
the calPrimary.SelectedDate property each time the
calPrimary.SelectionChanged event fires. So, my web user control is called
"eNotes.ascx". It is supposed to connect to a database and retrieve all the
user's notes for the day...
| |
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 and a forest green border. However,
when you move the cursor from one item to the next within the listbox or you
click on an item in the listbox to select it, the background turns to the
standard windows dark blue with white letters. Well, that...
|
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 automatically if the data doesn't change. But if records have
been added or deleted then it looks as if some code is necessary: I've done
this by using GridView.SelectedValue to get the key value of the currently
selected Row and then by itterating...
|
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 = browser.Document.GetElementById("dropdownFacID");
How do I know get the selected entry (the text, not the id).
Thanks.
|
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 the folder I clicked on so that I can
display it in a textbox similar to windows explorer?
object loc = "W:\\EP 2005";
object null_obj_str = "";
System.Object null_obj = 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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |