Solved

Getting fulling qualified network path

Posted on 1997-07-12
2
256 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

937 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

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now