Text box question

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2005
Posts: 1,542
Reputation: tayspen is on a distinguished road 
Solved Threads: 98
Team Colleague
tayspen's Avatar
tayspen tayspen is offline Offline
<Insert title here>

Text box question

 
0
  #1
Aug 23rd, 2005
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?
Firefox
Ewido
Tune up windows
Get detailed system information
My Fixes

Member - Alliance of Security Analysis Professionals - Since 2006
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 508
Reputation: techniner is an unknown quantity at this point 
Solved Threads: 19
techniner techniner is offline Offline
Posting Pro

Re: Text box question

 
0
  #2
Aug 23rd, 2005
Use JavaScript.

Watch for Lost Focus then run Javascript to update something.
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 263
Reputation: Toulinwoek is an unknown quantity at this point 
Solved Threads: 2
Toulinwoek's Avatar
Toulinwoek Toulinwoek is offline Offline
Posting Whiz in Training

Re: Text box question

 
0
  #3
Aug 23rd, 2005
Wow. I didn't know you could use Javascript in a C# application! (Of course, I'm just a beginner)
:!: In The Beginning, God; In The End, God. In between, believe whatever you like. :)
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 508
Reputation: techniner is an unknown quantity at this point 
Solved Threads: 19
techniner techniner is offline Offline
Posting Pro

Re: Text box question

 
0
  #4
Aug 23rd, 2005
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?
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 1,542
Reputation: tayspen is on a distinguished road 
Solved Threads: 98
Team Colleague
tayspen's Avatar
tayspen tayspen is offline Offline
<Insert title here>

Re: Text box question

 
0
  #5
Aug 23rd, 2005
Originally Posted by techniner
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?
Firefox
Ewido
Tune up windows
Get detailed system information
My Fixes

Member - Alliance of Security Analysis Professionals - Since 2006
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 1,542
Reputation: tayspen is on a distinguished road 
Solved Threads: 98
Team Colleague
tayspen's Avatar
tayspen tayspen is offline Offline
<Insert title here>

Re: Text box question

 
0
  #6
Aug 23rd, 2005
Originally Posted by tayspen
lol iam lost with all this java talk

can u provide a sample?

definitly scince i dont know much java
Firefox
Ewido
Tune up windows
Get detailed system information
My Fixes

Member - Alliance of Security Analysis Professionals - Since 2006
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 263
Reputation: Toulinwoek is an unknown quantity at this point 
Solved Threads: 2
Toulinwoek's Avatar
Toulinwoek Toulinwoek is offline Offline
Posting Whiz in Training

Re: Text box question

 
0
  #7
Aug 23rd, 2005
Oh, then you can't? Bummer
:!: In The Beginning, God; In The End, God. In between, believe whatever you like. :)
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 1,542
Reputation: tayspen is on a distinguished road 
Solved Threads: 98
Team Colleague
tayspen's Avatar
tayspen tayspen is offline Offline
<Insert title here>

Re: Text box question

 
0
  #8
Aug 23rd, 2005
Originally Posted by Toulinwoek
Oh, then you can't? Bummer

wait what i cant, i know i cant thats y i wanted a sample *confused*
Firefox
Ewido
Tune up windows
Get detailed system information
My Fixes

Member - Alliance of Security Analysis Professionals - Since 2006
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC