473,668 Members | 2,375 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Retrieving UNC Path of Mapped Drives on Client Machine

I Need to Retrieve the UNC Path of Mapped Drives on a Client Machine's (NT4 + y2k) on my Network, but I have been unsuccessful so far and I find seem to find a way to do this, any idea anyone

I need to try and finish this toda

Thanks in Advanc

Dean McCarte
ASP/VBS/VB.NET & ASP.NET Develope
Cumbria U

Nov 18 '05 #1
7 1920
Sorry forgot to say using vb.Net /asp.Ne

Thank
Dean
Nov 18 '05 #2
"Dean McCarten" <an*******@disc ussions.microso ft.com> wrote in message
news:56******** *************** ***********@mic rosoft.com...
I Need to Retrieve the UNC Path of Mapped Drives on a Client Machine's (NT4 + y2k) on my Network, but I have been unsuccessful so far and I find
seem to find a way to do this, any idea anyone.

I need to try and finish this today


Let us know how it came out.

If you want to do something on the client's machine, then you'll have to do
it on the client.
--
John Saunders
John.Saunders at SurfControl.com

Nov 18 '05 #3
John
The Above Comment was not useful to me
I understand that code code needs to communicate with the client, I first started to look @ remoteing but this does not seem to have the ablity to do what I require, trying to use API Calls has not worked. So Please on closing please
If you have any useful comments or advice to point me in the right direction, Then I will welcome it

The Application I need to design has to collect the users currently mapped drives, Installed Programs(Alread y Done) While the user fills out a form and record's all data in A Databas

This is the spec
so if anybody has any information or comments to help then please d

Thanks in Advanc

Dean McCarte
ASP/VBS/VB.NET & ASP.NET Develope
Cumbria U

Nov 18 '05 #4
Also This App is being done with ASP.NET in VB

Thank

Dean McCarte
ASP/VBS/VB.NET & ASP.NET Develope
Cumbria U

Nov 18 '05 #5
You could probably use Wsh client side (of course it likely needs to be
authorized first) :

http://msdn.microsoft.com/library/de...workdrives.asp

"Dean McCarten" <ha***********@ hotmail.com> a écrit dans le message de
news:23******** *************** ***********@mic rosoft.com...
Also This App is being done with ASP.NET in VB,

Thanks

Dean McCarten
ASP/VBS/VB.NET & ASP.NET Developer
Cumbria UK

Nov 18 '05 #6
Well I'm using an <identity impersonate="tr ue" userName="Admin istrator" password="Admin pass"/> in thw web config file, but have you managed to use the client side script in a asp.net page because It don't seem to wor

Please any more help would be grea

Thank

Dean McCarten
Nov 18 '05 #7
All Done, now Work Great Thank you for all of your help
Nov 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
6675
by: Matt | last post by:
I am migrating from NT 4.0 (IIS 4) to 2003 Server (IIS 6). Our Intranet has numerous applications that utilize the FileSystemObject (FSO) and each one is returning a "Path not found." error. These applications work fine on IIS 4. Here is the scenario: - Mapped Drives on server to anotheer network Drive (I.E. - Q:\) - IIS uses different Domain accounts for anonymous access (based on the application). - These domain accounts have all of...
1
1667
by: dwlawren | last post by:
I wrote a C# asp.net app. that uses MS Access as a backend. I forgot include in my design that the Link tables would break when I deployed the application to the "Live" server. The problem is: I can connect to the share on the "live" server but the person who will periodically update the Database cant --he has to use a SSH Secure File Transfer Client. So I can change the path in the "Link Table Manager" to "\\Newserver\NewShare\etc.."...
1
1416
by: Alex Stevens | last post by:
Hi All, I'm asking for opinion for the best way forward with storing the path of a network shared document in a SQL Server table. Essentially, I want to store in a part record the path to it's actual word document on my client's network. Currently, I am storing the mapped drive path when the user selects it using the OpenFileDialog object in VB.net.
3
1274
by: Tim Marsden | last post by:
Hi, Given a file Path, for example "C:\Data\Samples". How do I convert this to "\\Server\Share\Data\Samples" The original "C:" , "F:" etc may be local or a mapped network drive. I am trying to ensure the path (stored as sting in database) is valid from any machine, regardless of the drive mappings and shares on the machine. any suggestions, Tim
1
2788
by: Mark | last post by:
I posted this question some time ago, but didn't get a response. So, I'll try again. Hello, I have a VB.NET app which polls mapped drives periodically looking for files. However, if the mapped drive ever gets disconnected (remote machine reboot), the drive is disconnected. When the remote machine comes back up, the mapped drive generally stays disconnected(red x). But all it takes is a F5 keypress in explorer to make the drives...
2
4405
by: Gregor Horvath | last post by:
Hi, I have a testservice.py (see below). I installed the Windows-Service successfully. (via commandlineoption install) The problem is that it runs only when it is in c:\windows\system32 or in the python path. I added the desired path (Y:\) to the PYTHONPATH environment variable for the system account and rebooted. When I start command line python and do a import testservice everything is fine.
4
3108
by: DMG | last post by:
I have <identity impersonate = "true" /& <authentication mode="Windows"/in the web.config. This is a 2.0 site. My Goal: I want to simply have the user browse to a file on a mapped drive and get the UNC for that file and eventually save that unc path to the database as a link. The problem is depending on office we have the same drive letter mapped to different servers. My current test works when I run everything locally and maps...
3
10071
by: wreed | last post by:
Is there a way on a button press to create a browse for a file box and then when they pick a file on a share drive to convert it to a UNC path and that way I would save the unc path into a table and not have to store the file? If anyone has a solution to getting the UNC path I would love it. Please.
5
10030
by: =?Utf-8?B?SmVmZiBCZWVt?= | last post by:
Before you respond with "just use GetShortPathName" please read the rest. We have an application that places files on a file server using mapped drives as it's path of choice. The reason for this is because using a UNC paths makes the path longer, causing the periodic problem with a path that is too long (over 260 chars). We also have an asp.net app that needs to access those files. Accessing mapped drives from an IIS application is...
0
8459
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8890
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8791
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8575
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7398
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4202
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4373
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2018
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.