Access Internet connection through VPN from VB6

kenshawjr
kenshawjr used Ask the Experts™
on
Hi Guys,

I need to modify a VB6 program to use an already available VPN connection to access the network. Can someone give me an idea on how to accomplish this in VB6?

Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
Call rasdial.exe for connecting VPN and just use VPN IPs.
You may also use automatically connecting VPN and just use IPs from another end of tunnel but this is not easy on client connections.

Author

Commented:
gtworek, How does rasdial work?
Commented:
It just dials specified connection. Of course it can "dial" VPN.
Just type rasdial /? in command line.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial