|
-
Apr 5th, 2005, 02:33 PM
#1
Thread Starter
Addicted Member
MSInfo Export [RESOLVED]
I'm currently working on an application to help diagnose computer problems part of that app is MSInfo. Currently, users have to select it from a drop down menu and then it launches. I would like to have the information saved from MSInfo through it's export command. Is it possible to do this with VB?
I would need to select the option from a drop down menu and then name the file. Let me know if this is viable or if you have done something similar.
Thanks.
Last edited by bat711; Apr 5th, 2005 at 02:52 PM.
-
Apr 5th, 2005, 02:36 PM
#2
Re: MSInfo Export
Yes, its possible.
You are better off if you dunamically detect the location of MSInfo32.exe on your users workstations.
If you, from a dos prompt, type in msinfo32.exe /? you will get a listing of all the switches you need to do this.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 5th, 2005, 02:52 PM
#3
Thread Starter
Addicted Member
Re: MSInfo Export
Thanks RobDog, I didn't realize it had any command line switches.
I am detecting the path through a registry key (HKLM\Software\Microsoft\Shared Tools\MSInfo) so I should be OK as far as that is concerned.
Thanks again.
-
Apr 5th, 2005, 03:13 PM
#4
Re: MSInfo Export [RESOLVED]
No prob. 
The registry is fine. Another way, just in case, is to create a temp file with an .nfo extension. Then use the
FindExecutable API to get the associated program (msinfo32.exe) location to open it with.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|