By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,114 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

MSINFO32.exe /report, /nfo not consistent from VB.NET app

P: n/a
I have a VB.NET 2003 application that calls MSINFO32.exe to determine
System Information and write that information to a file.

This code works on my laptop and on one of my coworker's laptops;
however it doesn't work on several other of my coworkers' computers.
All are running WinXP.

Regarding the machines that it doesn't work on -- some have Visual
Studios, some don't.
Regarding the two machines that it does work on -- both have VB.NET

On one of the PCs that it doesn't work on -- yes, the user can run
MSINFO32 from a command prompt and output text files.

Here's a code snippet -- what am I missing?

'Run MSINFO32 & output the result as a .txt or .nfo
Dim SysInfoFilePath As
Dim MSINFO32proc As Process
SysInfoFilePath = Replace(System.AppDomain.CurrentDomain.BaseDirecto ry,
"bin\", "Output\SystemInformation.txt")
MSINFO32proc = Process.Start(MSINFOexe, "/report " & SysInfoFilePath)
'Wait until the process terminates (may take over a minute)

'View the System Information if the checkbox is checked
Dim MSINFO32outputProc As Process = Process.Start(SysInfoFilePath)


Mar 27 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.