|
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
|
|
|
|
|
So have you tried CString::Replace() ?"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
|
|
|
|
|
Sorry, I meant I need to replace any type of HTML encoding I might encounter - ", &, etc., according to whatever the html specification is. I'd rather not make my own buggy/incomplete implementation. String substitution is not the problem here, lol There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
sashoalm wrote: Sorry, I meant I need to replace any type of HTML encoding I might encounter - ", &, etc., according to whatever the html specification is. I'd rather not make my own buggy/incomplete implementation. String substitution is not the problem here, lol
Do you know in advance it would be buggy? lol If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
I tried doing it for %20 and the likes in URLs, until I found about UrlUnescape by asking in codeproject. There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
sashoalm wrote: Sorry, I meant I need to replace any type of HTML encoding I might encounter - ", &, etc., according to whatever the html specification is.
See here."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 was trying to find something that's equivalent to this library function for .NET called HttpUtility.HtmlDecode[^].
Or this PHP function htmlspecialchars[^]
Those functions are available as part of the framework in PHP and .NET is something like it available in MFC?
I just want to make sure I don't go reinventing the wheel before asking at codeproject if there's a function in MFC that does what I need.There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|