clickable email address

P

Patrice

Clicking would interfere with editing (how do you know hwat is the purpose
of the click ?). I would rather create a button near the textbox and would
use the textbox for editing as usual and the button for launching the mail
client using this address... Or you could use the double click event but IMO
it will be perhaps less discoverable...
 
G

giannis

Patrice said:
I would rather create a button near the textbox and would use the textbox
for editing as usual and the button
for launching the mail client using this address...

What is the code for launching the email client ?
I am newbie in VB . Can you see me the command (methond) for this ?
 
P

Patrice

Try :
Process.Start("mailto:[email protected]")

It executes a command line but the as the command line processor also
recognize also the mailto of http protocol, it allows to launch a mail
client or to open a web site without knowing what is the current client
and/or browser...
 
S

susiedba

hey patrice

that is sharp, thanks!



Try :
Process.Start("mailto:[email protected]")

It executes a command line but the as the command line processor also
recognize also the mailto of http protocol, it allows to launch a mail
client or to open a web site without knowing what is the current client
and/or browser...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top