Click here to Skip to main content
16,016,022 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Command Button - Color Pin
Nibu babu thomas31-Oct-06 20:31
Nibu babu thomas31-Oct-06 20:31 
AnswerRe: Command Button - Color Pin
Hamid_RT31-Oct-06 19:57
Hamid_RT31-Oct-06 19:57 
AnswerRe: Command Button - Color Pin
codesen31-Oct-06 23:14
codesen31-Oct-06 23:14 
GeneralRe: Command Button - Color Pin
Nibu babu thomas1-Nov-06 0:53
Nibu babu thomas1-Nov-06 0:53 
GeneralRe: Command Button - Color Pin
codesen2-Nov-06 22:26
codesen2-Nov-06 22:26 
QuestionShared Memory Creation ? Pin
Sakthiu31-Oct-06 18:22
Sakthiu31-Oct-06 18:22 
AnswerRe: Shared Memory Creation ? Pin
NiceNaidu31-Oct-06 19:20
NiceNaidu31-Oct-06 19:20 
Questioninserting reord in databse Pin
With_problem31-Oct-06 18:20
With_problem31-Oct-06 18:20 
I have used new ATL object to do OLE DB connection,bywhich i got table.h header file,and now i want to insert data in msaccess table by using following code...can anybody help me to solve my problem can you just tell me one thing first whether this way of using to insert data is correct or not...
and what changes should i make it here to correct it


.
//BOOL m_bInserting; // addedd for database
m_TQuote.Open(); // addedd for database
m_bInserting = FALSE; // addedd for datbase
DoModal();
//GetDlgItemText(IDC_EDIT1 ,m_MainEdit);

GetDlgItemText(IDC_EDIT1,m_TQuote.m_DateTimeStamp);
GetDlgItemText(IDC_EDIT1,m_TQuote.m_MarketNo);
GetDlgItemText(IDC_EDIT1,m_TQuote.m_Bid);
GetDlgItemText(IDC_EDIT1,m_TQuote.m_MarketName);
GetDlgItemText(IDC_EDIT1,m_TQuote.m_Ask);
GetDlgItemText(IDC_EDIT1,m_TQuote.m_MarketState);

HRESULT hr = 0;
if (m_bInserting)
{
hr = m_Set.Insert(); // add new row
}
else
{
hr = m_Set.SetData(); //update row
}
m_bInserting = FALSE;


AnswerRe: inserting reord in databse Pin
Hamid_RT31-Oct-06 18:38
Hamid_RT31-Oct-06 18:38 
GeneralRe: inserting reord in databse Pin
With_problem31-Oct-06 19:07
With_problem31-Oct-06 19:07 
GeneralRe: inserting reord in databse Pin
Hamid_RT31-Oct-06 20:18
Hamid_RT31-Oct-06 20:18 
QuestionRe: inserting reord in databse Pin
David Crow1-Nov-06 4:04
David Crow1-Nov-06 4:04 
AnswerRe: inserting reord in databse Pin
With_problem1-Nov-06 15:08
With_problem1-Nov-06 15:08 
QuestionRe: inserting reord in databse Pin
David Crow2-Nov-06 3:07
David Crow2-Nov-06 3:07 
QuestionArray vs Array Pin
Oliver12331-Oct-06 18:01
Oliver12331-Oct-06 18:01 
AnswerRe: Array vs Array Pin
Michael Dunn31-Oct-06 20:48
sitebuilderMichael Dunn31-Oct-06 20:48 
GeneralRe: Array vs Array Pin
Oliver1231-Nov-06 11:24
Oliver1231-Nov-06 11:24 
QuestionAnimation showing Dialog....... Pin
Anamika200531-Oct-06 17:20
Anamika200531-Oct-06 17:20 
AnswerRe: Animation showing Dialog....... Pin
Mark Salsbery31-Oct-06 17:45
Mark Salsbery31-Oct-06 17:45 
GeneralRe: Animation showing Dialog....... Pin
Anamika200531-Oct-06 18:09
Anamika200531-Oct-06 18:09 
AnswerRe: Animation showing Dialog....... Pin
Hamid_RT31-Oct-06 18:14
Hamid_RT31-Oct-06 18:14 
GeneralRe: Animation showing Dialog....... Pin
Anamika200531-Oct-06 18:21
Anamika200531-Oct-06 18:21 
GeneralRe: Animation showing Dialog....... Pin
Hamid_RT31-Oct-06 18:39
Hamid_RT31-Oct-06 18:39 
Questionerror C2664: 'strcpy' : cannot convert parameter 1 from 'long' to 'char *' Pin
With_problem31-Oct-06 16:26
With_problem31-Oct-06 16:26 
AnswerRe: error C2664: 'strcpy' : cannot convert parameter 1 from 'long' to 'char *' Pin
Nibu babu thomas31-Oct-06 16:34
Nibu babu thomas31-Oct-06 16:34 

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.