Search:

Type: Posts; User: Drewster727

Search: Search took 0.03 seconds.

  1. directory indexing in parallel recursively

    Hi All,

    I'm having a bit of an issue with some code I put together that will index a very large file system (only directories that match a regex) for me in parallel.
    Here's couple snippets of the...
  2. Re: Example of how to get a list of installed programs (like Add and Remove Programs)

    well, I think I figured it out, was easier than I thought. :)
  3. Re: Example of how to get a list of installed programs (like Add and Remove Programs)

    Chris,

    I know that in the sub-directories in the following paths most programs have an 'installdate' key associated with them:
    ...
  4. Re: Example of how to get a list of installed programs (like Add and Remove Programs)

    worked like a charm chris, thanks a bunch.

    -Drew
  5. Re: Example of how to get a list of installed programs (like Add and Remove Programs)

    Is there a particular spot in the code I could just place a try catch statement to catch that issue rather than removing the ability to search for other user programs?

    Thanks.

    -Drew
  6. Re: Example of how to get a list of installed programs (like Add and Remove Programs)

    Thanks for the reply & info,

    I believe I may have figured out what the problem is... This is just a hunch but it makes some sense.

    My exe is running on a login script when a user logs into a...
  7. Re: Example of how to get a list of installed programs (like Add and Remove Programs)

    Chris,

    I'm getting a registry access denied error when I run this under certain users. I'm certain it's a permissions issue with those particular users, but do you have a good suggestion for where...
  8. Replies
    5
    Views
    1,949

    Re: showmodaldialog dilemma

    Ok I think I've come up with my solution, seems to be working... with one problem though.

    here is my script to open the jquery dialog:

    <script type="text/javascript">
    $(function ()...
  9. Replies
    5
    Views
    1,949

    Re: showmodaldialog dilemma

    Ok here's the deal, I think the cleanest looking way to do this will be to use a jquery dialog. I've done a little research on it, but I need some help. I've looked at several examples, but it's...
  10. Replies
    5
    Views
    1,949

    Re: showmodaldialog dilemma

    I did look into an ajax modal popup a bit. Although, wouldn't I have issues when searching the gridview on the ajaxpopup when it has to postback to refresh the grid? technically the ajaxpopup is on...
  11. Replies
    5
    Views
    1,949

    showmodaldialog dilemma

    hey all,

    I'm bangin' my head against the wall trying to figure out a modal dialog solution for my site. It's an asset inventory for my company, heres the deal:

    I've got a page that has a...
  12. Replies
    7
    Views
    2,796

    Re: ping.sendasync memory leak

    also added this on at the end of my pingrequestcompleted routine:


    With DirectCast(sender, Ping)
    RemoveHandler .PingCompleted, AddressOf PingRequestCompleted
    ...
  13. Replies
    7
    Views
    2,796

    Re: ping.sendasync memory leak

    thanks for the response,

    I actually am running dispose in the pingrequestcompleted routine.


    CType(sender, IDisposable).Dispose()

    the mem usage is still creeping up...

    Anyone have any...
  14. Re: Example of how to get a list of installed programs (like Add and Remove Programs)

    you are the man.... that fixed it. thanks!!!
  15. Re: Example of how to get a list of installed programs (like Add and Remove Programs)

    Chris,

    I'm trying to use the InstalledProgram class in a vb.net console application.

    Everything seems to work when I try to list out the programs but I'm running into two problems and I can't...
  16. Replies
    7
    Views
    2,796

    Re: ping.sendasync memory leak

    Thanks for the reply,

    unfortunately the problem still exists... each time it loops through the list the process mem usage jumps about 1MB...:confused:

    here is my loop adjusted:

    For Each...
  17. Replies
    7
    Views
    2,796

    Re: ping.sendasync memory leak

    Any ideas guys??
  18. Replies
    7
    Views
    2,796

    ping.sendasync memory leak

    Hi All,

    I'm having a strange issue with a memory leak associated with ping.sendasync. My program has a section in it that allows the user to specify X number of servers/computers to monitor. About...
  19. Re: Example of how to get a list of installed programs (like Add and Remove Programs)

    Chris,

    How did you get your program to separate out the version number from the program name? I'm trying to use your class to dump program names into a column in a datagridview, and the version...
  20. Re: Example of how to enumerate installed programs (like Add and Remove Programs)

    sorry for the late reply.

    basically I ran the 'net use' commands to connect to the remote machine that I wanted to enumerate the apps from. This was done outside of my application. Next, with my...
  21. Replies
    18
    Views
    5,755

    Re: WMI management scope issue

    true words of wisdom right there :p
  22. Re: Example of how to enumerate installed programs (like Add and Remove Programs)

    thanks for the reply chris.

    In regards to the messiness and reliability of other items are you talking about making a managementscope connection to the remote machine? If that is so that is pretty...
  23. Re: Example of how to enumerate installed programs (like Add and Remove Programs)

    Chris,

    Thanks again for your work you've done on this! :bigyello:

    I wanted to see if it were possible to implement a way for a non-admin user to browse these remote registry keys if they were...
  24. Replies
    18
    Views
    5,755

    Re: WMI management scope issue

    that's just what I get for assuming! Thanks again guys.
  25. Replies
    18
    Views
    5,755

    Re: WMI management scope issue

    checking it out now, hopefully I can comprehend all of it :bigyello:
  26. Replies
    18
    Views
    5,755

    Re: WMI management scope issue

    jmcilhinney...you are the man...

    looks like I spoke too soon, and with too much confidence. I set up a couple temporary string variables inside my backgroundworker and set them equal to my...
  27. Replies
    18
    Views
    5,755

    Re: WMI management scope issue

    I'm very much 100% positive the username/password values that are entered in my login form are being stored and are able to be used.

    Like I said earlier (although it wasn't very clear) - making a...
  28. Replies
    18
    Views
    5,755

    Re: WMI management scope issue

    I suppose what I want to do is just be able to query a particular machine using specified credentials while keeping the UI responsive. This worked fine before when I was using the basic (vbscript...
  29. Replies
    18
    Views
    5,755

    Re: WMI management scope issue

    jmc, I assume that when you say "use a delegate to invoke a method on the UI thread" that I would be running the GetHDD function on the UI thread? The whole point of my throwing all of this code...
  30. Replies
    18
    Views
    5,755

    Re: WMI management scope issue

    thanks for the reply dbasnett.

    After looking deeper and deeper into the matter I've found a couple threads relating to my problem:

    -this first thread basically states the same exact issue I'm...
  31. Replies
    18
    Views
    5,755

    Re: WMI management scope issue

    anyone with backgroundworker/management scope & searcher experience that can help with this? Still clueless on this error, havent really found much online relating to my specific problem.
  32. Replies
    18
    Views
    5,755

    Re: WMI management scope issue

    bump
  33. Replies
    18
    Views
    5,755

    WMI management scope issue

    hey guys,

    I'm having an issue here with making a WMI connection to a remote machine using specified administrator credentials.

    I have the WMI code inside a function, I pass it the computer's...
  34. Re: Example of how to enumerate installed programs (like Add and Remove Programs)

    haha! yep, looks like the remote registry service wasn't started..

    thanks a bunch chris!!
  35. Re: Example of how to enumerate installed programs (like Add and Remove Programs)

    wow good call:

    "Unable to connect to xxx. Make sure that this computer is on the network, has remote administration enabled, and that both computers are running the remote registry server."

    any...
  36. Re: Example of how to enumerate installed programs (like Add and Remove Programs)

    Having some issues with this and connecting to a remote win7 box, keep getting "the network path was not found" error.

    WinXP machines return programs just fine, only Win7 machines I'm seeing the...
Results 1 to 36 of 37



Click Here to Expand Forum to Full Width