473,508 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Parsing a String to System.Uri

Hi everyone,

I'm making a simple fast loading web browser in C#. How to I make it so
you can type in a web address and click "Go" to...

private void btnGo_Click(event sender, EventArgs e)
{
wbrWebBrowser.Url = txtAddress.Text;
}

....it was the only way I could think of. Any ideas?

James

Nov 17 '05 #1
2 9218
try this....

private void go_Click(object sender, EventArgs e)

{ String add;

add=textBox1.Text;

webBrowser1.Navigate(add);

}

Maheshkumar.R

http://spaces.msn.com/members/cyberiafreak



"James" <ja**********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Hi everyone,

I'm making a simple fast loading web browser in C#. How to I make it so
you can type in a web address and click "Go" to...

private void btnGo_Click(event sender, EventArgs e)
{
wbrWebBrowser.Url = txtAddress.Text;
}

...it was the only way I could think of. Any ideas?

James

Nov 17 '05 #2
for more info...

http://msdn2.microsoft.com/library/2...us,vs.80).aspx

MaheshKumar.R
"James" <ja**********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Hi everyone,

I'm making a simple fast loading web browser in C#. How to I make it so
you can type in a web address and click "Go" to...

private void btnGo_Click(event sender, EventArgs e)
{
wbrWebBrowser.Url = txtAddress.Text;
}

...it was the only way I could think of. Any ideas?

James

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3916
by: Cigdem | last post by:
Hello, I am trying to parse the XML files that the user selects(XML files are on anoher OS400 system called "wkdis3"). But i am permenantly getting that error: Directory0: \\wkdis3\ROOT\home...
4
1654
by: Chad Scharf | last post by:
I am having difficulty taking an xml string passed as a string from a web service. I am not using SOAP, but rather calling the web service within an ASP.NET web form. Reviewing the XML object...
0
1930
by: Seth | last post by:
First off, my apologies if this is in the wrong newsgroup, but I hope I'm close enough. I'm trying to do some parsing of a CSV file using OleDbConnection, but for some reason, when I populate my...
18
4831
by: Atara | last post by:
In my apllication I use the following code: '-- My Code: Public Shared Function strDate2Date(ByVal strDate As String) As System.DateTime Dim isOk As Boolean = False If (strDate Is Nothing)...
26
6837
by: SL33PY | last post by:
Hi, I'm having a problem parsing strings (comming from a flat text input file) to doubles. the code: currentImportDetail.Result = CType(line.Substring(7, 8).Trim(" "), System.Double) What...
3
4359
by: toton | last post by:
Hi, I have some ascii files, which are having some formatted text. I want to read some section only from the total file. For that what I am doing is indexing the sections (denoted by .START in...
3
3292
by: Anup Daware | last post by:
Hi Group, I am facing a strange problem here: I am trying to read xml response from a servlet using XmlTextWriter. I am able to read the read half of the xml and suddenly an exception:...
3
11927
by: spittinfire | last post by:
-------------------------------------------------------------------------------- I am trying to correct the errors on an assignment that has already been graded because I have to now modify it and...
1
2954
by: hd95 | last post by:
In a perfect world my xml feed source would produce perfect xml ..that is not the case I am parsing an XML feed that sometimes has ampersands and dashes in the content that messes up my parsing. ...
1
4349
by: eyeore | last post by:
Hello everyone my String reverse code works but my professor wants me to use pop top push or Stack code and parsing code could you please teach me how to make this code work with pop top push or...
1
7046
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
7498
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...
0
5629
agi2029
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,...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4707
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...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1558
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 ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
418
bsmnconsultancy
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...

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.