From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Example for working with ms access activeX

Hi,
I need to work with ms access ActiveX without toolkit.
I didn't understand how to read/write to/from tables in access.(I'm only success to open the ms access with CVI).

I will glad to get an example code.

Thanks a lot
Itay
0 Kudos
Message 1 of 2
(2,764 Views)
Hello

If you're interested in reading\writing data to access, you will need to use Activex Database Object (ADO) in order to do that. Using MS Access via activex will allow you to control Access, but not use it as a database. You should be able to create wrappers for this component using the "Activex Controller Wizard". Refer to the MSDN for more information on this.

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,764 Views)