Click here to Skip to main content
15,918,976 members
Home / Discussions / Database
   

Database

 
QuestionHOWTO: Insert SQL NULL using ADO Recordset and VC++? Pin
Dan Thurman9-Apr-03 8:52
Dan Thurman9-Apr-03 8:52 
AnswerRe: HOWTO: Insert SQL NULL using ADO Recordset and VC++? Pin
Le centriste11-Apr-03 7:17
Le centriste11-Apr-03 7:17 
GeneralRe: HOWTO: Insert SQL NULL using ADO Recordset and VC++? Pin
Dan Thurman11-Apr-03 8:30
Dan Thurman11-Apr-03 8:30 
GeneralRe: HOWTO: Insert SQL NULL using ADO Recordset and VC++? Pin
Le centriste11-Apr-03 10:37
Le centriste11-Apr-03 10:37 
GeneralAbout the DataSet Pin
DS__9-Apr-03 5:50
DS__9-Apr-03 5:50 
GeneralRe: About the DataSet Pin
Le centriste11-Apr-03 7:19
Le centriste11-Apr-03 7:19 
GeneralCompact and repair ADOX Pin
Hesham Amin8-Apr-03 12:30
Hesham Amin8-Apr-03 12:30 
GeneralADO Error I assume Pin
Toni788-Apr-03 11:20
Toni788-Apr-03 11:20 
I am writing a program which runs just fine in the computer where I am developing it. The OS is Windows XP. Since I wanted someone else to see my program I tried to run it on an old laptop that I have which runs on Windows 95. Unfortunately I got an error generated with _com_error which says:
Error Number: 0x80040154
Error Message: Class not registered.

This is part of the code
// Initialize the COM environment
if( FAILED( hr = ::CoInitialize( NULL ) ) )
{
_com_issue_error( hr );
return FALSE;
}

// Create a connection with the database
// THE PROGRAM FAILS RIGHT HERE
if( FAILED( hr = m_pConn.CreateInstance( __uuidof( Connection ) ) ) )
{
_com_issue_error( hr );
return FALSE;
} // end if

m_pConn->Open(L"Provider=Microsoft.Jet.OLEDB.3.0;\
Data Source=SomeDbFile.mdb;",
L"", L"", adOpenUnspecified );

I tried to register msado15.dll with regsvr32 in the computer which runs on windows 95 but that didn't work. Is there anything that I can do to to make the program run in Windows 95?

none
GeneralRe: ADO Error I assume Pin
Rein Hillmann8-Apr-03 11:29
Rein Hillmann8-Apr-03 11:29 
GeneralThank you Reinout Hillmann Pin
Toni788-Apr-03 12:22
Toni788-Apr-03 12:22 
GeneralJDBC!! HELP!!!! Pin
Sunnygirl8-Apr-03 6:00
Sunnygirl8-Apr-03 6:00 
GeneralFormating the xml-output from a DataSet Pin
Andreas Knapp8-Apr-03 3:46
Andreas Knapp8-Apr-03 3:46 
GeneralRe: Formating the xml-output from a DataSet Pin
Knappen8-Apr-03 3:57
Knappen8-Apr-03 3:57 
GeneralRe: Formating the xml-output from a DataSet Pin
Le centriste8-Apr-03 11:01
Le centriste8-Apr-03 11:01 
Generalcdaodatabase create/open causes crash Pin
bryce8-Apr-03 3:30
bryce8-Apr-03 3:30 
GeneralRe: cdaodatabase create/open causes crash Pin
Rein Hillmann8-Apr-03 10:59
Rein Hillmann8-Apr-03 10:59 
GeneralRe: cdaodatabase create/open causes crash Pin
bryce8-Apr-03 11:54
bryce8-Apr-03 11:54 
Questionmodify system stored procedures? Pin
Rene De La Garza7-Apr-03 7:41
Rene De La Garza7-Apr-03 7:41 
AnswerRe: modify system stored procedures? Pin
Rein Hillmann7-Apr-03 8:56
Rein Hillmann7-Apr-03 8:56 
GeneralRe: modify system stored procedures? Pin
Rene De La Garza7-Apr-03 11:18
Rene De La Garza7-Apr-03 11:18 
GeneralRe: modify system stored procedures? Pin
Rene De La Garza7-Apr-03 11:31
Rene De La Garza7-Apr-03 11:31 
GeneralRe: modify system stored procedures? Pin
Rein Hillmann7-Apr-03 13:40
Rein Hillmann7-Apr-03 13:40 
GeneralRe: modify system stored procedures? Pin
Rein Hillmann7-Apr-03 14:10
Rein Hillmann7-Apr-03 14:10 
GeneralRe: modify system stored procedures? Pin
Rene De La Garza8-Apr-03 4:25
Rene De La Garza8-Apr-03 4:25 
GeneralRe: modify system stored procedures? Pin
Rein Hillmann8-Apr-03 8:47
Rein Hillmann8-Apr-03 8:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.