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

Closed

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.

Skills: Visual Basic

See more: access lan credentials using vb6, pass lan password vb6, check lan using vb6, code user password vb6, access lan using vb6, protected network vb6, vb6 lan, check lan enabled vb6, to find a solution, find the solution for, find the password, find a solution for, find a password, code path lan vb6, password protected, system source code using vb6, lan access, code using vb6, network check, vb6 function, location code, command source code, system using visual basic access, network lan, prompt

Project ID: #4221857

Awarded to:

diegogarcia0531

Hi, I have the solution for your problem, just accept my bid Best Regards Diego

$55 USD in 0 days
(7 Reviews)
3.8

2 freelancers are bidding on average $56 for this job

adim

Top 1% in VB6 on Freelancer and lot of experience in this field, please check PM.

$57 USD in 2 days
(9 Reviews)
4.1