home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.oracle      Overblown overpriced overengineered SHIT      2,288 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 647 of 2,288   
   Jamie Burns to All   
   How to prevent "Oracle8 ODBC Driver Conn   
   06 Nov 03 02:32:30   
   
   From: not@home.com   
      
   I have written a Windows Service to access an Oracle database.  A dialog box   
   appears, prompting for user logon if the database is not accessable due to   
   network problems   
   I just want the connection to fail quietly.   
      
   Here's a little code snippet.   
      
   // Create workspace.   
   CDaoWorkspace wspCurrent;   
   wspCurrent.Create("MyWorkspace","MyUser","MyPasswordUser");   
   wspCurrent.Append();   
      
   // Open database.   
   CDaoDatabase  dbsCurrent(&wspCurrent);   
   CDaoDatabase dbsCurrent;   
   dbsCurrent.Open(_T(""),FALSE,FALSE,ODBC;"UID=MyUser;PWD=MyPasswordUser;DSN=M   
   yDSN;");   
      
      
   Any help would be appreciated...   
      
   Jamie   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca