Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / December 2003

Tip: Looking for answers? Try searching our database.

Pick contact dialog box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Thomas Ranstorp - 29 Dec 2003 14:15 GMT
Hi,
I have written some VBScript in a customized form. I want
this code to do exactly what the "Contacts..." button
does, selecting a contact and add it to the "Links", But
I want to run some other code before and after the
executions.

I can execute code after through
the "Item_PropertyChange" but not before.

It there a way to execute the contact selection dialog
box from the VBscript code.

Please help!

Regards,
/Thomas
Sue Mosher [MVP] - 29 Dec 2003 19:35 GMT
No.
Signature

Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> Hi,
> I have written some VBScript in a customized form. I want
[quoted text clipped - 13 lines]
> Regards,
> /Thomas
Thomas Ranstorp - 30 Dec 2003 07:31 GMT
Yes, there is with this code (myButton2 is bound to the
contact-item dialog box).

sub myButton1_click()
'code before dialog box
Item.GetInspector.ModifiedFormPages
("myPage").myButton2.value = true
'code after dialog box
end sub

regards,
/Thomas
>-----Original Message-----
>No.
[quoted text clipped - 17 lines]
>
>.
Anita Gupta - 30 Dec 2003 15:38 GMT
What is the value of the line of code:

Item.GetInspector.ModifiedFormPages("myPage").myButton2.value = true

?

I don't understand what this line does. My code works without this line.
Just curious.

Anita
> Yes, there is with this code (myButton2 is bound to the
> contact-item dialog box).
[quoted text clipped - 43 lines]
> >
> >.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.