CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    5

    ODBC connect to System DSN?

    I tried to connect to a System-DSN from my program which is started by a service. The problem: I don't know which connection string (as it runs from a service I can't use the UI) to use. The Database is Access, I connect via the CDatabase-Class.

    Thank you!

    Ciao,
    Alex


  2. #2
    Join Date
    Jun 1999
    Posts
    8

    Re: ODBC connect to System DSN?

    try
    GetUserName()


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