CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2001
    Posts
    7

    Starting a oracle database automatically

    Hi everybody,
    I have created a database in Oracle 8i which i am using in vb6. My problem is that whenever i open
    any form, i have to connect to the database manually everytime. I want that, as soon as i load my project, the database should open automatically. Please help me out

    shrikant
    [email protected]



  2. #2
    Join Date
    Aug 2000
    Location
    England
    Posts
    185

    Re: Starting a oracle database automatically

    Hello,

    I assume you are using the connection string to specify the ODBC connection. Within this string you can specify the user name and password UID and PWD respectively.

    Andrew


  3. #3
    Join Date
    May 2000
    Location
    New York, NY, USA
    Posts
    2,878

    Re: Starting a oracle database automatically

    Insert your connection code to the Form_Load event

    Iouri Boutchkine
    [email protected]
    Iouri Boutchkine
    [email protected]

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

Featured