Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2008 Get return value of regsvr32 invoked by Process.start / Shell

$
0
0
processStartInfo.FileName = "regsvr32"
processStartInfo.Arguments= "sth.ocx /s"
processStartInfo.WindowStyle =ProcessWindowStyle.Hidden
processStartInfo.UseShellExecute = True
process=Process.Start(processStartInfo)

I used above code. Now I wanted to know if my attempt was successful or not. If not display the appropriate error message.
I want to do it in silent mode [without regsvr32 popups] but display the successful/error message in my program.
I searched a lot but didn't find it. Is there a way to do so? If not by Process.Start or Shell , by any other means?

help me please. thanks in advance.

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>