Click here to Skip to main content
15,896,201 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: drawing a tic tac toe grid MFC Pin
Christian Graus1-Mar-05 12:06
protectorChristian Graus1-Mar-05 12:06 
Generalms word 2000 Pin
rjnl1-Mar-05 8:18
rjnl1-Mar-05 8:18 
GeneralRe: ms word 2000 Pin
rjnl1-Mar-05 15:37
rjnl1-Mar-05 15:37 
GeneralI need to append to this string Pin
Tom Wright1-Mar-05 8:07
Tom Wright1-Mar-05 8:07 
GeneralRe: I need to append to this string Pin
peterchen1-Mar-05 8:57
peterchen1-Mar-05 8:57 
GeneralRe: I need to append to this string Pin
Tom Wright1-Mar-05 11:10
Tom Wright1-Mar-05 11:10 
GeneralRe: I need to append to this string Pin
peterchen1-Mar-05 11:37
peterchen1-Mar-05 11:37 
GeneralRe: I need to append to this string Pin
Tom Wright1-Mar-05 12:07
Tom Wright1-Mar-05 12:07 
the column is a text. I read it like this:
<br />
	try<br />
	{<br />
		pCommand.CreateInstance(__uuidof(Command));<br />
		pCommand->ActiveConnection = m_pConnection;<br />
		pCommand->CommandText = _bstr_t("SELECT TOP 1 MDC1_DATA_TEXT FROM MDC1 WHERE (MDC1_I_O = 'O')");<br />
		pRecordset.CreateInstance(__uuidof(Recordset));<br />
		pRecordset->CursorLocation = adUseClient;<br />
		pRecordset->Open((IDispatch*) pCommand, <br />
			vtMissing,<br />
			adOpenStatic,<br />
			adLockBatchOptimistic,<br />
			adCmdUnknown);<br />
		_variant_t MDC1_DATA_TEXT;<br />
<br />
		while (!pRecordset->adoEOF)<br />
		{<br />
			CString mySQLData = (char*)(_bstr_t)pRecordset->Fields->GetItem("MDC1_DATA_TEXT")->Value;<br />



Tom Wright
tawright915@yahoo.com
GeneralRe: I need to append to this string Pin
peterchen1-Mar-05 18:37
peterchen1-Mar-05 18:37 
GeneralRe: I need to append to this string Pin
Tom Wright1-Mar-05 12:08
Tom Wright1-Mar-05 12:08 
GeneralCustom icon for an app Pin
Alton Williams1-Mar-05 7:07
Alton Williams1-Mar-05 7:07 
GeneralRe: Custom icon for an app Pin
Blake Miller1-Mar-05 7:19
Blake Miller1-Mar-05 7:19 
GeneralRe: Custom icon for an app Pin
Alton Williams1-Mar-05 7:31
Alton Williams1-Mar-05 7:31 
GeneralRe: Custom icon for an app Pin
Michael Dunn1-Mar-05 7:36
sitebuilderMichael Dunn1-Mar-05 7:36 
GeneralRe: Custom icon for an app Pin
David Crow1-Mar-05 9:07
David Crow1-Mar-05 9:07 
QuestionSetting checkbox state in OnInitDialog? Pin
1-Mar-05 6:59
suss1-Mar-05 6:59 
AnswerRe: Setting checkbox state in OnInitDialog? Pin
Blake Miller1-Mar-05 7:23
Blake Miller1-Mar-05 7:23 
GeneralRe: Setting checkbox state in OnInitDialog? Pin
Member 16972731-Mar-05 7:33
Member 16972731-Mar-05 7:33 
GeneralRe: Setting checkbox state in OnInitDialog? Pin
Blake Miller1-Mar-05 7:41
Blake Miller1-Mar-05 7:41 
AnswerRe: Setting checkbox state in OnInitDialog? Pin
Ravi Bhavnani1-Mar-05 7:27
professionalRavi Bhavnani1-Mar-05 7:27 
GeneralRe: Setting checkbox state in OnInitDialog? Pin
Member 16972731-Mar-05 7:58
Member 16972731-Mar-05 7:58 
AnswerRe: Setting checkbox state in OnInitDialog? Pin
Alton Williams1-Mar-05 7:27
Alton Williams1-Mar-05 7:27 
GeneralRe: Setting checkbox state in OnInitDialog? Pin
Member 16972731-Mar-05 7:58
Member 16972731-Mar-05 7:58 
GeneralRe: Setting checkbox state in OnInitDialog? Pin
David Crow1-Mar-05 9:05
David Crow1-Mar-05 9:05 
QuestionWhat format is this file in and how to open it in C++ Pin
Member 121962521-Mar-05 6:58
Member 121962521-Mar-05 6:58 

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.