473,385 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Remote Desktop Connection

I have a question when using “Remote Desktop Connection” with the option selected to connect with my local drives. As you know when you select Explorer, it lists the remote computers hard drive tree first followed next by your own computers hard drives tree. My question is what is the correct path name back to your own C: drive? In explorer its listed as “C on MyComputer”. Does that make it \\MyComputer\C:? And if thats correct, how can you thu Access programming determine the “Full Computer Name” of your computer. What is the variable name of “MyComputer”? Thanks- Ken
Apr 14 '08 #1
4 1520
maxamis4
295 Expert 100+
Does that make it \\MyComputer\C:?
No that is incorrect. The machine name can be found by right clicking on my computer and looking in the Computer Name tab. The mapping would be \\[YOUR COMPUTER NAME]\C$. However by default windows blocks this type of access to prevent your data from being ripped from your C: drive. You will have to go into computer managment console and allow your C drive to be shared.

how can you thu Access programming determine the “Full Computer Name” of your computer?

There are many ways. You can google MS Access API computer name or you could even go through WMI which is the preferred. Before I continue any further I have to ask how well do you understand programming. The next bits of information will require some knowledge to get by. But if you google MS Access+WMI+computer Name you will get what you want.
Apr 15 '08 #2
Does that make it \\MyComputer\C:?
No that is incorrect. The machine name can be found by right clicking on my computer and looking in the Computer Name tab. The mapping would be \\[YOUR COMPUTER NAME]\C$. However by default windows blocks this type of access to prevent your data from being ripped from your C: drive. You will have to go into computer managment console and allow your C drive to be shared.

how can you thu Access programming determine the “Full Computer Name” of your computer?

There are many ways. You can google MS Access API computer name or you could even go through WMI which is the preferred. Before I continue any further I have to ask how well do you understand programming. The next bits of information will require some knowledge to get by. But if you google MS Access+WMI+computer Name you will get what you want.

I can not seem to get it to work. Both the remote connection computer and my computer are SHARED. This is my code on the remote computer:

strDestinationDrive = "\\KenMain\C$tmp2.xls"
DoCmd.OutputTo acOutputTable, "tmp1", acFormatXLS, strDestinationDrive

MS says error 2302, "can't save the output data to the file you've selected"
Thanks in advance -Ken.
Apr 15 '08 #3
maxamis4
295 Expert 100+
I
strDestinationDrive = "\\KenMain\C$tmp2.xls"
DoCmd.OutputTo acOutputTable, "tmp1", acFormatXLS, strDestinationDrive
.

here is what it should look like strDestinationDrive = "\\KenMain\C$\tmp2.xls"

but as mentioned before, just sharing in Windows will not give you access to the C: drive by default. For acess to the c: or the root you will need to modify permissions under computer managment console under the disk management window.
Apr 17 '08 #4
here is what it should look like strDestinationDrive = "\\KenMain\C$\tmp2.xls"

but as mentioned before, just sharing in Windows will not give you access to the C: drive by default. For acess to the c: or the root you will need to modify permissions under computer managment console under the disk management window.
I never heard of the "computer managment console" or the "disk management window" but I gave it a try. I did not win! I got to where it asks for "Another Computer" but each time I entered MainComputer it said the network path was not found. I then tried logging into MainComputer and gave it MyComputer, but that not right too. What am I doing, what am I doing wrong? Help -Ken.
Apr 18 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Elp | last post by:
Hi, I have developped a Windows applcation (in C#) that allows, among other things, users to view and control the desktop of a remote Windows XP Pro machine. I have actually simply embedded the...
1
by: vighnesh | last post by:
Hi All I am dealing a project in ASP.NET in which I have to establish a connection to SQL Server 2000 database,where the database was located on a remote system. For this I have used...
1
by: anonieko | last post by:
Problem When Remote Desktop to my main office machine, and when trying to connect to SQL Express, I was becoming increasingly frustrated with the following error: Error: 'Failed to generate a...
8
by: trullock | last post by:
Hi, Is there a way to launch an remote desktop connection to a specified server/username from c#? If there's a way to send the password too that would be useful, but i'm not so interested in...
15
by: =?Utf-8?B?TVNU?= | last post by:
To demonstrate my problem, I have a very simple VB Windows application. It has a text box that is used to display a counter, a button to reset the counter, and a timer that increments the counter...
3
by: mac420 | last post by:
I want to implement remote desktop connection in C#.net same as Program->Accessories->Communications->Remote Desktop Connection can anybody plz help me Thanx in advance
2
by: CLM | last post by:
When I test the remote access at work (lapttop computer to desk top computer) the connection works fine. When I bring the laptop home and try to connect to my desktop I get the error msg: The...
4
by: chris | last post by:
Hi guys I have a Frontend and Backend DB that works well on my LAN. I use a INI file Path, to access a mapped network connection back to the Backend Data file. Path=F:\Server\Data.mdb I...
12
by: sakthikumarb | last post by:
Hi , I need to monitor for Remote desktop connection is made for a particular host. There is any WMI event ?.if not how can monitor for remote desktop connection.. (Basically i need to generate...
0
by: Andy | last post by:
Hello all, I have a user using Remote Desktop connection, who is getting an error when trying to print. When my program starts, he get's an error 2205, the default printer isn't set up...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.