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...
Thanks Salen, that works fine.
But would like to understand why in VS 2003 unsigned long worked, but with VS 2005 I have to change to unsigned short.
Many thanks,
Andy.
What I do is form a union with a buffer
unsigned short buffer[32];
So that I can modify a single field, but send the message by using the buffer.
The code did work in VS 2003; just a problem with VS 2005; or have I got a setting wrong or just do as you say - IT WORKS!
But don't know why...
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...
OK thanks, OK now I have included <afxcmn.h>
Hours waisted, but thanks again.
Are they a Nody guide for moving up to VS 2005, I am having problems with strcpy etc.
I get in a mess if I just change to strcpy_s.
Porto.
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...
Golom, thanks for the post.
Just one question, in the main database, I run a Query that produces the results I want.
So how can I import this 'table' which is not a table just the results of a Query into my destination database?
Many thanks
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.
Hi Alex, I dont understand how to do this. The first MS Access database has about 25 tables (this is where the Query is).
How do I copy and run this Query from the second MS Access batadase, which wil only have the empty table ( yes - and do I have to set up all the fields)
Many 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...
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.