Dim strIPShell As String Dim strDNSShell As String Dim a As Long
strIPShell = "cmd /c Netsh InterFace ip set address name = 本地连接 source = dhcp" strDNSShell = "cmd /c netsh interface ip set dns name = 本地连接 source = dhcp" a = Shell(strIPShell, vbHide) a = Shell(strDNSShell, vbHide)
请教一下:我用vb写了一个调用Illustrator的测试程序,代码很简单:Private Sub Command1_Click() Dim app As New Illustrator.Application Dim doc As Illustrator.Document Dim thislayer As Illustrator.Layer ......
Private Sub Check1_Click() If Check1.Value = 1 Then DTP1.Enabled = True Else DTP1.Enabled = False End If End Sub Private Sub Check2_Click() If Check2.Value = 1 Then DTP2.Enabled = True Else
......