🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.rtl.dotnet
3 messages
3 total messages Started by Borland Newsgroups Wed, 23 Nov 2005 04:00
Launch MSInfo32.exe from VCL.NET Application
#28
Author: Borland Newsgroups
Date: Wed, 23 Nov 2005 04:00
6 lines
1041 bytes
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
Re: Launch MSInfo32.exe from VCL.NET Application
#29
Author: Peter Below (TeamB)
Date: Wed, 23 Nov 2005 20:43
16 lines
1518 bytes
In article <4383e944$1@newsgroups.borland.com>, Borland Newsgroups wrote:
> 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.

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
Re: Launch MSInfo32.exe from VCL.NET Application
#30
Author: Theodore W. Dennis
Date: Fri, 25 Nov 2005 05:12
30 lines
2191 bytes
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)" <100113.1101@compuXXserve.com> wrote in message 
news:VA.0000c2f2.0085609a@nomail.please...
> In article <4383e944$1@newsgroups.borland.com>, Borland Newsgroups wrote:
>> 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.
>
> 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
>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads