Click to See Complete Forum and Search --> : check if dialup networking is installed?
eanilarora
Aug 31st, 2000, 07:28 AM
In older OS's like win95
dial up networking is by default not installed.
i am developing a web based application I want to check whether dial-up networking and tcp/ip are is installed and if not then i should show the windows "Install Dial-Up Networking" dialog box.
is it possible ? Any API ?
wolfrog
Sep 5th, 2000, 07:44 AM
If you're using the VB-WinSock Control I can't help you because I prefer only the API alternative, but that's really tricky! So, if you're using API, tell me! I would paste the code here, but I don't have it at the time. In some hours I'll take a look at it!
wolfrog
Sep 5th, 2000, 01:41 PM
The WSAStartup() Function starts the WinSock Stuff in your appz, if it fails it return an error:
But remember: This is the first you have to do when using the WinSock-API but you much much more code if you want to write a client or server! You should search the web for such appz!
Public Declare Function WSAStartup Lib "wsock32.dll" (ByVal wVR As Long, lpWSAD As WSADataType) As Long
.
.
.
sub ????()
If WSAStartup(257, StartupData) Then
MsgBox "Winsock is not installed or Setup properly.", vbCritical, "Winsock Error"
End
End If
'here is much more init code....
end sub
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.