Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


quotation help [VB.NET] filter_list
Author
Message
quotation help [VB.NET] #1
so basicly i want a button that adds code to my textbox but it's confussed me, any help.


<IMG STYLE="position:absolute; TOP: Textbox1.text px; LEFT: Textbox2.Textpx;" SRC="Textbox3.text"></a>

i want to be able to add that code in when i add a button but i can seem to figure it out because of the quotation marks.
[Image: 6caf54.gif]

Reply

RE: quotation help [VB.NET] #2
Code:
<IMG STYLE="position:absolute; TOP: 400 px; LEFT: 300 px;" SRC="100"></a>

For this you will have to use multiple quotation marks.

Code:
TextBox4.Text = "<IMG STYLE=""position:absolute; TOP: " & TextBox1.Text & " px; LEFT: " & TextBox2.Text & " px;"" SRC=""" & TextBox3.Text & """></a>"

Two quotations when you need a quotation inside quotations, but is not the end or beginning of primary quotation.
Three quotations when you need a quotation inside a quotation, and is the end or beginning of primary quotation.
[Image: rytwG00.png]
Redcat Revolution!

Reply







Users browsing this thread: 1 Guest(s)