Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: PHChang

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds; generated 24 minute(s) ago.

  1. Replies
    6
    Views
    1,401

    Re: [RESOLVED] Failure during conversion to COFF

    This problem can also be resolved by upgrading to visual studio SP1 without downgrading .NET framework from 4.5 to 4.0.
    More details on link:
    http://support.microsoft.com/en-us/kb/2757355
  2. Replies
    5
    Views
    4,091

    Re: Troubleshooting high CPU spikes

    I have also try to trace the network traffic for a good PC also running windows server 2003. I do see this network error STATUS_NO_SUCH_FILE appeared in the network trace but it is not causing 100%...
  3. Replies
    5
    Views
    4,091

    Re: Troubleshooting high CPU spikes

    Yes, the PccNTMon.exe is in the folder C:\Program Files\Trend Micro\OfficeScan Client.
  4. Replies
    5
    Views
    4,091

    Re: Troubleshooting high CPU spikes

    Found this article on Microsoft which talk about what could cause 100% cpu usage on srv.sys:
    http://support.microsoft.com/kb/941756


    I do find this error in network trace in Microsoft Network...
  5. Replies
    4
    Views
    569

    Re: Utility to check file access

    Thanks addisonaddy for the sharing.
  6. Replies
    5
    Views
    4,091

    Troubleshooting high CPU spikes

    I am seeing high 100% CPU spikes on some of the CPU cores occasionally on a Windows Server 2003 R2 Standard Edition Service Pack 2. It is causing the PC to be sluggish sometimes.
    I try to...
  7. Replies
    4
    Views
    569

    Re: Utility to check file access

    Thanks for your help on this.
  8. Replies
    4
    Views
    569

    Utility to check file access

    I am having slow file accessing issue sometimes on windows PC. May I know how can I monitor a file is being used by what program for a period of time? Any utility for this?
    I wish to find out what...
  9. Thread: Fread on file

    by PHChang
    Replies
    11
    Views
    970

    Re: Fread on file

    Thanks.
    Assume if it is a non-numbers for all fields? How to read it? Some could be blank.

    2.5a,abc,2d,40e00
    2.5c,,3e,20e00
    2.5d,,3e,1e000
  10. Thread: Fread on file

    by PHChang
    Replies
    11
    Views
    970

    Re: Fread on file

    Sorry to bother again.
    If change to format below (separated by commas), there will be blank for some fields. How to read it?

    2.5,abc,2,4000
    2.5,,3,2000
    2.5,,3,1000
  11. Thread: Fread on file

    by PHChang
    Replies
    11
    Views
    970

    Re: Fread on file

    This looks complicated to me.

    Mind to explain what it is doing?


    // Read data back from file:
    while (ifs >> d1 >> ch) {
    ifs.get(buffer, bufsize, ';');
    ifs >> ch >> i1 >> ch >> i2;...
  12. Thread: Fread on file

    by PHChang
    Replies
    11
    Views
    970

    Re: Fread on file

    Thanks 2kaud.
    Let say the 2nd field is not limited to 3 chars, it can vary from 3 to 10 (or any number), how can resolve it?



    while ((fscanf(pFile, "%f;%3s;%i,%i", &d1, buffer, &i1, &i2)) >...
  13. Thread: Fread on file

    by PHChang
    Replies
    11
    Views
    970

    Re: Fread on file

    Thanks I will try it out and see how.
    I am using visual C++ 2010 compiler.
  14. Thread: Fread on file

    by PHChang
    Replies
    11
    Views
    970

    Fread on file

    I am trying to read and store a txt file with format below:

    2.5;abc;2,4000
    2.5;bef;3,2000
    2.5;ref;3,1000

    I try the fscanf( pFile, "%d;%s;%d,%d", buffer,buffer2,buffer3,buffer4 ); to store...
  15. Replies
    6
    Views
    914

    Re: How to change a button colour?

    Thanks. I tried the CMFCButton way and it works.



    button.SetFaceColor(RGB(255,0,0),true);
  16. Replies
    6
    Views
    914

    Re: How to change a button colour?

    That means I need to tie a button with control variable with CMFCButton class in order to use it right?
  17. Replies
    6
    Views
    914

    How to change a button colour?

    May I know how to change a button colour using visual C++ ? Currently using visual studio 2010.
  18. Re: How to increase font size in buttons

    Alright, thanks got it!
  19. [RESOLVED] How to increase font size in buttons

    How to increase font size for a specific button?

    I tried to change the nHeight but it doesn't seems to change the font size. Any idea why?




    CFont font;

    font.CreateFont(
  20. Replies
    19
    Views
    2,171

    Re: Combo Box Height

    The reason I want to increase the width is because I am using a touch screen monitor so want to create a wider scroll bar so that user easy to click on it.
    Anyway, thanks all for the advise.
    I...
  21. Replies
    19
    Views
    2,171

    Re: Combo Box Height

    OK thanks.
    By the way, is it possible to set the width of vertical scroll bar of a combo box?
    See attached photo scrollboxwidth.jpg.
  22. Replies
    19
    Views
    2,171

    Re: Combo Box Height

    Thanks but where is the article link that you mentioned?
  23. Replies
    19
    Views
    2,171

    Re: Combo Box Height

    I am using below way to set the font size for combo box. I believe this is the correct way?
    Let me know if have better.



    CComboBox cCombo;
    CFont m_font;
    LOGFONT lf;...
  24. Replies
    19
    Views
    2,171

    Re: Combo Box Height

    I found that the function combo box SetItemHeight(); with the index -1 can set the height of combo box. But after setting the height, I found that the font size still remain the same. How can I...
  25. Replies
    19
    Views
    2,171

    Combo Box Height

    May I know how to adjust the combo box height?
    I can adjust the combo box width and also the dropdown list height but not the combo box height.
    See attachment combobox.jpg/
Results 1 to 25 of 90
Page 1 of 4 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!


HTML5 Development Center