Click here to Skip to main content
15,904,023 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Open image from file and display it Pin
DaFrawg2-Jan-04 4:33
DaFrawg2-Jan-04 4:33 
Generalfirewall project Pin
gildan20201-Jan-04 2:23
gildan20201-Jan-04 2:23 
GeneralRe: firewall project Pin
valikac1-Jan-04 5:44
valikac1-Jan-04 5:44 
GeneralRe: firewall project Pin
gildan20201-Jan-04 6:12
gildan20201-Jan-04 6:12 
GeneralRe: firewall project Pin
Hauptman(n)1-Jan-04 6:14
Hauptman(n)1-Jan-04 6:14 
GeneralRe: firewall project Pin
gildan20201-Jan-04 6:50
gildan20201-Jan-04 6:50 
GeneralRe: firewall project Pin
Hauptman(n)1-Jan-04 7:53
Hauptman(n)1-Jan-04 7:53 
GeneralMigrating processes Pin
zichun31-Dec-03 23:21
zichun31-Dec-03 23:21 
GeneralRe: Migrating processes Pin
alex.barylski1-Jan-04 13:56
alex.barylski1-Jan-04 13:56 
GeneralSpying on a file Pin
Mazdak31-Dec-03 22:43
Mazdak31-Dec-03 22:43 
QuestionHow to get the "Internet Explorer_TridentCmboBx" element handler Pin
TAUHIDUL ISLAM31-Dec-03 20:21
TAUHIDUL ISLAM31-Dec-03 20:21 
GeneralVC++ 6.0 and XP Pin
pranavamhari31-Dec-03 20:17
pranavamhari31-Dec-03 20:17 
GeneralRe: VC++ 6.0 and XP Pin
Michael Dunn31-Dec-03 20:20
sitebuilderMichael Dunn31-Dec-03 20:20 
GeneralRe: VC++ 6.0 and XP Pin
pranavamhari31-Dec-03 20:44
pranavamhari31-Dec-03 20:44 
GeneralFrom MTA to STA Pin
Prakash Nadar31-Dec-03 18:40
Prakash Nadar31-Dec-03 18:40 
GeneralRe: From MTA to STA Pin
Michael Dunn31-Dec-03 20:19
sitebuilderMichael Dunn31-Dec-03 20:19 
GeneralRe: From MTA to STA Pin
Prakash Nadar1-Jan-04 16:07
Prakash Nadar1-Jan-04 16:07 
GeneralA Doubt Pin
Rane31-Dec-03 16:05
Rane31-Dec-03 16:05 
GeneralRe: A Doubt Pin
Prakash Nadar31-Dec-03 18:35
Prakash Nadar31-Dec-03 18:35 
GeneralRe: A Doubt Pin
Michael Dunn31-Dec-03 19:48
sitebuilderMichael Dunn31-Dec-03 19:48 
Generalproblem with ListCtrl display Pin
Angel Kid31-Dec-03 15:14
Angel Kid31-Dec-03 15:14 
Hi guys,I have a question
I used Access2000 to build a database,there is a Field named “Price”,it's type is money.
In VC++ ,I used ADO to access this database.
I wanna display the value of this field in my listctrl,the code as follow:

_variant_t Holder;<br />
CString str;<br />
       	<br />
Holder = theApp.m_pADOSet->GetCollect("Price");<br />
	    <br />
if ( VT_NULL==Holder.vt ) str="N/A";<br />
		<br />
else str.Format("%.2f", Holder.dblVal);<br />
        <br />
m_ListCtrl.SetItemText(i, 7, str);<br />

listctrl display 0.00 in this field.but in my table,it's value is 3.00,could anyone tell me what I can do? thanks

===============
YES, I am here.
===============
GeneralRe: problem with ListCtrl display Pin
Michael Dunn31-Dec-03 19:50
sitebuilderMichael Dunn31-Dec-03 19:50 
Generalgoing to post antialiasing article Pin
Roman Nurik31-Dec-03 12:56
Roman Nurik31-Dec-03 12:56 
Generalmenu bar Pin
brian scott31-Dec-03 12:21
brian scott31-Dec-03 12:21 
GeneralUsing SetFont() on a button control Pin
shultas31-Dec-03 11:32
shultas31-Dec-03 11:32 

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.