|
-
Feb 23rd, 2000, 05:05 AM
#1
Thread Starter
Hyperactive Member
How can I connect to the net using an existing Dial Up Networking connection in VB6?
Basically, I want to click a button, and it connects me to that DUN.
Thanks,
-
Feb 27th, 2000, 02:30 PM
#2
Lively Member
You can use this way:
Public Sub ModemCallWin95_98()
Dim WIN
WIN = Shell("rundll32.exe rnaui.dll,RnaDial " & "Connect Name", 1)
End Sub
AND:
Public Sub ModemCallWinNT()
Dim NT
NT = Shell("rasphone.exe [-d Connect Name]", 1)
End Sub
OR:
Goto www.catalyst.com and download here free Socket French -package.
- Dj4
-
Feb 27th, 2000, 09:24 PM
#3
Thread Starter
Hyperactive Member
The problem with
Code:
Public Sub ModemCallWin95_98()
Dim WIN
WIN = Shell("rundll32.exe rnaui.dll,RnaDial " & "Connect Name", 1)
End Sub
is that it only opens the Dial-Up box, it doesn't actually connect.
I'm looking for an actual connect.
-
Feb 27th, 2000, 09:24 PM
#4
Thread Starter
Hyperactive Member
The problem with
Code:
Public Sub ModemCallWin95_98()
Dim WIN
WIN = Shell("rundll32.exe rnaui.dll,RnaDial " & "Connect Name", 1)
End Sub
is that it only opens the Dial-Up box, it doesn't actually connect.
I'm looking for an actual connect.
-
Feb 28th, 2000, 01:41 PM
#5
Lively Member
Goto www.catalyst.com and download here free Socket French -package.
That package include Ras ocx-component. Using that component you can connect actually.
- Dj4
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
|