Solved

Getting fulling qualified network path

Posted on 1997-07-12
2
261 Views
Last Modified: 2013-12-03
Hi,

I am writing a VC5 application and I need to get the fully qualified network path of a drive on the machine from which I am runnning my application.
So if my drive D: is shared as DRIVE_D and my computer is known  to the network as MY_COMPUTER, I'd like to programatically convert drive d: to \\MY_COMPUTER\DRIVE_D

I could not find any Windows 95 API to do that.

Thanks for your help.
Ralph.
rakhras@hotmail.com

0
Comment
Question by:rakhras
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
ID: 1400713
Have you tried ::WNetGetUniversalName() function? I am not sure if it works in this case.
0
 

Author Comment

by:rakhras
ID: 1400714
Miscrosoft has reported that WNetGetUniversalName fails under Windows 95. I found however some sample code provided by Microsoft that performs the same functionality.
Thanks.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question