|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
List dlls currently running in VB ApplicationI'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 "David" <NoWh***@earthlink.net> wrote in message If you'd simply like to see, download Process Explorer. It shows all.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. : 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. > "David" <NoWh***@earthlink.net> wrote in message SAMPLE: MODLIST.EXE Shows How to Enumerate Processes and Modulesnews:%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? http://support.microsoft.com/kb/192986 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 > > > On 09/08/2010 20:09, David wrote:
> Mr. Provance: No need to enumerate process, as it already knows which process it is > > 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? (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.) 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.) David wrote:
> Ms (or Mr.) Earley: Will you be instantiating any objects / classes defined in AX EXEs?> > Excellent Point. > Those are out of process, FWIW. 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. 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. > |
|||||||||||||||||||||||