Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Launch MSInfo32.exe from VCL.NET Application

1 view
Skip to first unread message

Borland Newsgroups

unread,
Nov 22, 2005, 11:00:29 PM11/22/05
to
Does anyone out there know how I can launch msinfo32.exe from a VCL.NET
application? Apparently ShellExecute from the Win32 world does not exist
(or I can't find it) and so far MSDN is not very helpful.

Thanks,
Ted


Peter Below (TeamB)

unread,
Nov 23, 2005, 3:43:31 PM11/23/05
to

There is a Process class in the system.diagnostics namespace that can be
used to start an external process.


--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be


Theodore W. Dennis

unread,
Nov 25, 2005, 12:12:43 AM11/25/05
to
Thanks Peter. I once again scanned MSDN and read up on this namespace and
came up with the following solution:
procedure TfrmAbout.btnSystemInfoClick(Sender: TObject);
begin
Process.Start('C:\Program Files\Common Files\Microsoft
Shared\MSInfo\msinfo32.exe');
end;

I also included a "uses" reference to System.Diagnostics. Sweet!

"Peter Below (TeamB)" <10011...@compuXXserve.com> wrote in message
news:VA.0000c2f...@nomail.please...

0 new messages