Passing contact field variable to browser

  • Thread starter Thread starter Fish
  • Start date Start date
F

Fish

Hi All,

I would like to create a small button on the Contact details form in my
Outlook which passes the filled in mobile number to my website in a way
like;

http://www.mysite.com/page.asp?mob=+34123456789

where "+34123456789" is the value filled in the Mobile field in the
open contact. I can then grab that variable in my ASP code (where I
will send an SMS).

I guess this can be done with VB. I guess it's not something that's
easy to explain in a couple of lines (or maybe it is!), but if anyone
know any sites where something similar is to this is done. Will give me
a starting point (I have a very basic knowlege of VB) as right now
don't have a clue even how to start programming that into my Oulook
2003.

Thanks in advance for any pointers.

Quintus
 
It's not hard at all. Typically, the user clicks on a command button or
label control, which will fire a Click event. The basic code to launch a web
page is at http://www.outlookcode.com/d/tips/formhyperlink.htm. All you have
to add is the code to concatenate the data from the item, which you can get
with Item.MobileTelephoneNumber and a little cleanup to remove any
characters that your fax application doesn't want to see. (HINT: Use the
Replace() function.)
 
Back
Top