|
use
CString::LoadString(IDS_MY_STRING); for instance, or
CString::Format(IDS_MY_STRING, _T("optional parameter if required"), 3);
|
|
|
|
|
But in my method...ie where declred my message box, there is no class...
but in Tools.cpp there is one function called..GetString but first of all i have to load.
shah satish
|
|
|
|
|
first of all, i'll ask you to make an effort because i don't really understand your english. i only guess what you're trying to do.
as i already explicited the methods to use, here is an illustration :
CString strMessage, strTitle;
strTitle.LoadString(IDS_ERROR_MESSAGE);
strMessage.Format(IDS_NO_SELECTED_TEXT, pmy);
Messagebox(NULL, strMessage, strTitle, MB_OK); with the following asserts :
IDS_NO_SELECTED_TEXT : "There is no selected text %s in my section"
change the %s consequently if your parameter is not a string
IDS_ERROR_MESSAGE : "Error message"
|
|
|
|
|
Hello sir,
Sorry for my English language...but this is the exactly what i want to do..
Thank you very much for your help..
Shah
|
|
|
|
|
Hi All,
I don't understand when i need\can use the function select in TCP\IP develop
( winsock use) i understand how to use it - but when to do it i don't know.
If there is some example - i will happy to have the link.
Thanks for any help.
|
|
|
|
|
AFAIK you need the select "to pump" the TCP/IP traffic. So you got to call select in a timed loop. You should do the winsock stuff in a separate thread.
Thats the most I know about this.
Greetings from Germany
|
|
|
|
|
I need to distinguish between the windows shutdown and restart commands given by the user ,using VC++ code. Can anyone help me with that? To identify which event is taking place.
Thanks for ur help and time !!!
|
|
|
|
|
I think the WM_ENDSESSION message will help you. Another interesting WM ist WM_POWERBROADCAST for power events.
Greetings from Germany
|
|
|
|
|
sir,
we are not able to access part-ii and part-iii.
we didt get any link to access above mentioned.
please suggests to do the necessary
Geetha.P
|
|
|
|
|
WTF are you talking about ?
|
|
|
|
|
p.geetha wrote: we are not able to access part-ii and part-iii.
What about part-i?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
DavidCrow wrote: What about part-i
part-i has been deprecated. Users developing new applications should use part-ii and part-iii
Mark
|
|
|
|
|
Hi all,
I am working with backup application and i am new with this.I have little bit idea about storage domain.
now I have to implement differential and increamental backup policies.
that is why i want to study with that.
can any body provide me links for these algorithm document.
Thanks & Regards
Bankey khandelwal
|
|
|
|
|
The "standard" way when you do a full backup is to clear (reset) the Archive flag for every file backed up.
Then, when you do an incremental backup, you just backup the files who has got its Archive flag set (because those files has changed since the archive flag was cleared by the last backup).
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
thanks for quick reply,
is there any application which is allready implemented these policies.
so i can implement these policies with the help of this application.
Thanks & Rgards
Bankey Khandelwal.
|
|
|
|
|
As far as I know: All of the existing backup programs!
Backup policies is the reason for the sheer existance of the Archive flag.
The OS always sets the archive flag when writing to a file (of any kind).
The reason for that is to signal that the file is altered/created and in need of a backup, incremental or not.
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
I am trying to create text using OpenGL in a VC++ project, but i am not able to do it.I created text using device context,but it is not relevant.So if anybody can provide me some important link or code for that,please forward it as soon as possible.
My ID: pankaj_theangel@yahoo.com
|
|
|
|
|
|
what is wrong ? what is wrong with my code ? is not working !! Please help me !!!!!
pBun->Edit();
sTemp = m_list.GetItemText(i,21);
sTemp.TrimLeft();
sTemp.TrimRight();
pBun->m_rcd12 = sTemp;
pBun->Update();
pBun->Move(AFX_MOVE_REFRESH);
m_log2.SetWindowText(pBun->m_rcd12);
pBun->Close();
delete pBun;
is not working !!!!please help me , all i whant is to edit a field in my column->table!!!!!
Bravoone
|
|
|
|
|
What does 'not working' mean ? This is full of MFC calls, without knowing what the objects are, it's very hard to comment. Even harder when we don't know what's going wrong.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
CDatabase_Mydatabase *pBun = new CDatabase_Mydatabase;
CRecordset !!!!
its call from my CDialog !
where i have 1 CEdit and 1 CListCtrl ;
Bravoone
|
|
|
|
|
Why this:
pBun->Move(AFX_MOVE_REFRESH);
Have you stepped through in debugger?
Is sTemp valid before copying it to the field variable?
Any exceptions thrown from database classes?
Is the recordset cursor on a valid record when you call Edit()?
What is happening or not happening that makes you think it's not working?
|
|
|
|
|
yes is on Cur record but no changes on record field after i finish!
lets say forget about pBun->Move...
its still not working no exceptions , no errors,nothing but my records are the same !
Bravoone
|
|
|
|
|
i have an error from my database :
SQL statement too long ! what is that ?
Bravoone
|
|
|
|
|
There is nobody who can help me , please !!!!!!!!!!!
Bravoone
|
|
|
|