sorry , I made the mistake in here but right in my code. =============== YES, I am here. ===============
Angel Kid
Posts
-
include file error -
include file errorHi,guys.I have a question to ask,anyone could help? In VC++ 6 ,I build a SDI program,and add a dialog class used ClassWizard. In the dialog class CPP file,I include the file of the view.
/#include "hotel_misview.h"
then complied this project ,the complier gave me the message follow:i:\microsoft visual studio\myprojects\database\hotel_mis\hotel_misview.h(21) : error C2143: syntax error : missing ';' before '*' i:\microsoft visual studio\myprojects\database\hotel_mis\hotel_misview.h(21) : error C2501: 'CHotel_MISDoc' : missing storage-class or type specifiers i:\microsoft visual studio\myprojects\database\hotel_mis\hotel_misview.h(21) : error C2501: 'GetDocument' : missing storage-class or type specifiers
could anyone tell me why?Thanks a lot. =============== YES, I am here. =============== -
problem with ListCtrl displayHi 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; CString str; Holder = theApp.m_pADOSet->GetCollect("Price"); if ( VT_NULL==Holder.vt ) str="N/A"; else str.Format("%.2f", Holder.dblVal); m_ListCtrl.SetItemText(i, 7, str);
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. =============== -
Right Click in TreeCtrlI found in the MSDN ,but can't found the Q222905???????? YES, I am here.
-
Right Click in TreeCtrlHi, I right click in treectrl, but it seems to that I can't use CTreeCtrl::GetSelectedItem () to get my selected node,I wanna why I can't use this function as I use left click? :confused Thanks YES, I am here.
-
using ADOProvider=Microsoft.Jet.OLEDB.4.0 is for Access2000 and Provider=Microsoft.Jet.OLEDB.3.51 is for Access97 Now I want to use Access2002 may I change the Provider Version?What is it? Thanks YES, I am here.
-
how to change float to char*thank you.But it seems that must include the file stdio.h YES, I am here.
-
how to change float to char*thank you very much YES, I am here.
-
how to change float to char*HI,Guys I tried all methods I know,but it seems all the methods don't work?Could anyone help me? YES, I am here.
-
Again:Transmit files by Serial PortsThanks your reply.but I can not understand what is "Attach to the transmitted data header of a file ".what is header? YES, I am here.
-
Again:Transmit files by Serial PortsHi,guys three days ago I post my question about transmit files by Serial Ports here. "I have a question when I was writing the program about serial communication. It seems that most articles about serial communication are wrote to the characters transmission.But now I want to transmit files by serial ports,how could I do that.I mean "transmit files" is that copy files on a PC to another. Is there anyone could give me a method to do that? Thanks very much. " Now I have map the file to the memory ,and could write it to the cache of serial ports,and can read the content of the file.but my purpose is copy files form a PC to another.So......anyone could help me again? YES, I am here.
-
Comparing BOOL valuesMaybe you can write your BOOL class and overload the operator "==". YES, I am here.
-
Transmit files by Serial PortsHi,I have a question when I was writing the program about serial communication. It seems that most articles about serial communication are wrote to the characters transmission.But now I want to transmit files by serial ports,how could I do that.I mean "transmit files" is that copy files on a PC to another. Is there anyone could give me a method to do that? Thanks very much. YES, I am here.
-
How can I use ReadFile() and WriteFile ()thank you .but that is too hard to find what my want. can anyone give me a simple? YES, I am here.
-
How can I use ReadFile() and WriteFile ()I want to send an recive a CString between COM1 and COM2.How can I use the function ReadFile() and WriteFile()?Can anyone give a example code?thanks very much.;P YES, I am here.
-
how could I find my articles wrote in this fourm ?It seems that I could not find with set my name as the keyword in this fourm. YES, I am here.
-
how could I find my articles wrote in this fourm ?I wanna find my articles which I wrote in this fourm some days ago ,how could I do that?thx YES, I am here.
-
how can I respond Enter Event in a editbox?I know this solution,but that's it,I don't want to add a button.I just want to respond the Enter Key.so... YES, I am here.
-
how can I respond Enter Event in a editbox?a:((how can I respond Enter Event in a editbox? I have a editbox,and I want to make it do sth. like this: when the Enter key was press,other controls in the dialog can get the value in it,then the editbox clean up the value,nd wait the next input. how can I make this ? Anyone can give me a clear answer?Thanks. YES, I am here.
-
How can I use CListCtrl's LVS_REPORT:-O:-O YES, I am here.