questo metodo non esiste nel framework 1.1....
vi spiego il codice è questo:
con visual studio 2005 tutto ok...solo che mi serve per framework 1.1...come posso fare?codice:Module Module1 Sub Main() Dim theProcessStartInfo As New System.Diagnostics.ProcessStartInfo("Cambio_ip.exe") Dim theSecurePassword As New System.Security.SecureString() theSecurePassword.AppendChar("*") theSecurePassword.AppendChar("*") theSecurePassword.AppendChar("*") theSecurePassword.AppendChar("*") theSecurePassword.AppendChar("*") theSecurePassword.AppendChar("*") theSecurePassword.AppendChar("*") theSecurePassword.AppendChar("*") theProcessStartInfo.UserName = "Administrator" theProcessStartInfo.Password = theSecurePassword theProcessStartInfo.UseShellExecute = False 'theProcessStartInfo.WorkingDirectory = "c:\" System.Diagnostics.Process.Start(theProcessStartInfo) End Sub End Module
come avrete sicuramente capito mi serve un applicazione che faccia partire un exe con i privilegi di admin![]()