launching a msc file (Active directory users & computers)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How in the world can I launch a msc file from a visual basic application.

I've tried Shell which is only for EXE files
I've tried a process which should do it, but does not.

Please help.
 
I found it. Thanks peter!

Try
Dim ps As New Process
Dim psI As New ProcessStartInfo
psI.FileName =
Environment.GetFolderPath(Environment.SpecialFolder.System) & "\dsa.msc"
ps.Start(psI)

Catch ex As Exception
MsgBox(ex.ToString)
End Try
 

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