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

Search:

Type: Posts; User: cvogt61457

Page 1 of 27 1 2 3 4

Search: Search took 0.10 seconds.

  1. Default action for opening Mapped drive set to "Command Prompt here"

    I have a computer running XP Pro SP2.

    When in "My Computer", the context menu for each drive now has default "Command Prompt here" instead of "Open". Double-click of a drive will open the command...
  2. DataGridViewColumnHeaderCell attempts to open with a designer

    There is a ListBox as a Private Internal class to my class.

    This is what VS is seeing and is causing the error.

    I can do one of the following:
    1. Put a simple class derived from Control before...
  3. DataGridViewColumnHeaderCell attempts to open with a designer

    I have a class derived from a DataGridViewColumnHeaderCell. When I attempt to open the file for viewing, VS attempts to open the file with a designer.

    I'm not sure what designates the file as...
  4. Replies
    0
    Views
    1,349

    [RESOLVED] testing code tags

    Here's a sample of how to use the code tags.

    Copy your code to the edit box


    If e.Control.ToString() Like "System.Windows.Forms.DataGridViewComboBoxEditingControl*" Then
    ...
  5. Replies
    0
    Views
    736

    [RESOLVED] testing code tags

    Here's a sample of how to use the code tags.

    Copy your code to the edit box


    If e.Control.ToString() Like "System.Windows.Forms.DataGridViewComboBoxEditingControl*" Then
    ...
  6. Thread: int array..

    by cvogt61457
    Replies
    8
    Views
    878

    Re: int array..

    If your talking about a string reprsentation of an integer value, then you
    would have this for a "112"


    char myString[size];
    myString[0] = 0x31 // "1"
    myString[1] = 0x31 // "1"
    myString[2]...
  7. Thread: int array..

    by cvogt61457
    Replies
    8
    Views
    878

    Re: int array..

    You seem to mixing your types.
    Is this a string or an int?

    112 decimal = 0x70
    This takes only 1 byte of the 4 bytes for an int

    array[0] = 0x70
    array[1] = 0
    array[2] = 0
    array[3] = 0
  8. Thread: int array..

    by cvogt61457
    Replies
    8
    Views
    878

    Re: int array..

    Here's a cheap, bad, hack


    memcpy((char*)array, (char*)codeguru, 2*sizeof(int))


    Why do you want to refer to the data in bytes? Both are ints already.
    No need to change to a different...
  9. Replies
    1
    Views
    1,037

    Re: What do you think of this?

    What's the question?
  10. Re: [RESOLVED] C Help - Multiple goto's in a Function

    One goal to strive for is "readability"

    Can you make sense of the code easily?

    If the code is difficult to read, then something is probably wrong.
  11. Re: C Help - Multiple goto's in a Function

    Change your logic a little.

    Try this



    int one_bisect(int type, int l_et)
    {
    int i;
    int line[7];
  12. Replies
    6
    Views
    913

    Re: enable tab feature

    post your project so that we can build it and test it. Make sure that what you post can be compiled.

    What compiler are you using?
  13. Replies
    16
    Views
    2,572

    Re: Logical pattern or random?

    Is the pattern repeated where the price is the same?

    If the filename is different where the price is the same, then I would conclude
    that the filename is randomized to prevent someone from...
  14. Replies
    18
    Views
    3,074

    Re: Problem copying linked list (memory error)

    From your description, I think there may be a need to refactor your code.

    Since the child called a parent that called a child - etc. and you had to put in
    a flag to prevent the infinite loop,...
  15. Replies
    18
    Views
    3,074

    Re: Problem copying linked list (memory error)

    So what if I can't compile and run it.

    You will be able to compile it and run it - in the debugger.

    Now you will be able to debug it properly.
  16. Replies
    18
    Views
    3,074

    Re: Problem copying linked list (memory error)

    You set list to arrayList in your function

    void ScrollingPlotFrame::sampleRate(GraphWin *child, int index, int rate)
    {
    ...
    list = &arrayList[index];

    You don't describe how/where...
  17. Replies
    18
    Views
    3,074

    Re: Problem copying linked list (memory error)

    Since you can't use your work environment to debug the problem, you need
    to move your problem to a test environment.

    Create a small program that uses the array but does so with a button press ...
  18. Thread: help..

    by cvogt61457
    Replies
    2
    Views
    2,135

    Re: help..

    You will get more answers and better results if you use a title that
    describes your problem.

    You have "help.." This do not give any indication of the problem you are seeing.

    Try "Help with...
  19. Replies
    4
    Views
    1,097

    Re: Strange... :P

    Please use a title that is meaningful to the topic.
    "Strange..." has no meaning.
    Many people won't look at these questions.

    Something like "Compiler error with graphics library"
  20. Replies
    15
    Views
    2,053

    Re: Problem with a function

    Why not use std::list?
  21. Replies
    23
    Views
    4,545

    Re: problems with my code, not sure why

    Zip the whole project and attach the zip file.
  22. Replies
    0
    Views
    1,103

    Reading Desktop Heap usage

    Is there a way to read the Desktop Heap usage using the WinAPI?

    Desktop Heap Monitor (from MS) is not interactive.

    I'm looking for a way to monitor the available heap natively - no external...
  23. Replies
    10
    Views
    1,081

    Re: programing help

    Post the code that you have.

    State what the problems are with your code. Be as specific as possible.

    (Use the code tags when you post the code to make it easier to read)
  24. Replies
    8
    Views
    1,444

    Re: Out of memory

    You might be running out of "Desktop Heap"

    Here's a discussion on the Desktop Heap
    MS Knowledgebase 126962

    There is a utility to check the Desktop Heap at the following
    MS DHeapMon

    I...
  25. Replies
    16
    Views
    2,590

    Re: I can not explain this, can you?

    post the project and we can stop guessing on what might be the cause.
Results 1 to 25 of 672
Page 1 of 27 1 2 3 4





Click Here to Expand Forum to Full Width

Featured