954,514 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Text box question

ok when i enter text in a text box and hit a buttonj i want it to replace the text in a url

[code]
webBrowser1.navigate ("urlgoeshere");
[\code]

i want it to replace a certain string in it but i dont know how any ideas?

tayspen
<Insert title here>
Team Colleague
1,622 posts since Jul 2005
Reputation Points: 84
Solved Threads: 99
 

Use JavaScript.

Watch for Lost Focus then run Javascript to update something.

techniner
Posting Pro
527 posts since May 2005
Reputation Points: 12
Solved Threads: 19
 

Wow. I didn't know you could use Javascript in a C# application! (Of course, I'm just a beginner)

Toulinwoek
Posting Whiz in Training
274 posts since Mar 2005
Reputation Points: 10
Solved Threads: 2
 

HAHA Ok so I am a dumbass and did not realize this was the C# section..

But actually the same rules apply.. you can build a function and keep refernecing it.. similar to how Javascript would owrk you know what I mean?

techniner
Posting Pro
527 posts since May 2005
Reputation Points: 12
Solved Threads: 19
 

HAHA Ok so I am a dumbass and did not realize this was the C# section..

But actually the same rules apply.. you can build a function and keep refernecing it.. similar to how Javascript would owrk you know what I mean?

lol iam lost with all this java talk

can u provide a sample?

tayspen
<Insert title here>
Team Colleague
1,622 posts since Jul 2005
Reputation Points: 84
Solved Threads: 99
 

lol iam lost with all this java talk

can u provide a sample?


definitly scince i dont know much java

tayspen
<Insert title here>
Team Colleague
1,622 posts since Jul 2005
Reputation Points: 84
Solved Threads: 99
 

Oh, then you can't? Bummer

Toulinwoek
Posting Whiz in Training
274 posts since Mar 2005
Reputation Points: 10
Solved Threads: 2
 
Oh, then you can't? Bummer


wait what i cant, i know i cant thats y i wanted a sample *confused* :?: :?: :?: :?: :?:

tayspen
<Insert title here>
Team Colleague
1,622 posts since Jul 2005
Reputation Points: 84
Solved Threads: 99
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You