|
Thank you. That was it. Pretty silly of me to miss.
Thanks heaps
|
|
|
|
|
Hello guys,
I have next problem : I am working in Visual Studio.Net 2003 and want to create a class CMyRecordset derived from CRecordset , but when I click Project->AddClass->MFC Class and want to choose CRecordset as a base class of my class , I can not find the CRecordset among the listed MFC classes.
In Visual Studio 6.0 I did it easily , after choosing CRecordset as a base class the I chose the fields I needed and Tables.I want to do the same here.
What am I doing wrong???
Can anyone help?
thanks
"Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill
-- modified at 5:17 Saturday 22nd October, 2005
|
|
|
|
|
Giorgi Moniava wrote: Project->AddClass->MFC Class
Hi
you most use Project->AddClass->MFC ODBC Consumer insted of Project->AddClass->MFC Class
regards,
Iman Ghasrfakhri
|
|
|
|
|
thanks
"Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill
|
|
|
|
|
hello,
Can somebody please tell how to send email in C++ using smtp. I wan't to make a function of this form.
bool SendMail(string strFrom,string str strTo,string strMsg);
But I don't know what to do??????????
|
|
|
|
|
|
You can also try blat[^].
The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison
Awasu 2.1.3 [^]: A free RSS reader with support for Code Project.
|
|
|
|
|
|
My program has an editbox for input an integer from 1 to 100.
I used:
DDV_MinMaxInt(pDX, m_Number, 1, 100);
When i input 101 into this editbox, it show a error message of windown: "Please input the integer from 1 to 100".
If i run my program in Windown Japanese, this error message must by Japanese. But my program show a error message by English when i run it in Windown Japanese.
I don't understand. Please help me this problem.
|
|
|
|
|
Is your editbox common control?
Set dialog's language property to japanese that dialog has the
editbox.
|
|
|
|
|
Thank for your reply:
>Is your editbox common control?
Yes, it's.
>Set dialog's language property to japanese that dialog has the editbox.
I seted dialog's language property to Japanese. But it still show message by English.
Is there any function to set again language?
|
|
|
|
|
if you are static linking MFC, try changing it to use shared MFC DLL
(in project settings)
|
|
|
|
|
I changed it to use shared MFC DLL. But i get some error:
error LNK2001: unresolved external symbol ___argc
error LNK2001: unresolved external symbol ___argv
error LNK2001: unresolved external symbol __mbctype
error LNK2001: unresolved external symbol __mbctype
error LNK2019: unresolved external symbol __mbctype referenced in function "void __stdcall _AfxAbbreviateName(char *,int,int)" (?_AfxAbbreviateName@@YGXPADHH@Z)
fatal error LNK1120: 3 unresolved externals
|
|
|
|
|
I'm sorry, I can't think of what is causing these errors
if this is part of a large project, I suggest you first try what you want to do with a simpler project containing only a single edit box, with range limiting
I suppose you are building on an english OS and then copying the binary to a japanese OS. the problem may be that you are statically linking the library that produces the message, so changing to the shared DLL should make the program use the library installed on the OS (you obviously need to install MFC on the target machine)
hope this helps...
I'm unable to reproduce your problem since I've only got one OS (japanese)
|
|
|
|
|
|
and...
Set >Main< Dialog's language property to janpanese.
else, remake dialog. It may be that bug.
^^;
|
|
|
|
|
use UpdateData() at the last after you programatically check ,if its not in the range provide your on messagebox which takes string from the japanese Resource by this way you can generealize your application.
Hope this solves your problem
Regards
Farpointer
-- modified at 11:29 Saturday 22nd October, 2005
|
|
|
|
|
How to create new thread in VC??
Hung
|
|
|
|
|
If using MFC, AfxCreateThread()
If using just CRT, _beginthreadex()
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
|
How to show Balloon tips!(not tooptip)
We can see this when connected ext storage drives.
Do not VS6.0(with Platform SERVER 2003 feb SDK) support?
-- example --
m_nidIconData.cbSize=sizeof(NOTIFYICONDATA);
m_nidIconData.uFlags = NIF_INFO;
m_nidIconData.uTimeout = uTimeout;
m_nidIconData.dwInfoFlags = dwInfoFlags;
strcpy(m_nidIconData.szInfo, szMsg ? szMsg : _T(""));
strcpy(m_nidIconData.szInfoTitle, szTitle ? szTitle : _T(""));
Shell_NotifyIcon( NIM_MODIFY, &m_nidIconData );
-- error result --
'NIF_INFO' : undeclared identifier
Answer plz~ ^^
|
|
|
|
|
I think it's NIF_MESSAGE instead of NIF_INFO
SkyWalker
|
|
|
|
|
|
ch2ho wrote: -- error result --
'NIF_INFO' : undeclared identifier
Check make sure that VS6 is using the Platform SDK includes.
DEBUGGING : Removing the needles from the haystack.
|
|
|
|
|
I wrote "with Platform SERVER 2003 feb SDK" in prepost.
I had checked.
Anyway, thank you~.
|
|
|
|