![]() |
|
quotation help [VB.NET] - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework) +--- Thread: quotation help [VB.NET] (/Thread-quotation-help-VB-NET) |
quotation help [VB.NET] - FrostByte_mybb_import5923 - 05-23-2011 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. RE: quotation help [VB.NET] - Coder-san - 05-24-2011 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. |