-
I am using the following line to open a dialup connection and was wondering what I would need to do to make this compatible with WinNT and Win2000.
Shell "rundll32.exe rnaui.dll,RnaDial " & strConnectName, vbNormalFocus
Also, what is the best way to check the operating system (ie. win95/98, winNT, win2000)
I would also like to thank all of you who participate in these Q & A sessions, it really helps us new programmers and is cheaper than any book. :)
-
I don't know nothing about Win2000, but this code works Win95/98 and NT4
Public Sub ModemCallWin95_98()
Dim WIN
WIN = Shell("rundll32.exe rnaui.dll,RnaDial " & "Connect Name", 1)
End Sub
Public Sub ModemallWinNT()
Dim NT
NT = Shell("rasphone.exe [-d Connect Name]", 1)
End Sub
-Dj4