Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WNetAddConnection ???

Status
Not open for further replies.

chaitu

Programmer
May 30, 2002
17
MO
Hi,

Using this function (WNetAddConnection) supported in "mpr.lib", I am able to map a folder on LAN by mentioning its sharename. But when I try to map using its IP address or any other http folder, I get an error saying, no 'Network Provider found'.

Is there any other function to establish the http connection?
Any API?

Help...

Thanks in adv,
Chaitu
 
Maybe you should do an internet sharing for this folder. John Fill
1c.bmp


ivfmd@mail.md
 
under W2k you can doo right click on the folder and choose internet sharing. What to do forward is up to you. John Fill
1c.bmp


ivfmd@mail.md
 
You might try using WNetAddConnection2, I use this function to map some shared folders and have to use the machines IP address with it, and it works just fine.

Hope this helps.
 
Thanks,

But does it work even with WebFolders. By Webfolders, I mean shared folders on the internet. For this, the parameter for the function WNetAddConnection would be something like, "
This doesn't seem to work. Is there a way that I can do this?

cheers,
Chaitu
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top