J jhonkaz10 Member Joined Sep 12, 2004 Messages 5 Location lancaster Programming Experience 3-5 Jul 29, 2005 #1 Id like to call this CMD function VB.NET: Iisreset /noforce My problem is I don't know how to do that in vb8 beta2 Click to expand...
Id like to call this CMD function VB.NET: Iisreset /noforce My problem is I don't know how to do that in vb8 beta2 Click to expand...
Paszt Staff member Joined Jun 3, 2004 Messages 1,500 Location Raleigh, NC - USA Programming Experience Beginner Jul 29, 2005 #2 Use the Microsoft.VisualBasic.Interaction.Shell function. Upvote 0 Downvote
jmcilhinney VB.NET Forum Moderator Staff member Joined Aug 17, 2004 Messages 15,142 Location Sydney, Australia Programming Experience 10+ Aug 1, 2005 #3 Or preferably (in my opinion) use the System.Diagnostics.Process.Start function: VB.NET: Process.Start("Iisreset", "/noforce") Upvote 0 Downvote
Or preferably (in my opinion) use the System.Diagnostics.Process.Start function: VB.NET: Process.Start("Iisreset", "/noforce")
J jhonkaz10 Member Joined Sep 12, 2004 Messages 5 Location lancaster Programming Experience 3-5 Aug 2, 2005 #4 Great could you explain the "Microsoft..." command to me. I'm not familiar with it. Thanks i'll try the process start command. But i still would like to know what that command before process start does? Upvote 0 Downvote
Great could you explain the "Microsoft..." command to me. I'm not familiar with it. Thanks i'll try the process start command. But i still would like to know what that command before process start does?
jmcilhinney VB.NET Forum Moderator Staff member Joined Aug 17, 2004 Messages 15,142 Location Sydney, Australia Programming Experience 10+ Aug 2, 2005 #5 You could always look it up in the help, as you can with any class, method, property, etc. and get a description and often an example. Upvote 0 Downvote
You could always look it up in the help, as you can with any class, method, property, etc. and get a description and often an example.