Professional Web Applications Themes

display COM+ process id's in an asp page - ASP

Making a good old fashioned asp page and need to be able to display the IIS COM+ process id's (i.e. those that show up when attaching to a process in InterDev (in the debug/processes dialog box)). Is there a way to get these process id's show up in an asp page? You can tell I'm not to saavy when it comes to working my way around the WindowsAPI. : ( TJ...

  1. #1

    Default display COM+ process id's in an asp page

    Making a good old fashioned asp page and need to be able to display the IIS
    COM+ process id's (i.e. those that show up when attaching to a process in
    InterDev (in the debug/processes dialog box)).

    Is there a way to get these process id's show up in an asp page? You can
    tell I'm not to saavy when it comes to working my way around the WindowsAPI.
    : (

    TJ


    TJ Guest

  2. #2

    Default RE: display COM+ process id's in an asp page

    To list all process running on a computer, we may use WMI. For details, you
    may refer to:

    Windows Management Instrumentation: A Simple, Powerful Tool for Scripting
    Windows Management
    [url]http://msdn.microsoft.com/msdnmag/issues/0400/wmi/default.aspx[/url]

    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/[/url]
    win32_process.asp

    Hope this help,

    Luke
    Microsoft Online Support

    Get Secure! [url]www.microsoft.com/security[/url]
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)

    MSFT Guest

  3. #3

    Default Re: display COM+ process id's in an asp page

    I am trying to do the same thing.. but I am also looking for the name of a
    high isolation process. How do I get access to that?

    So far I have this.. where "item" is the process.

    On Error Resume Next

    dim objSet
    set objSet=GetObject("winmgmts:").InstancesOf ("Win32_Process")
    if err.number<>0 then
    wscript.echo err.number & " - " & err.description
    set objSet=Nothing
    wscript.quit
    end if

    for each item in objSet
    if ucase(item.Name) = "DLLHOST.EXE" then
    wscript.echo item.Name & vbTAB & item.Handle & vbTAB
    end if
    next

    set objSet=Nothing

    wscript.quit


    "MSFT" <lukezhanonline.microsoft.com> wrote in message
    news:gb8KloIiDHA.688cpmsftngxa06.phx.gbl...
    > To list all process running on a computer, we may use WMI. For details,
    you
    > may refer to:
    >
    > Windows Management Instrumentation: A Simple, Powerful Tool for Scripting
    > Windows Management
    > [url]http://msdn.microsoft.com/msdnmag/issues/0400/wmi/default.aspx[/url]
    >
    >
    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/[/url]
    > win32_process.asp
    >
    > Hope this help,
    >
    > Luke
    > Microsoft Online Support
    >
    > Get Secure! [url]www.microsoft.com/security[/url]
    > (This posting is provided "AS IS", with no warranties, and confers no
    > rights.)
    >

    Dan Guest

Similar Threads

  1. Can someone tell me why this page won't display?
    By actioneer in forum Macromedia Dynamic HTML
    Replies: 2
    Last Post: August 17th, 10:09 PM
  2. Flex page won't display
    By bal_logicmanager in forum Coldfusion Flash Integration
    Replies: 1
    Last Post: July 28th, 09:43 PM
  3. Cannot display page error
    By jhill in forum Coldfusion - Getting Started
    Replies: 5
    Last Post: July 6th, 10:56 PM
  4. How To: Display content page to page w/ different domain
    By Leonard B in forum Macromedia ColdFusion
    Replies: 0
    Last Post: May 24th, 03:23 AM
  5. Databind, display page 2
    By Chip in forum ASP.NET Data Grid Control
    Replies: 1
    Last Post: July 22nd, 04:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139