Results 1 to 3 of 3

Thread: i need help

  1. #1

    Thread Starter
    Addicted Member Hammad's Avatar
    Join Date
    Mar 2003
    Location
    Pakistan
    Posts
    145

    Question 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
    Hammad Umar

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    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

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    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

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width