|
-
Jun 2nd, 2000, 03:40 AM
#4
Junior Member
take a look at this: an earlier post where someone asked how to disconnect an internet connection through VB. It seems very similar to your problem. Let me know if this helps at all
This may be useful:
--------------------------------------------------------
InternetHangUp Function
--------------------------------------------------------
Instructs the modem to disconnect from the Internet.
Syntax
DWORD InternetHangUp(
IN DWORD dwConnection,
IN DWORD dwReserved
);
dwConnection
Unsigned long integer value that contains the number assigned to the connection to be disconnected.
dwReserved
Reserved. Must be set to zero.
code:--------------------------------------------------------------------------------
Declare Function InternetHangup Lib "wininet" (ByVal dwConnection As Long, ByVal dwReserved As Long) As Long
--------------------------------------------------------------------------------
Try InternetHangup(0, 0)
__________________
- Steve
Real programmers use COPY CON PROGRAM.EXE
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
|