|
-
Sep 10th, 2007, 01:21 PM
#1
Thread Starter
PowerPoster
Add a reference to Visual FoxPro dll
Hey guys. My program uses the visual foxpro driver to open dBase files, but I can't seem to get it to add a reference to this dll so that when it is installed on someones computer it works. I have even tried to manualy browse to the dll and include it but VS says I can't.
It doesn't show up in the COM reference list at all.
My program wont work without the fox pro driver, so how do I include it as a prerequesite?
Thanks!
-We have enough youth. How about a fountain of "Smart"?
-If you can read this, thank a teacher....and since it's in English, thank a soldier.

-
Sep 10th, 2007, 07:39 PM
#2
Re: Add a reference to Visual FoxPro dll
You shouldn't need to reference anything. You should just be specifying that driver in your connection string. As for requiring it as a prerequisite for your app, you would either install it as part of your Setup or else add a Launch Condition to your Setup that looks for a file, registry entry or the like that identifies that driver as being installed.
-
Sep 10th, 2007, 07:45 PM
#3
Re: Add a reference to Visual FoxPro dll
You mean the ODBC Driver? If yes, the way i'm deploying this Driver is adding this Driver to my App's Installation Package and executing the installer before my App's Installer ends. The driver must be the correct language, i think it has to be the same language than the OS is, for multiple language support you have to deploy all the installers (files) you need and execute one of them, if that's not the correct language that same Installer will call the correct language Installer, but it must be present in the same path.
The Driver installers are here: Visual FoxPro ODBC Driver
(i just tested the MSI versions)
Last edited by jcis; Sep 10th, 2007 at 07:49 PM.
-
Sep 10th, 2007, 11:11 PM
#4
Thread Starter
PowerPoster
Re: Add a reference to Visual FoxPro dll
Hrmm, I am using the ClickOnce publisher in VS2005, how would I go about adding the driver to my setup package? I dont see an option for that.
I just need to make sure this driver is installed on the client machine before my program runs.
Yes it is the ODBC driver.
Thanks guys!
-We have enough youth. How about a fountain of "Smart"?
-If you can read this, thank a teacher....and since it's in English, thank a soldier.

-
Sep 10th, 2007, 11:55 PM
#5
Re: Add a reference to Visual FoxPro dll
http://msdn2.microsoft.com/en-us/lib...1x(VS.80).aspx
On that page there's a Note box that provides a link to a page entitled "Adding Custom Prerequisites". Sounds like exactly what you want.
Note that I have never used ClickOnce and barely researched it. I just went to MSDN and typed clickonce prerequisites in the search box and that was the third result. The simple things in life are often the best.
-
Sep 11th, 2007, 12:29 AM
#6
Thread Starter
PowerPoster
Re: Add a reference to Visual FoxPro dll
Interesting, looks like I need to do some work to the manifest file.
I'll read into it.
If anyone has any first hand knowledge on this subject feel free to let me in on it!
thanks!
-We have enough youth. How about a fountain of "Smart"?
-If you can read this, thank a teacher....and since it's in English, thank a soldier.

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|