Are they a VB alternative to the C++ ProcessMessage(), which makes use of the PeekMessage call to arrange for the form to be updated or include an Abort Button during lengthy processing?
Many thanks,
Porto
Using Visual Studio 2005 (MFC C++ application), when I create a Control Variable on a dialog it takes about 5 minutes. However if I disconnect from our network it works as normal.
I have reset all reference to network drives to local drives, does anyone know what is causing this.
Many thanks...
When I need to wait for some activity, do I need to place the call to PumpMessage queue into each dialog or just the main dialog of the program.
They may be 10 dialogs, but 2 will need to do lengthly processing.
Many thanks,
Porto.
Running Windows XP Home and I need to update my McAfee s/w, but it complains that Sophos is installed. Its non in the Add/Remove Programs List.
How can I remove programs like these; RegEdit and how?
Also how can I ensure that when I opt for PC Shutdown that the PC does not restart, this has...
When adding new control variables to dialog items, it takes about 4 minutes before I get the window to specify the vairable name.
Now my application has about 12 dialog windows to date, but are they anyway to cut this time down.
It gets a bit better for the 3rd or 4th control variable. But I...
Since I downloaded Internet Explorer 7.0 I can find a way to placing a button on the Menu or Toolbar to call up Outlook Express like I had with IE version 6.0.
Is this possible?
Cheers Porto
In my application I needed to increase one of the fields within a structure from 256 to 4096 (char array), now this structure is part of an array, typical size is 1024 elements.
I get some funny results from enumerated data.
I was wondering if they are any compiler options to increase the...
I need to generate a XML file to a particular format. The source of the data is MS Excel 2003.
I was planning to build a MFC C++ Dialog application in Visual Studio 2005. Does anyone know whre to find a 'Get you Started' example for C++ and MS Excel.
Someone mensions the DOM module for XML...
I am trying to define a structure such that its not padded out to the nearest byte.
I did think that the directive #pragma pack(1) meant that across a 32 bit (4 byte) boundry all the bits are used.
e.g.
#pragma pack(1)
typedef __declspec(align(1)) struct{
unsigned long...
I have been using the MyTabCtrl from the CoderSource.Net site. To stop the dialog closing when Escape or Enter keys are pressed it says to add the following routine:-
BOOL CTabOne::PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class...
I have been trying to use the MyTabCtrl based on CTabCtrl from the CoderSource.net forum.
However I get the following error:
2>c:\mcspms_emu\ms_emu\ms_emulation\mytabctrl.h(5) : error C2504: 'CTabCtrl' : base class undefined
The area is shown below:-
// CMyTabCtrl window
class CMyTabCtrl ...
I copied one program to start a new version. I need to add some new dialogs, but the resource file MyProg.rc reports that it is 'Opened in another editor'.
My application is a MFC Dialog based one.
I have closed down and re-booted my PC, but still I cant open this file in my Visual Studio 2005...
SImple question - how can you clear out some of the words in the Google search boxes.
i.e. when you start to type a word options start to appear; just want to get rid of some, not all.
Thanks,
Porto.
I have recieved a large database with many tables, now I have made a Query to extract the data I need to allow a C++ application to process.
However to safegaurd the original database, I select all the data display by this query and export it in Excel format.
I have another database which I...
While I process a large MS Access table I would like to change the cursor to an Hourglass and then back again to the usual pointer.
I pump the message queue during the processing, but would now like to change the cursor also.
Cheers,
Porto
How can I track down the following problem?
First-chance exception at 0x7c81eb33 in Access_Export.exe: Microsoft C++ exception: _com_error at memory location 0x0012e98c..
Exception thrown for classes generated by #import Code = 80020005
Code meaning = Type mismatch.
Source = (null)...
I have been trying to build a query that will display a list of messages. However I have a problem in defining the criteria. Four tables: Messages -> Words -> Fields and if Type in Words = 2 (Enumeration) then Enumerations table.
The case is I have a field which has three value (1 = Scalar, 2 =...
I need to run a query that will transverse though three tables.
Table1 -> Table2 -> Table3
I need to display serveral fields from Table1 together with items from Table 2 and Table3. A primary key in each table links the tables together.
e.g.
T1_Item1 T1_Item2 T2_Item1 T2_Item2 T2_Item3...
I am just about to start and look at getting some data out of an MS Access project (~30 tables). The program that will import this extracted data requires it in an XML format.
Any general suggestions/reading on using Access with XML?
Many thanks,
Porto.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.