starcraft Posted July 3, 2003 Posted July 3, 2003 (edited) can VB.net take information for textboxes, create an e-mail in a style, like ======== Username: *what evere the'username'textbox says Password: *so on* Additional Info: *number 3 info* ======== and send it to one or a few people? another question. can vb interact with another program? like can i play a game on an internet site? just like clicking a mouse or clicking up/down/side to side? can it take web pages and click a link without really clicking it? can interact with a program like aim and sign on and tell everyone who is signed on 'hello' or something like that. the reason i ask is because i used Auto it for the longest time but i ....screwed my self several times because it doesnt acually play with a web page, it makes sure the web page title is active, and then clicks positions, like 361, 451. but its not that reliable because if the web page ever got minamized for any reason it would continue to click, Example. I made a program to play the click test on addictinggames.com it does level 1-5 in 15 sec - but i was watching it once and i wanted to see the score for one of the tests and i click the auto it icon in the lower right hand corner and tryed to close it but for some reason it thought i told it to do another round, so it went on clicking for about 20 sec. i was just wonder if vb can do the same thing only make sure the window is always up, it is always at the corect spot to click, if the thing is lower on the web page. and if at any time its not than it will corect the problem. and can vb record the time in like an html file ?sorry for the long description but i thought i would give u the low down on my question Edited July 3, 2003 by starcraft Quote
Mehyar Posted July 3, 2003 Posted July 3, 2003 Concerning your Email question: Dim Message As New MailMessage() Message.To = *The email address you want to send to* Message.From = *Your email address* Message.Subject = *The subject of your mail message* Message.Body = "Username: " & Chr(13) & txtUsername.text & Chr(13) & "Password: " & Chr(13) & txtpassword.text & Chr(13) smtpmail.SmtpServer = *the Ip address of your SMTP server* SmtpMail.Send(Message) Quote Dream as if you'll live forever, live as if you'll die today
*Experts* mutant Posted July 3, 2003 *Experts* Posted July 3, 2003 You could check if the window is active and manipulate it a little with APIs like FindWindow. Quote
starcraft Posted July 4, 2003 Author Posted July 4, 2003 for the sent 'from' cause i just have it be my email address even though it will send it from other ppls computers? Quote
*Experts* mutant Posted July 4, 2003 *Experts* Posted July 4, 2003 You can put anything you want in the "from", but its always good to know where emails come from. :) Quote
starcraft Posted July 4, 2003 Author Posted July 4, 2003 true how would i have them enter their e-mail address in a textbox then when they click send it uses what they entered as the from? Quote
*Experts* mutant Posted July 4, 2003 *Experts* Posted July 4, 2003 Message.From = textBoxName.Text :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.