Reply to jmcilhinney
Public Sub Main()
' the task will not end here, just hangs
Exit Sub '<<<<<<<<<<<<< the program hangs here
Private Sub process1()
Const ssfCONTROLS = 3
Dim ConnectionName As String = "Local Area Connection"
I am trying to programatically enable and disable LAN connections. The code works just fine, BUT it hangs. All of the code is below. It is stripped down to perform only one function (turn off the LAN connection). How can I get this to end normally? I am interested because I ultimately...
I have a client side html button:
<button style="LEFT: 450px; POSITION: relative; BACKGROUND-COLOR: #8799cc" onclick="execute"
type="button" id="button2" disabled>Crossload</button>
It executes this script to run a local program on the client: