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

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.

Taidot: Visual Basic

Näytä lisää: 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

Tietoa työnantajasta:
( 27 arvostelua ) Mount Dora, United States

Projektin tunnus: #4221857

Myönnetty käyttäjälle:


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

$55 USD 0 päivässä
(7 Arvostelua)

2 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


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

$57 USD 2 päivässä
(9 arvostelua)