Click here to Skip to main content
15,921,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProblem in Detecting System Idle time Pin
Prateeti2-Aug-02 19:38
Prateeti2-Aug-02 19:38 
QuestionPlug in architecture - how to create a good one? Pin
Hiusing2-Aug-02 17:45
Hiusing2-Aug-02 17:45 
AnswerRe: Plug in architecture - how to create a good one? Pin
Chris Losinger2-Aug-02 20:12
professionalChris Losinger2-Aug-02 20:12 
GeneralCDhtmlDialog (VS.NET) Pin
Roman Nurik2-Aug-02 17:34
Roman Nurik2-Aug-02 17:34 
GeneralRe: CDhtmlDialog (VS.NET) Pin
ColinDavies2-Aug-02 21:14
ColinDavies2-Aug-02 21:14 
GeneralMDI question Pin
RK_20002-Aug-02 17:18
RK_20002-Aug-02 17:18 
GeneralRe: MDI question Pin
Pavel Klocek3-Aug-02 2:46
Pavel Klocek3-Aug-02 2:46 
QuestionSQL anyone? Pin
nss2-Aug-02 17:08
nss2-Aug-02 17:08 
I am trying to add records using INSERT INTO

pCommand->CommandText="INSERT INTO tblTest (Color, Texture) VALUES ('navy blue', 'rusty') "; 
_RecordsetPtr pRecordset; 

hr = pRecordset.CreateInstance (__uuidof (Recordset)); 

if (FAILED (hr)) 
{ 
AfxMessageBox ("Can't create an instance of Recordset"); 
return; 
} 
AfxMessageBox("LLL"); 

pRecordset->CursorLocation = adUseClient; 
pRecordset->Open ((IDispatch *) pCommand, vtMissing, adOpenDynamic, adLockBatchOptimistic, adCmdTable); 


i get an exception at the Open statement so theres something it doesnt like about the SQL i guess.
ANy ideas wil be appreciated!
Thanks,
ns
AnswerRe: SQL anyone? Pin
RK_20002-Aug-02 17:15
RK_20002-Aug-02 17:15 
GeneralRe: SQL anyone? Pin
nss2-Aug-02 18:16
nss2-Aug-02 18:16 
GeneralRe: SQL anyone? Pin
RK_20002-Aug-02 18:26
RK_20002-Aug-02 18:26 
GeneralRe: SQL anyone? Pin
nss2-Aug-02 18:25
nss2-Aug-02 18:25 
GeneralExit Problem Pin
Selevercin2-Aug-02 14:39
Selevercin2-Aug-02 14:39 
GeneralRe: Exit Problem Pin
Nish Nishant2-Aug-02 15:19
sitebuilderNish Nishant2-Aug-02 15:19 
GeneralRe: Exit Problem Pin
Selevercin2-Aug-02 16:07
Selevercin2-Aug-02 16:07 
GeneralGetAbsolutePosition Pin
ns2-Aug-02 11:55
ns2-Aug-02 11:55 
GeneralPutAbsolutePosition - got it. Thanks anyways!!! Pin
ns2-Aug-02 12:07
ns2-Aug-02 12:07 
GeneralRe: PutAbsolutePosition - acting weirdly!!Hellllllp! Pin
ns2-Aug-02 12:18
ns2-Aug-02 12:18 
GeneralAddNew() problem in Pin
ns2-Aug-02 11:46
ns2-Aug-02 11:46 
GeneralRe: AddNew() problem in Pin
ColinDavies2-Aug-02 21:38
ColinDavies2-Aug-02 21:38 
GeneralRe: AddNew() problem in Pin
ns5-Aug-02 2:14
ns5-Aug-02 2:14 
GeneralGlobal Variables Pin
Peter Liddle2-Aug-02 11:18
Peter Liddle2-Aug-02 11:18 
GeneralRe: Global Variables Pin
Anonymous2-Aug-02 11:36
Anonymous2-Aug-02 11:36 
GeneralRe: Global Variables Pin
Peter Liddle2-Aug-02 11:39
Peter Liddle2-Aug-02 11:39 
Questionrecordset doesnt support Updating ....? Pin
ns2-Aug-02 9:03
ns2-Aug-02 9:03 

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.