Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by porto99

  1. porto99

    Update the Form During Processing

    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
  2. porto99

    Long Time to Create Control Variables

    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...
  3. porto99

    PumpMessage - How Many

    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.
  4. porto99

    Update my McAfee s/w Conflict

    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...
  5. porto99

    VS 2005 C++ MFC Control Vairables - Takes a Long Time!

    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...
  6. porto99

    Internet Explorer 7 and Outlook Express

    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
  7. porto99

    Large Data Arrays

    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...
  8. porto99

    Extracting Data From MS Excel

    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...
  9. porto99

    Alignment of User-defined Data

    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.
  10. porto99

    Alignment of User-defined Data

    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...
  11. porto99

    Alignment of User-defined Data

    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...
  12. porto99

    PreTranslateMessage - Enter ans Escape Keys

    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...
  13. porto99

    MyTabCtrl based on CTabCtrl - base class undefined

    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.
  14. porto99

    MyTabCtrl based on CTabCtrl - base class undefined

    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 ...
  15. porto99

    MyProg.rc File Locked

    Thanksm it did sort itself out, I think a previous crash was the problem.

Part and Inventory Search

Back
Top