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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with database connectivity in run time system

Solved!
Go to solution

Hello all,

 

I am using database connectivity tool kit in my application (labview 2011).

Every thing runs fine on my system (developement system).

 

When I install my application on any other PC the path for my data base is not found.

 

i dont want to keep a constant or fixed path for my database.  I want that the database path should be automatically buit where ever the app is installed.  Please suggest how to get path programatically.

0 Kudos
Message 1 of 26
(3,424 Views)

What is database you use?

0 Kudos
Message 2 of 26
(3,422 Views)

ms access (.mdb file format)

 

I am using .udl for database connectivity

 

microsoft jet 4.0 OLE DB 

0 Kudos
Message 3 of 26
(3,413 Views)

Put one indicator and see what path it is selecting. You dont need udl file to use mdb file

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 4 of 26
(3,408 Views)

Dear Ranjit,

 

Can you help me out with an example or some related link.

 

I tried but it is not working without udl.

0 Kudos
Message 5 of 26
(3,403 Views)
Solution
Accepted by topic author SKY_THE_CHALLENGER_OF_CHANGE

Extract the attachement. Run the VI and let me know

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
Message 6 of 26
(3,398 Views)

Its working ... wow!!!

 

Thank you Ranjeet

 

0 Kudos
Message 7 of 26
(3,374 Views)

You are most welcome.......SKY_THE_CHALLANGE.....

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 8 of 26
(3,357 Views)

hello ranjit,

 

microsoft jet oledb4.0 is not available in windows 7.....

can you suggest some option or how to get it in windows 7 pc

0 Kudos
Message 9 of 26
(3,287 Views)

What are you talking about, I have a JET application that has been running for weeks on a Windows7 machine.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 10 of 26
(3,272 Views)