VB6 code to prompt for network (LAN) password when connecting to password protected source

This project was awarded to diegogarcia0531 for $55 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
$30 - $250 USD
Total Bids
Project Description

This is something I have never been able to find a solution for. When using a command like:

Open "\lancomputer\path\[url removed, login to view]" For Input As #1

If the "lancomputer" has password protected sharing enabled the command will fail, however you can then browse with Explorer and access the location and instead of failing it will prompt you for credentials.

I am looking for VB6 code, using API if required (sure it will be) to do the following functions below.
1. Function to check if a network path is inaccessible because it is password protected.
2. Function to pass user name and password to system to allow access if it is password protected.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online