|
For MFC SDI and MDI applications it is usually IDR_MAINFRAME .
You can check this from Resource View (View -> Other Windows -> Resource View ).
|
|
|
|
|
Hi all,
i want to use list ctrl with radio buttons.
please can give me any idea about this.
thanks in advance.
|
|
|
|
|
|
I used WMI to get the information of all physical and logical drive information of the system. It works fine with windows XP. But WMI fails to in Windows Vista and Windows 7.
I think because of Securities issues? If yes then how can I bypass these?
|
|
|
|
|
WMI needs administrative privileges even for XP.
You can always run you're application requiring elevated privileges in Vista onwards.
|
|
|
|
|
yes you are correct.
Windows Vista and 7 have additional security features,
please try CoInitializeSecurity() with following params.
CoInitializeSecurity(
NULL,-1,NULL,NULL,RPC_C_AUTHN_LEVEL_PKT ,RPC_C_IMP_LEVEL_IDENTIFY,
NULL,EOAC_NONE,NULL);
|
|
|
|
|
Hi,
Is there anyway to get the system RAM size?
|
|
|
|
|
|
|
|
All the neural networks I've worked with produce continuous outputs from either 0 to 1 or -1 to 1. To make it discrete, it's compared to a threshold. If you want the continuous output, don't threshold it. You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
Any free/shareware libraries out there that handle multicast related sceanrios such as out of order and dropped message processing?
|
|
|
|
|
Alan Kurlansky wrote: Any free/shareware libraries out there
Your first port of call should be Google for such a question.txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
Google was my first port of call, but as yet haven't found anything that addresses the issues/scenarios I mentioned.
|
|
|
|
|
Hi
How can I open a password protected (encrypted) access Database with CDatabase Object.
|
|
|
|
|
I assume the problem is with the password you don't have and not with actually opening the CDatabase Object ?
Watched code never compiles.
|
|
|
|
|
I mean what connection string should I use?
for example for opening a ordinary access file I Use
CDatabase m_db;
m_db.Open(NULL,false,false,L"ODBC;DRIVER={MICROSOFT ACCESS DRIVER (*.mdb)};DSN='';DBQ=C:\\a.mdb");
so if my "a.mdb" file is password protected and the password is "123" what should i do?
|
|
|
|
|
Amir_m wrote: so if my "a.mdb" file is password protected and the password is "123" what should i do?
Have you tried:
m_db.Open(NULL,false,false,L"ODBC;DRIVER={MICROSOFT ACCESS DRIVER (*.mdb)};DSN='';DBQ=C:\\a.mdb;Pwd=123"); "One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
|
Hi Alls,
I have Set the 96DPI . But problem is that this is showing that my Dpi is 96. but the Screen has no any effect. but if i restart the system . All the requirement has fullfill. but i dont want to restart my Computer. so Please help me. how can i acheive my prob. I am also giving my Code . please modify my code and send me as soon as possible.
CRegKey key;
CString strKeyName = "SYSTEM\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts";
if(key.Open(HKEY_LOCAL_MACHINE,strKeyName) ==ERROR_SUCCESS)
{
if(key.SetValue(96L,"LogPixels") != ERROR_SUCCESS)
{
}
This is my code. please give me solution that how can i fix my problem. main problem is that i donot want to restart my computer. so please edit my code and send me as soon as possible.
Thanks
Prabhat
|
|
|
|
|
I don't think this is possible. If you change the DPI through the Control Panel/Display applet, it pops up the message, "Any font changes resulting from a new DPI setting will take effect after the fonts are installed and Windows is restarted.""One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
David's answer is correct. Windows requires a restart whenever you change the DPI setting.
Being bitchy and voting his post a 2 just because you don't like the answer is ill-mannered.
|
|
|
|
|
I have a string like this one:
"Album Release Party"
But I want to change the " escapes to the normal symbol:
"Album Release Party"
I tried with UrlUnescape but it didn't work. Can someone suggest another function?There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
Are you using MFC, C, or C++?
sashoalm wrote:
I tried with UrlUnescape but it didn't work.
Most likely because what you have is not a URL with escape sequences."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius
|
|
|
|
|
I'm using MFC. There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|