![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | r Hi I am a newbie to ASP.NET and VBScript, currently I am designing a page to show all the mapped drives using client-side scripts.. I want to read all the mapped drive details (name and Remote Path) from the registry ("JKEY_CURRENT_USER\Network\") then I want to show this in list box like P: \\machine1\folder1 Z: \\mahcine2\folder2 How to read all the keys (i.e.: drive names D,E,F...Z) under "HKCU \Network" and "RemotePath" key under each drive names using script (VB or JAVA) ? Also tell me how to use this script in the ASP.NET page or Class file to fill the list box control Its bit urgent.. Thanks in advance Msk. |
My System Specs![]() |
| | #2 (permalink) |
| | r You cant access the registry on the client as browsers dont allow that access from javascript or vbscript. On the server you could run code to read the registry but that wont help as you would possibly get it from the account that runs the ASP.NET worker process which probably wont have any mapped drives. Why is this a web application and not a windows forms application. Then you would be able to do all this stuff. -- Ciaran O''Donnell http://wannabedeveloper.spaces.live.com "MSK" wrote: Quote: > Hi > > I am a newbie to ASP.NET and VBScript, currently I am designing a page > to show all the mapped drives using client-side scripts.. > I want to read all the mapped drive details (name and Remote Path) > from the registry ("JKEY_CURRENT_USER\Network\") then I want to show > this in list box like > > P: \\machine1\folder1 > Z: \\mahcine2\folder2 > > How to read all the keys (i.e.: drive names D,E,F...Z) under "HKCU > \Network" and "RemotePath" key under each drive names using script > (VB or JAVA) ? > > Also tell me how to use this script in the ASP.NET page or Class file > to fill the list box control > > Its bit urgent.. > > Thanks in advance > Msk. > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |