Home All Groups Group Topic Archive Search About

List dlls currently running in VB Application

Author
9 Aug 2010 6:37 PM
David
I'd like to see what's being used by my VB application.

Anyway to show the various dlls, ActiveX that are being used.

One thought was to Enumerate Process, and the maybe look for the
parent, but not sure if this approach will even work.

Any suggestions appreciated.

Thanks
David

Author
9 Aug 2010 6:48 PM
Kevin Provance
"David" <NoWh***@earthlink.net> wrote in message
news:%23mfJpH$NLHA.1868@TK2MSFTNGP05.phx.gbl...
: I'd like to see what's being used by my VB application.
:
: Anyway to show the various dlls, ActiveX that are being used.
:
: One thought was to Enumerate Process, and the maybe look for the
: parent, but not sure if this approach will even work.
:

If you'd simply like to see, download Process Explorer.  It shows all.
Author
9 Aug 2010 7:09 PM
David
Mr. Provance:

I guess I could shell to Process Explorer, but what I had in mind was
to create a listbox on the Help Menu and then display a list of
what is currently running in this specific application.

Know whether my idea to Enumerate Process and then look for parent
is right approach?

Thanks
David


Show quoteHide quote
"Kevin Provance" <k@p.c> wrote in message
news:i3pihu$dop$1@news.eternal-september.org...
>
> "David" <NoWh***@earthlink.net> wrote in message
> news:%23mfJpH$NLHA.1868@TK2MSFTNGP05.phx.gbl...
> : I'd like to see what's being used by my VB application.
> :
> : Anyway to show the various dlls, ActiveX that are being used.
> :
> : One thought was to Enumerate Process, and the maybe look for the
> : parent, but not sure if this approach will even work.
> :
>
> If you'd simply like to see, download Process Explorer.  It shows all.
>
Author
9 Aug 2010 7:50 PM
Nobody
"David" <NoWh***@earthlink.net> wrote in message
news:%23TSZYZ$NLHA.6100@TK2MSFTNGP05.phx.gbl...
> Mr. Provance:
>
> I guess I could shell to Process Explorer, but what I had in mind was
> to create a listbox on the Help Menu and then display a list of
> what is currently running in this specific application.
>
> Know whether my idea to Enumerate Process and then look for parent
> is right approach?


SAMPLE: MODLIST.EXE Shows How to Enumerate Processes and Modules
http://support.microsoft.com/kb/192986
Author
9 Aug 2010 11:00 PM
David
Thanks Nobody:

Hopefully, I can take it from here.
Have a nice day.

David

Show quoteHide quote
"Nobody" <nob***@nobody.com> wrote in message
news:i3pm5u$1a1$1@speranza.aioe.org...
> "David" <NoWh***@earthlink.net> wrote in message
> news:%23TSZYZ$NLHA.6100@TK2MSFTNGP05.phx.gbl...
>> Mr. Provance:
>>
>> I guess I could shell to Process Explorer, but what I had in mind was
>> to create a listbox on the Help Menu and then display a list of
>> what is currently running in this specific application.
>>
>> Know whether my idea to Enumerate Process and then look for parent
>> is right approach?
>
>
> SAMPLE: MODLIST.EXE Shows How to Enumerate Processes and Modules
> http://support.microsoft.com/kb/192986
>
>
>
Author
10 Aug 2010 10:24 AM
Dee Earley
On 09/08/2010 20:09, David wrote:
> Mr. Provance:
>
> I guess I could shell to Process Explorer, but what I had in mind was
> to create a listbox on the Help Menu and then display a list of
> what is currently running in this specific application.
>
> Know whether my idea to Enumerate Process and then look for parent
> is right approach?

No need to enumerate process, as it already knows which process it is
(itself)
You just need to enumerate the modules of the current process.

--
Dee Earley (dee.ear***@icode.co.uk)
i-Catcher Development Team

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)
Author
10 Aug 2010 5:10 PM
David
Ms (or Mr.) Earley:

Excellent Point.

David


Show quoteHide quote
"Dee Earley" <dee.ear***@icode.co.uk> wrote in message
news:%23vnosaHOLHA.5732@TK2MSFTNGP06.phx.gbl...
> On 09/08/2010 20:09, David wrote:
>> Mr. Provance:
>>
>> I guess I could shell to Process Explorer, but what I had in mind was
>> to create a listbox on the Help Menu and then display a list of
>> what is currently running in this specific application.
>>
>> Know whether my idea to Enumerate Process and then look for parent
>> is right approach?
>
> No need to enumerate process, as it already knows which process it is
> (itself)
> You just need to enumerate the modules of the current process.
>
> --
> Dee Earley (dee.ear***@icode.co.uk)
> i-Catcher Development Team
>
> iCode Systems
>
> (Replies direct to my email address will be ignored.
> Please reply to the group.)
Author
10 Aug 2010 6:04 PM
Jim Mack
David wrote:
> Ms (or Mr.) Earley:
>
> Excellent Point.
>

Will you be instantiating any objects / classes defined in AX EXEs?
Those are out of process, FWIW.

--
   Jim Mack
   Twisted tees at http://www.cafepress.com/2050inc
   "We sew confusion"




Show quoteHide quote
>
> "Dee Earley" <dee.ear***@icode.co.uk> wrote in message
>>
>> No need to enumerate process, as it already knows which process it
>> is (itself)
>> You just need to enumerate the modules of the current process.
Author
11 Aug 2010 1:38 AM
David
Thanks for input.

Right now other than MS ActiveX supplied with VB5 is all I plan.
If not, any suggestions on how I ger a list of objects/classes defined
in AX EXE's that are run by my program?

David

Show quoteHide quote
"Jim Mack" <no-uce-***@mdxi.com> wrote in message
news:5r2dnZA_7ac3CfzRnZ2dnUVZ_hudnZ2d@giganews.com...
> David wrote:
>> Ms (or Mr.) Earley:
>>
>> Excellent Point.
>>
>
> Will you be instantiating any objects / classes defined in AX EXEs?
> Those are out of process, FWIW.
>
> --
>   Jim Mack
>   Twisted tees at http://www.cafepress.com/2050inc
>   "We sew confusion"
>
>
>
>
>>
>> "Dee Earley" <dee.ear***@icode.co.uk> wrote in message
>>>
>>> No need to enumerate process, as it already knows which process it
>>> is (itself)
>>> You just need to enumerate the modules of the current process.
>