Results 1 to 3 of 3

Thread: check if dialup networking is installed?

  1. #1

    Thread Starter
    Addicted Member eanilarora's Avatar
    Join Date
    Aug 2000
    Location
    Malaysia
    Posts
    179

    Angry

    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 ?

  2. #2
    Junior Member
    Join Date
    Aug 2000
    Posts
    30

    Cool 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 ( )!

  3. #3
    Junior Member
    Join Date
    Aug 2000
    Posts
    30

    Talking 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
  •  



Click Here to Expand Forum to Full Width