Hi Lucidation, I think, u are now in the wrong place.:confused:
BIJU Manjeri
Posts
-
Display current time as Label control text -
Data encryptionFor encrypting that much data (1-2 MB) you must use any symmetric algorithms like RC2, RC4, or Data Encryption Standard (DES)
-
How to remove default icon in caption of MessageBoxhi am, I tested the code MessageBox(L"Please start application ",L"Test",MB_OK |MB_TOPMOST|MB_APPLMODAL); on windows 7. Its working fine for me. If the above code is also not working for you, then create your own message box, by specifyng the Window Styles in CreateWindow() :)
-
How to remove default icon in caption of MessageBoxyes Mohan, your code seems working.. :)
-
How to remove default icon in caption of MessageBoxPlease try this.. MessageBox(L"Please start application ",L"Test",MB_OK |MB_APPLMODAL); :)
-
UAC and restarting an external service in my MFC appFor that, you must set UAC options for your projects. linker option in the Visual Studio development environment must be changed. ->Open the project's Property Pages dialog box. ->Expand the Configuration Properties node. ->Expand the Linker node. ->Select the Manifest File property page. Modify the 1.Enable User Account Control (UAC)-Yes 2.UAC Execution Level-highestAvailable 3.UAC Bypass UI Protection properties-Yes BIJU
-
char array prblmWhich type of string you mean.? CString or std::string? for CString--- CString strPath(szPathName); for std::string-- const char* szPathName; std::string strPath; ... szPathName = "c:\\Test"; strPath = szPathName;
-
how to use a html file in a mfc application?For a Dialog Based Application, you can use the WebBrowser Control ActiveX. http://msdn.microsoft.com/en-us/library/aa752046(VS.85).aspx[^] BIJU
-
public/private key pair and digital certificatethe public/private keys can be generated by using the function CryptGenKey http://msdn.microsoft.com/en-us/library/aa379941(VS.85).aspx[^] MSDN provide a lot of examples for the SECURITY section. For a better results from others, please explain your problem clearly, I mean, code snippet etc.. BIJU
-
Repainting of dialog box takes time.it depends on the actions performed by each controls or the size of the bitmap etc. Please check that also. Your system spec also have considerable role.. :)
-
CDAtataBase ExamplePlease go through this link.. before that, you must download and install the mysql-connector-odbc-5.1.5-win32.msi (MY SQL Driver) http://vctipsplusplus.wordpress.com/2010/02/23/odbc-and-visual-c/[^]
-
converting .ico file to .png filePlease go through this http://msdn.microsoft.com/en-us/library/ms533837(VS.85).aspx[^]
-
Dynamic created button Resizing [modified]Instead of that, you can try this one.. CWnd* m_pWndButton = new CWnd; m_pWndButton ->Create(_T("BUTTON"), _T("Click Me"), WS_CHILD | WS_VISIBLE, CRect(0, 0, 20, 20), this, 0);
-
System Driveyes 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);
-
RAMBy using WMI, you can query the Physical Memory Size please have a look at Win32_ComputerSystem ->TotalPhysicalMemory http://msdn.microsoft.com/en-us/library/aa394102(VS.85).aspx[^] OR Win32_OperatingSystem ->TotalVisibleMemorySize http://msdn.microsoft.com/en-us/library/aa394239(VS.85).aspx[^] TotalVisibleMemorySize
-
DLL and .ExeCOM servers come in two basic varieties: in-process and out-of-process. In-process servers (often referred to as in-proc servers) are DLLs. They're called in-procs because in the Win32 environment, a DLL loads and runs in the same address space as its client. EXEs, in contrast, run in separate address spaces that are physically isolated from one another. In most cases, calls to in-proc objects are very fast because they're little more than calls to other addresses in memory. Calling a method on an in-proc object is much like calling a subroutine in your own application. Out-of-process servers (also known as out-of-proc servers) come in EXEs. One advantage to packaging COM objects in EXEs is that clients and objects running in two different processes are protected from one another if one crashes. The disadvantage is speed. Calls to objects in other processes are roughly 1,000 times slower than calls to in-proc objects because of the overhead incurred when a method call crosses process boundaries. Please refer Programming Windows with MFC by Jeff Prosise ->COM
-
By default run an exe in run as admin mode using MFCYou can change that by using Projects Settings menu in VS IDE Project Settings > Linker > Manifest File or refer http://vctipsplusplus.wordpress.com/2009/10/21/windows-privileges-issues[^] :)
-
How to add a Horizontal Scroll Bar to CListBoxWhen you add a list box with a horizontal scroll bar to a dialog box using MFC classes, the scroll bar will not automatically appear in your application. To make the scroll bar appear Set a maximum width for the widest element by calling CListBox::SetHorizontalExtent in your code. Without this value set, the scroll bar will not appear, even when the items in the list box are wider than the box. void SetHorizontalExtent( int cxExtent ); http://msdn.microsoft.com/en-us/library/1s0xed6b(VS.80).aspx Cheers, BIJU
-
Reading CPU Fan Speed from the BIOSThank you Dave.. Thanks for your reply..
-
Get hardware temperature, voltage, fan speed [modified]mm.. still i'm googling.. but no way !! :(