Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Private Sub connect_DocumentCompleted(sender As Object, e As WebBrowserDocumentCompletedEventArgs) Handles connect.DocumentCompleted
- Try
- connect.Document.GetElementById("subject").SetAttribute("value", Form1.subject.Text)
- connect.Document.GetElementById("body").SetAttribute("value", Form1.enter.Text) ' This is the line I'm having issues with
- connect.Document.GetElementById("send-btn").InvokeMember("click")
- Catch ex As Exception
- MsgBox(ErrorToString())
- End Try
- End Sub
- End Class
- <textarea rows="2" cols="20" id="body" class="messages-reply-box text-box text" style="padding:5px;width:675px;"></textarea>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement