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

Search:

Type: Posts; User: StriderH2

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    7
    Views
    1,540

    Re: Auto Fill TextBoxes when Paste

    Pseudo code:
    ======================
    You'll need to capture the key presses using a timer or thread:


    'Getasynckeystate of Ctrl+V key combination.
    dim r1 as keys=keys.control
    dim r2 as...
  2. Replies
    6
    Views
    1,387

    Re: Start new thread adds 4-6 handles

    It sleeps for 100 milliseconds btw.
    Anyway I think I've figured it out, thanks for trying.
  3. Replies
    6
    Views
    1,387

    Re: Start new thread adds 4-6 handles

    Yes I'm well aware of the thread count, it's fine.
    I'm talking about the Handle count.


    'Trying to regulate handle count using this code. It's pretty effective,
    but only when there's a large...
  4. Replies
    6
    Views
    1,387

    Re: Start new thread adds 4-6 handles

    What do you mean by that? I'm sorry if I didn't understand.
  5. Replies
    6
    Views
    1,387

    Start new thread adds 4-6 handles

    Check process handle count:
    In Task manager, View, Select columns, mark Handle Count to the view.
    =====================================================================
    (The process when loaded has...
  6. Replies
    2
    Views
    972

    Re: array, object properties

    Never mind I'll try another method.
  7. Replies
    2
    Views
    972

    array, object properties

    'array
    Dim adapters As NetworkInterface() = NetworkInterface.GetAllNetworkInterfaces
    'Need to output names 'adapter.Name' to another array for faster access.

    'Iteration, slower
    For Each...
  8. Replies
    0
    Views
    938

    Statusstrip- horizontal scrollbar

    .net framework 2.0
    VB.net 2010
    Is it possible to add a horizontal scrollbar to a statusstrip when too many labels are added?
  9. Replies
    1
    Views
    12,126

    Re: ZwCreatefile/ ZwReadfile

    Done.



    #include <ntddk.h>
    #define BUFFER_SIZE 30
    //
    HANDLE handle;
    NTSTATUS ntstatus;
    IO_STATUS_BLOCK ioStatusBlock;
  10. Replies
    1
    Views
    12,126

    ZwCreatefile/ ZwReadfile

    I need to read a file, and output it's text to the kdbg console.

    For the moment- the main priority is opening a simple text file. The problem is not so much the code- just how to structure and...
  11. Re: Individual Process CPU usage (current process)

    Good idea, Wmi would probably be better in this situation, which is why the thread isn't yet resolved. I will go check if there is a more stable solution than the one before.
  12. Re: Individual Process CPU usage (current process)

    Source:
    http://weblogs.thinktecture.com/ingo/2004/06/getting-the-current-process-your-own-cpu-usage.html

    (Code does what it's supposed to do)
    Probably try and start it in a thread address- it...
  13. Individual Process CPU usage (current process)

    VB.net 2010

    Read all around the net, but cannot seem to do this:
    Tried the performance counter Categoryname=process Instancename=("program").

    _Total helps in part- but it would be more...
  14. Re: [RESOLVED] Add items to another form's listbox from a thread

    I marked the thread as resolved and edited it with the new solution before you posted- but will definitely look at the code you provided. Thank you!
  15. Re: Can't launch particular program on button click

    Try setting the working directory before launching otherwise it will default to system:
    Sometimes, certain applications- have problems when running without a specified working directory.



    dim...
  16. [RESOLVED] Add items to another form's listbox from a thread

    Completed:

    'Form 1- start a new thread and declare a new second form. Have it invoke before adding an entry.
    'Please let me know if there are more efficient ways of doing this- as this apart from...
  17. Replies
    3
    Views
    1,072

    Re: Can not access.. in CopyTo

    Be sure to test this out on a folder with fake files, for reliability.

    Overwriting without exception:

    The code below was originally used to replace shortcuts, you can use this for whatever file...
  18. Lol

    Thanks for posting this, I must say the beep is noisy- how does one deactivate it?

    Almost gave me a heart attack when scrolling the mousewheel every time.

    It'd be fun to use it for musical...
  19. Replies
    0
    Views
    1,521

    Vb.net hardware Acceleration project

    Toggling Hardware Acceleration can be done using macro AutoIT scripts, but I was thinking more of a feasible solution for VB.net or C++.
    =============================================================...
  20. Replies
    0
    Views
    1,695

    VB.net thread.isalive

    Wrong language and wrong thread
  21. Replies
    6
    Views
    1,020

    Re: For loop CPU 25% single core

    The issue has been resolved
  22. Replies
    6
    Views
    1,020

    Re: For loop CPU 25% single core

    --
  23. Replies
    6
    Views
    1,020

    For loop CPU 25% single core

    --
Results 1 to 23 of 27
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured