Solved

HOWTO: Set Up ODBC Data Sources When Distributing Apps

Posted on 2001-06-10
2
249 Views
Last Modified: 2010-05-18
I looked that information in MSDN April Edition 2001. Though I found an article which is available on the following URL

http://support.microsoft.com/support/kb/articles/Q123/0/08.ASP

The problem is that this article is applicable only to VB 3 and 4. The information it gives us does not seem to be applicable to VB6 because the lables and the code segments it discuss are not found in VB 6.

I want to add the capability in my application to make it 's own DSN without any user interuption. Can I make the appropriate changes in the Setup1 Project which is shipped with VB. To meet those requirements what changes should be made?

Though right now I have found temporary solution which is available on the following URL
http://support.microsoft.com/support/kb/articles/q184/6/08.asp

in whic it is told HOWTO: Programmatically Create a DSN for SQL Server with VB.But I want that this thing should be done during setup of teh application.

Best Regards
Shehzad Munir.
0
Comment
Question by:ShehzadMunir
  • 2
2 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 20 total points
ID: 6173352
You can modify and recompile Setup1.vbp project (this is the application that installs the application on other PC). But what I suggest is to create the DSN every time you start the application. This way, there won't be any mess with the DSN (user modifying / deleting it).
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6177012
Will give that one to me too?
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question