Try Dim obj As Object = CreateObject(ProgID)Catch ex As Exception Process.Start("regsvr32.exe", "/s " & OCXFile) Threading.Thread.Sleep(200)End Try
留言