In the HangUp method the aplication hangup!

Dec 21, 2011 at 7:16 PM


sorry for my English!
I am using to connect to internet Dotras for modem, I can connect and surf, but when disconnecting when running "connection.HangUp ()" the application is not responding and I have to disconnect from windows. I'm using windows 7, may be happening? .
Greetings and thanks

Dec 22, 2011 at 6:19 PM

Well, I could solve by putting this line:

CType(RasConnection.GetActiveConnections(0), RasConnection).HangUp()

Instead of this

Dim connection As RasConnection = RasConnection.GetActiveConnectionByHandle(Me.Dialer.DialAsync())


Greetings and thank you very much