I want to add a hyperlink to a specific E-mail address to my VB application. Assuming the user is logged on to his/her internet provider it should bring up the E-mail screen when the user clicks on the link.
How can I do This?
Please help
Printable View
I want to add a hyperlink to a specific E-mail address to my VB application. Assuming the user is logged on to his/her internet provider it should bring up the E-mail screen when the user clicks on the link.
How can I do This?
Please help
Make the URL for the hyperlink:
(obviously the someguy would be the name of the email address you are mailing it to, and the somewhere would be the domain you are mailing to... duh. :D)
I hope that works... :p
Where do I put the code?
How do I establish the Hyperlink in VB?
If i just put the code "mailto:[email protected]" on the click event of a command button it wont work.
Are you doing this on a web page or on a VB program?
If it's on a program then you'll have to write code to send an email since VB won't recognize HTML commands... There was a recent thread in 'General VB Questions' on how to do this - just do a search.
If you're coding a web page with VBScript - like an ASP page - then just make your VBScript code write out the tag:
Sorry if I'm off the mark but I'm not sure if I understood the question correctly.
the mailto: link is just that - a link. read it all as a URL and do with it as you please.
Thanks
the thread in general VB questions solved the problem
works great