ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(4,691 Views)

What is database you use?

0 Kudos
Message 2 of 26
(4,689 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
(4,680 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
(4,675 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
(4,670 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
(4,665 Views)

Its working ... wow!!!

 

Thank you Ranjeet

 

0 Kudos
Message 7 of 26
(4,641 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
(4,624 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
(4,554 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
(4,539 Views)