LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can i write to a MS access database file without having Access installed on my computer? I tried to do so and get a error "class not registered". (LabView7.1, Windows XP)

You must be trying to use ActiveX to write to Access. When Access is installed, the ActiveX components are installed with it. So, if you don't install Access, no ActiveX. The solution is to use NI's Database Connectivity Toolkit or a tool such as Jeffrey Travis's LabSQL. Thes use ADO/ODBC and the SQL database language and do not require a local installation of Access. Another advantage is that if you ever decide to upgrade to a more robust database such as MySQL, Oracle, or SQL Server, you can do so with a minimum amount of work. If you stay with ActiveX, you'll have to rewrite everything. SQL is much faster than ActiveX as well.
Message 2 of 2
(2,543 Views)