Solved

HOWTO: Set Up ODBC Data Sources When Distributing Apps

Posted on 2001-06-10
2
252 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA filters 2 72
Access 2013 combo box not working 3 60
Visual Studio 2005 text editor 10 49
Remove Exif Orientation before adding image to db 9 45
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

730 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