LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to open an address list object for MS Outlook using ActiveX

I would like to access the Outlook Address List using ActiveX within LabWindows/CVI. Can anyone point me to an example, or other information?,
Thanks
0 Kudos
Message 1 of 4
(3,416 Views)
Hi,

You can get to these properties by loading the Instrument Driver for Outlook. There should be some examples of the outlook driver available with your CVI software. If you go to Instrument >> Load, and then navigate to \samples\activex\outlook, you should find some instrument drivers (.fp files) that you can load. Some of the functions found in this driver allow you to get access to the Address List. Hope this helps!

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 2 of 4
(3,416 Views)
Jeremy,

Yes, I am familier with the libraries. However, I am not yet familier with ActiveX. It seems most of the examples I have found (including within NI's own help documentation) have been using Visual BASIC as opposed to CVI. Hmmm.. Seems like there is an opportunity there for some improvement. I am still working on the app, and if I am able to come up with something clean, will post it.
Thanks
0 Kudos
Message 3 of 4
(3,416 Views)
Hi,

Most of the examples you are finding are using NI's own ActiveX controls that were created to work with Outlook. These were created for use with Visual Basic and to demonstrate use with one of our other products, Measurement Studio. We only provide extensive amounts of examples for our own ActiveX controls because it would be very difficult and almost impossible for us to provide an example for every ActiveX control available that's made by any other company (i.e. Microsoft). CVI's ability to use ActiveX controls is demonstrated in a few examples, and so as a developer, you can find any code that uses the ActiveX control you are implementing and relate that to one of our CVI generic ActiveX examples. From these two things you should be abl
e to write your code accordingly. In particular, if you want to use the ActiveX control that comes packaged in CVI, this particular control is made by us and uses Microsoft's driver. This is not using any VB code and you can use it as a starting off point to learn more about ActiveX and Outlook.

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 4 of 4
(3,416 Views)