473,394 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

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
2003.

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)
MSINFO32proc.WaitForExit()

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

Thanks,
-Sean

Mar 27 '06 #1
0 1600

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: -Farid | last post by:
Hi I've been thinking of switching from ASP / MS-SQL Server to PHP/mySQL. My one concern is how the reporting will work. In the MS world I used Crystal Reports which had a nice editor and worked...
1
by: Bob Skutnick | last post by:
Help.... I've created an ADO.NET dataset in Visual Studio (a web project). I build the project and then try to create a Crystal Report using the dataset. When I try to use the ADO.NET dataset...
14
by: expertware | last post by:
Ok! to avoid confusion I will start a new argument. Thanks!! FIREFOX 1.0.7 AND IE6 viewed through DATATIME: a summary REPORT ===============================================================...
2
by: Tom | last post by:
Hi all: I've run into a problem that is confounding me. Hope you can help. I have the following query (having removed alot of stuff for clarity: SELECT tblComponent.TagNumber,...
7
by: MLH | last post by:
The Me object in A97 HELP is associated with forms. I've used Me.Name with success in a report's Open event code successfully. However, I seem to recall occasions where use of Me in report...
1
by: =?Utf-8?B?QW5kcmVhcw==?= | last post by:
Our company have one asp.net 2.0 web application using c# as code behind and one C++ windows application. Both applications are using Crystal Reports (v 10) as report engine. The web app. just...
6
by: rewindspline | last post by:
hello, i have a simple MS Access 2003 database for producing reports from multiple tables. this morning i made a slight change to some text boxes in the report and now i can't open the report....
0
by: =?Utf-8?B?QXNrZWxvbg==?= | last post by:
When i try to save a copy of the msinfo32 information i get all the way to list of objects and 2 bars left in the process and it locks up and hangs the application and when it finally gets off the...
2
by: paragshravagi | last post by:
Hi. I am trying to open a process for msinfo32.exe using C#. I successfully started it. But after that I need to wait for 10 seconds for some other operations during which this process gets...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.