Display Caspol.exe -lg output in a Form TextBox

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

Hi

I am just writting a small utility to fire off some Caspol commands

I can run Caspol.exe -lg to see the security settings for DotNet thru
command line

Is there a way to get what Caspol.exe -lg displays into a textbox on a
form - so I can see what is set on the current machine???

Thanks
 
You can always do a:

Caspol.exe -lg > textfile.txt

then use the streamreader to read in the text file to you textbox.

chanmm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top