Is it possible to submit a multiline textbox to the body section from vb6 to the Gmail Webpage??
thanx in advance....
wiz....
Printable View
Is it possible to submit a multiline textbox to the body section from vb6 to the Gmail Webpage??
thanx in advance....
wiz....
Is it that can no one can reply???
help me...
i have same problem......
in page source i m not able to find the id name
i hope some one reply soon...
Yes it is possible if you know the name of the element to which you want to populate with text from a multiline textbox and the element is authorized to receive the text.Quote:
Originally Posted by wiz....
suppose the name of the element is "message"...then how can it be done???
srry to bother you but....after some web surfing I get the answer :
Text1.Text = Text1.Text & vbCRLF
thnx...
Well I don't see what that has to do with your original question which by the way was very vauge but if you are satified with your above post then that is good.
I don't get it? what does this have to do with "Submit Multiline Textbox to Webpage" ? that not going to do anything with dom a element on a webpageQuote:
Originally Posted by wiz....
if your trying to fill some out on gmail try use the html version of gmail it much easy to dom stuff and you can use some thing as simple asyou can have it allways pick the html version og gmail by turning off active script on ie.Code:WebBrowser1.Document.getElementById("id here").Value = "what every"
or
WebBrowser1.Document.all("id name here").Value = "what every"
what I meant was dat if I do
Text1.Text = Text1.Text & vbCRLF
WebBrowser1.Document.getElementById("id here").Value = text1.text
because if i only did
WebBrowser1.Document.getElementById("id here").Value = text1.text
Then the data in another line would not come.
and then
Text1.Text = Text1.Text & vbCRLF
doesn't do anything except add a vbCrLf to whatever is already in Text1.
So if Text1.Text = "wiz" then Text1.Text = Text1.Text & vbCrLf will result is Text1.Text = "wiz" & vbCrLf
Do you not really mean to say
Text1.Text = Text1.Text & vbCrLf & "some more data for the next line"
I think the title of your thread was somewhat misleading. You should have just asked
How to add another line to a textbox
actually not cos....without crlf i could only submit the the data un-formatted and after doin it I can submit all the data with formatting !!!
OK, if you're happy with the results then so am I