|
-
Aug 31st, 2000, 07:28 AM
#1
Thread Starter
Addicted Member
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 ?
-
Sep 5th, 2000, 07:44 AM
#2
Junior Member
dial up networking
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!
Currently using VB6 Enterprise, but VC++ is much better for API (  )!
-
Sep 5th, 2000, 01:41 PM
#3
Junior Member
Check for WinSock Installation
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!
Code:
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
Currently using VB6 Enterprise, but VC++ is much better for API (  )!
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
|