|
-
Jul 10th, 2003, 03:14 AM
#1
Thread Starter
Addicted Member
i need help
hi to all
i have a problem in a application.
i make a application in vb and i used data base but i do one thing with database it is i used database as "dsn" i make its exe but when i install it on client side that dsn doesn't created .
telll me the way how do i create dsn during setup
thanks
Hammad Umar
-
Jul 11th, 2003, 04:06 PM
#2
You might've been better off asking this one in the database forum, but...
1) You need to modify the Package & deployment wizard setup code. The P&D wizard you use to create setup programs for your vb apps is a full sample project which is included within the standard vb setup.
The default install path this can be found under is:
C:\Program Files\Microsoft Visual Studio\VB98\
Wizards\PDWizard\Setup1
Take a backup copy before modifying / adding to the project's code!!!!
2) The code to programatically create a system dsn can be found under the following thread:
http://www.vbforums.com/showthread.p...ght=create+dsn
-
Jul 11th, 2003, 04:23 PM
#3
Phew, after much digging around, I've finally uncovered this one for you. A while back a guy called Dax Pandhi wrote an article for vbsquare.com on modifying the P&D wizard to customise your application's install. There is acopy of this article which can be found here:
http://www.developer.com/net/vb/article.php/1539871
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
|