Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get an added class to shwo up in class wizard Pin
nss8-Feb-03 2:29
nss8-Feb-03 2:29 
QuestionWhat is wrong with these SQL statements?? Pin
IrishSonic8-Feb-03 0:26
IrishSonic8-Feb-03 0:26 
AnswerRe: What is wrong with these SQL statements?? Pin
vin8-Feb-03 1:08
vin8-Feb-03 1:08 
AnswerRe: What is wrong with these SQL statements?? Pin
Ted Ferenc8-Feb-03 4:42
Ted Ferenc8-Feb-03 4:42 
GeneralHere is my code... Pin
IrishSonic8-Feb-03 7:35
IrishSonic8-Feb-03 7:35 
GeneralRe: Here is my code... Pin
Ted Ferenc8-Feb-03 10:09
Ted Ferenc8-Feb-03 10:09 
GeneralRe: Here is my code... Pin
Kelly Herald9-Feb-03 18:02
Kelly Herald9-Feb-03 18:02 
AnswerRe: What is wrong with these SQL statements?? Pin
JockeP9-Feb-03 6:08
JockeP9-Feb-03 6:08 
Hi! I'm just curious how you manage to execute those insert and delete queries? I get rt error when doing it like this:

CDaoDatabase* m_pDB;
CDaoRecordset* m_pRS;
m_pDB = new CDaoDatabase;
m_pRS = new CDaoRecordset(m_pDB);

try {
m_pDB->Open("c:\\accessdb\\db1.mdb");
// CString strQuery = _T("SELECT * FROM Table1"); //Works just fine...
CString strQuery = _T("INSERT INTO Table1 VALUES ('3', 'Olga')"); //Doesn't work
m_pRS->Open(dbOpenDynaset, strQuery);
} catch (CDaoException* e) {
AfxMessageBox(e->m_pErrorInfo->m_strDescription);
e->Delete();
}

Can you tell me how to do it?
GeneralCAsyncSocket problem Pin
Kazz7-Feb-03 23:08
Kazz7-Feb-03 23:08 
GeneralRe: CAsyncSocket problem Pin
Michael Dunn8-Feb-03 7:32
sitebuilderMichael Dunn8-Feb-03 7:32 
Generalhelp: odbc error:field data truncated during data fetch Pin
trustno17-Feb-03 21:23
trustno17-Feb-03 21:23 
Generalvc sdk Pin
Ashwin C7-Feb-03 21:10
Ashwin C7-Feb-03 21:10 
GeneralRe: vc sdk Pin
Philip Patrick7-Feb-03 21:53
professionalPhilip Patrick7-Feb-03 21:53 
Questionhow to get size of any control Pin
TSrinivasR7-Feb-03 20:44
TSrinivasR7-Feb-03 20:44 
GeneralVery Urgent-Downloading files from internet Pin
vcarivu7-Feb-03 20:41
vcarivu7-Feb-03 20:41 
GeneralRe: Very Urgent-Downloading files from internet Pin
Ted Ferenc7-Feb-03 21:47
Ted Ferenc7-Feb-03 21:47 
GeneralRe: Very Urgent-Downloading files from internet Pin
Michael Dunn8-Feb-03 7:33
sitebuilderMichael Dunn8-Feb-03 7:33 
GeneralKill Process Pin
suresh_sathya7-Feb-03 20:22
suresh_sathya7-Feb-03 20:22 
GeneralRe: Kill Process Pin
includeh108-Feb-03 1:31
includeh108-Feb-03 1:31 
GeneralExe optimization Pin
suresh_sathya7-Feb-03 20:22
suresh_sathya7-Feb-03 20:22 
GeneralRe: Exe optimization Pin
Mike Nordell8-Feb-03 7:09
Mike Nordell8-Feb-03 7:09 
GeneralUpgrading DLL at Booting time-VERY URGENT Pin
vcarivu7-Feb-03 19:30
vcarivu7-Feb-03 19:30 
GeneralRe: Upgrading DLL at Booting time-VERY URGENT Pin
Ted Ferenc7-Feb-03 21:44
Ted Ferenc7-Feb-03 21:44 
GeneralVoice Recording Pin
Chintan7-Feb-03 18:50
Chintan7-Feb-03 18:50 
GeneralRe: Voice Recording Pin
TSrinivasR7-Feb-03 20:47
TSrinivasR7-Feb-03 20: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.