Click here to Skip to main content
15,918,889 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: How to manipulate CEdit in CAxDialogImpl Pin
georgekjolly12-Nov-06 17:14
georgekjolly12-Nov-06 17:14 
QuestionHow to use two recent file lists in a SDI project Pin
jingli04178-Nov-06 21:49
jingli04178-Nov-06 21:49 
QuestionUsing Interface type from the imported TLB (Attributed COM) Pin
arun14057-Nov-06 23:57
arun14057-Nov-06 23:57 
AnswerRe: Using Interface type from the imported TLB (Attributed COM) Pin
Michael Dunn8-Nov-06 14:07
sitebuilderMichael Dunn8-Nov-06 14:07 
AnswerRe: Using Interface type from the imported TLB (Attributed COM) Pin
wangweixing20089-Nov-06 23:33
wangweixing20089-Nov-06 23:33 
QuestionLoading Icon on buttons created using TBBUTTON Pin
georgekjolly1-Nov-06 2:40
georgekjolly1-Nov-06 2:40 
AnswerRe: Loading Icon on buttons created using TBBUTTON Pin
led mike1-Nov-06 5:16
led mike1-Nov-06 5:16 
QuestionInsert data in ms access by oledb connection Pin
With_problem31-Oct-06 15:04
With_problem31-Oct-06 15:04 
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


.
<br />
	//BOOL m_bInserting;       // addedd for database<br />
	m_TQuote.Open();           // addedd  for database<br />
	m_bInserting = FALSE;      // addedd for datbase<br />
    DoModal();<br />
        	//GetDlgItemText(IDC_EDIT1 ,m_MainEdit);<br />
	<br />
        GetDlgItemText(IDC_EDIT1,m_TQuote.m_DateTimeStamp);<br />
	GetDlgItemText(IDC_EDIT1,m_TQuote.m_MarketNo);<br />
	GetDlgItemText(IDC_EDIT1,m_TQuote.m_Bid);<br />
	GetDlgItemText(IDC_EDIT1,m_TQuote.m_MarketName);<br />
	GetDlgItemText(IDC_EDIT1,m_TQuote.m_Ask);<br />
	GetDlgItemText(IDC_EDIT1,m_TQuote.m_MarketState);<br />
	<br />
	HRESULT hr = 0;<br />
		if (m_bInserting)<br />
	{<br />
		hr = m_Set.Insert();   // add new row<br />
	}<br />
	else<br />
	{<br />
		hr = m_Set.SetData();  //update row<br />
	}<br />
	m_bInserting = FALSE;<br />
		<br />

QuestionHow to provide tooltip for toolbar on ATL control? Pin
Amar Sutar31-Oct-06 2:04
Amar Sutar31-Oct-06 2:04 
Questionregistering a plugin Pin
saqib8230-Oct-06 1:57
saqib8230-Oct-06 1:57 
AnswerRe: registering a plugin Pin
dharani7-Nov-06 21:57
dharani7-Nov-06 21:57 
GeneralRe: registering a plugin Pin
saqib827-Nov-06 22:24
saqib827-Nov-06 22:24 
QuestionCoCreateInstance problem Pin
hybride27-Oct-06 1:05
hybride27-Oct-06 1:05 
AnswerRe: CoCreateInstance problem [modified] Pin
Jonathan [Darka]27-Oct-06 4:40
professionalJonathan [Darka]27-Oct-06 4:40 
QuestionMemory of the COM objects get allocated? Pin
Killer326-Oct-06 19:19
Killer326-Oct-06 19:19 
AnswerRe: Memory of the COM objects get allocated? Pin
Gupta Suraj14-Nov-06 8:19
Gupta Suraj14-Nov-06 8:19 
QuestionHow to mashal IElementBehaviorFactory interface? Pin
jinhaibo26-Oct-06 0:02
jinhaibo26-Oct-06 0:02 
Questionhelp in coding for database Pin
With_problem24-Oct-06 17:45
With_problem24-Oct-06 17:45 
AnswerRe: help in coding for database Pin
led mike25-Oct-06 12:30
led mike25-Oct-06 12:30 
QuestionConversion to and from TCHAR* Pin
rana7423-Oct-06 20:19
rana7423-Oct-06 20:19 
AnswerRe: Conversion to and from TCHAR* Pin
Michael Dunn23-Oct-06 20:53
sitebuilderMichael Dunn23-Oct-06 20:53 
AnswerRe: Conversion to and from TCHAR* Pin
lafleon17-Nov-06 13:35
lafleon17-Nov-06 13:35 
QuestionCan I derive from an ATL ActiveX control? Pin
markjmalin23-Oct-06 6:44
markjmalin23-Oct-06 6:44 
AnswerRe: Can I derive from an ATL ActiveX control? Pin
led mike25-Oct-06 13:24
led mike25-Oct-06 13:24 
GeneralRe: Can I derive from an ATL ActiveX control? Pin
markjmalin26-Oct-06 3:15
markjmalin26-Oct-06 3:15 

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.