Security Update for SQL Server 2005 Service Pack 2 (KB948109) will not install on my workstation. I am running XP. I have uploaded my log file.
Hi,
1. First and foremost, this question is about Combo Boxes in MFC ONLY. COMBO BOXES, NOT LIST BOXES.
2. I am creating this program that is taking video camera information in a com...
Hi all,
I have created a sample win32 console with mfc support by using Visual Studio 6.0. I could not load jpg file onto a dialog box as a background. I am able to load "bmp" as backgro...
Tools/platform: Visual Studio 2005, VC++ 8.0, Windows XP.
Build: Multithreaded DLL release libs. (/MD)
In release build (never in debug build) our program occasionally crash on exit. It se...
Halolo Everyone!
For my programm I would like to be able to chage the color of the cross in a Check Box and the dot in a Radio Box. How do I do this?
I overloaded the CButton class and c...
Hi,
actual I build a dynamic popup menu with AppendMenu.But now I need to add a item with a submenu.How I can do this (This new item with submenualso need to build dynamic).
Ingo
I am getting the following errors below when i select the character set as "Unicode". It however works fine on a seperate project. I made sure that all the project properties were same but I ...
I am trying to load an image in OpenCV using the MFC open file dialog:
CString filename;
CFileDialog dlg(TRUE, _T("*.bmp"), NULL, OFN_FILEMUSTEXIST|OFN_PATHMUSTEXIST|OFN_HIDEREADONLY,
_T...
Hi,
in my application, at lot of places i need to convert a cstring or wchar_t* to char*, hence i wrote a function in a cpp file, not belonging to any class such as:
char* ConvertWCHARtoCHAR...
Is there a way to find out the IP address of a database server being accessed through ODBC in a VC++ 6.0 MFC application? I am using CDatabase, CRecordset, and ExecuteSQL currently for access...
I have CDialog Class . I add scroll bar ot it. I am scrolling, the graphics be become vanished. I want to draw the graphics aslo. could you please help me.
I have a MFC application , wen i run the application i get these msgs(in profiler),any idea why m i getting this.
The exact msg is:
Warning: throwing CInternetException for error 12029
...
Hello,
I have a little problem. I load a Bitmap and set this bitmap to a picture control.
main_dlgProgress->bitmapPreview.SetBitmap(main_dlgProgress->hScanBitmap);
This I cannot do an...
Hi,
I have a dialog with 2 radio buttons and a one propertysheet with 3 tabs (propertypages).
By default:
Radio button 1 is selected and tab1 is displayed and one edit box is disabled on th...
I am going to use CListCtrl in a MFC Modal Dialog to list the invoice items to the user. I initiate the column of CListCtrl in the OnInitDialog stage and successful. And I try to update the co...
Hi everyone
I have created a button in my MFC app (on OnCreate funtion with ON_WM_CREATE() message):
CButton myButton;
myButton.Create("Button's Name",WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON,CR...
Hi,
I am working on MFC dialog based application.
After completion of some operation i want to play the beep sound for 3 secs which indicates the completion of work. Is there a way to acc...
Does anybody have any sample code for testing whether Javascript is enabled in IE7 and up via C++/MFC? Our app is going to make heavy use of javascript in pages hosted by CHTMLView and HTML dl...
_RecordsetPtr m_ptrRs;
//Open the recordset object Tabelle
m_ptrRs->Open(_variant_t(bstrQuery),(LPCTSTR)m_strConnection, adOpenDynamic, adLockOptimistic, adCmdUnknown);
_variant_...
Hiya
I'm trying to write CStrings to a file using the following:
std::ofstream out( MyFile );
out << _T("My Data") << std::endl << std::endl;
However, when I view the created fil...
HI,
I have created a solution. I have two projects in it. One project is a win32 project which will generate an exe and the other one is an MFC DLL. I am placing the UI for the application in...
When I programmatically check a radio button as described here:
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_23119601.html
It crashes in Debug mode but n...
Is it possible to capture the message when the application loses focus and regains focus ?
Please attach a snippet of the calls if possible.
Thanks
I have a MFC dialog based application. I want to hide the dialog box.
i tried the following
a) SetWindowPos(0,-1000,-1000,0,0, SWP_NOSIZE|SWP_NOZORDER|SWP_NOACTIVATE);
it hides the dialog b...
Hi guys,
I'm using a third party MFC CListCtrl inheriting class, that comes with its own CHeaderCtrl inheriting class - http://www.codeproject.com/KB/list/creportctrl.aspx . It works well, ...