Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42412

VS 2008 find string from another form

$
0
0
i would like to find a string of text within form1, however enter the string of text to find in form2 and then replace this text in form1

im having trouble linking the forms

Code:

textbox1.Text = Replace(textbox1.Text , TextBox2.Text, TextBox3.Text)
        MsgBox(" ' " & TextBox2.Text & " ' " & " replace with: " & " ' " & TextBox3.Text & " ' ")


Viewing all articles
Browse latest Browse all 42412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>