|
-
January 4th, 2000, 02:21 PM
#1
Disconnect from the internet using VB
Hey!
I can't find a way to disconnect from the internet with a VB 6.0 program.
I tried this http://www.vb-world.net/internet/tip21.html
But VB don't accept the first 5 lines and this part:
Public Declare Function RasHangUp Lib "rasapi32.dll" Alias _
"RasHangUpA" (ByVal hRasConn As Long) As LongPublic gstrISPName As String
Public ReturnCode As Long
Anyone have a way to do this, or corrections for the codes above
Thanks!
Niels
-
January 4th, 2000, 05:37 PM
#2
Re: Disconnect from the internet using VB
Try http://www.freevbcode.com, they have an example of how to hang up on their web site.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|