Hi Paul,
Try this:
Shell ("rundll32.exe rnaui.dll,RnaDial Storm")
Substitute the name of your connection for "Storm".
Visit this site, I find it invaluable.
http://www.mvps.org/vbnet/
HTH
Dan Artuso, MVP
Quote:
> I've been playing around with VB6 and have been trying to get a program I'm writing to use the
> default dialup on a system.
> I can get the program to use a shell command to launch IE or Netscape and then the default dialup
> would appear, but I would prefer just to get the dial up itself to appear.
> Can anyone point me in the right direction as I have been through the manuals and trawled
> Microsofts site to no avail
> Many Thanks
> Paul