i have to add this >>> " <<< thing in a text box but because of the fact that VB uses it to seperate text from objects i cant add it what is the VB code for it? :S really must have it :(
Printable View
i have to add this >>> " <<< thing in a text box but because of the fact that VB uses it to seperate text from objects i cant add it what is the VB code for it? :S really must have it :(
two ways
VB Code:
Private Sub Command1_Click() Text1.Text = """" Text1.Text = Text1.Text & Chr(34) End Sub
You'll need the ascII code which you can find by typing it into a textbox and then putting a button there with the code:
then you can use the chr(whatever the number is)........ (I would have gave you the number but i don't have access to VB at the mo)Code:msgbox asc(textbox.text)
VB Code:
Private Sub Command1_Click() MsgBox "How do I put " & Chr(34) & "Quotes" & Chr(34) & " around word in a string?" MsgBox "How do I put ""Quotes"" around a word in a string?" End Sub
yeah got it.. thanks for the fast reply dude(S)