help me

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
2 posts Page 1 of 1
Contributors
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

help me
Shim
hello guys :)

i have a textbox and a button and a richtextbox so i have a lot text on richtextbox for example

PageGate is an SMS messaging server application that sends SMS and text messages to: mobile phones, cell phones and other wireless devices. Messages can be sent a variety of different ways including: networked computers, e-mail, Internet web pages, commandline executables, text files, a serial port, and from within other applications. Messages can be sent to the telecom provider via: the Internet (SNPP, WCTP, SMTP), modems (TAP, UCP, GSM, TONE), or direct serial connections (TAP).


so i want PageGate to replaced by textbox text when i put some text on textbox and click on button

how can i do this ?
Find my programs on Softpedia
Filip
Coding Guru
Coding Guru
Posts: 833
Joined: Wed Jan 05, 2011 3:59 pm

Re: help me
Filip
mshimranpro wrote:
hello guys :)

i have a textbox and a button and a richtextbox so i have a lot text on richtextbox for example

PageGate is an SMS messaging server application that sends SMS and text messages to: mobile phones, cell phones and other wireless devices. Messages can be sent a variety of different ways including: networked computers, e-mail, Internet web pages, commandline executables, text files, a serial port, and from within other applications. Messages can be sent to the telecom provider via: the Internet (SNPP, WCTP, SMTP), modems (TAP, UCP, GSM, TONE), or direct serial connections (TAP).


so i want PageGate to replaced by textbox text when i put some text on textbox and click on button

how can i do this ?
Code: Select all
Private Sub ReplaceText() Handles {button}.click
Dim promoText as string="PageGate is an SMS messaging server application that sends SMS and text messages to: mobile phones, cell phones and other wireless devices. Messages can be sent a variety of different ways including: networked computers, e-mail, Internet web pages, commandline executables, text files, a serial port, and from within other applications. Messages can be sent to the telecom provider via: the Internet (SNPP, WCTP, SMTP), modems (TAP, UCP, GSM, TONE), or direct serial connections (TAP)."
{richtextbox}.text = promoText.replace("PageGate", {textbox}.text).toString

End Sub
I think this should work. Replace {something} with controls.
I'm not on my computer so this is not tested.
CodenStuff wrote:
Nope, it's just your sick and dirty mind. You sick twisted warped little pervo :D
2 posts Page 1 of 1
Return to “Coding Help & Support”