473,830 Members | 2,031 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to start a remote desktop control project

18 New Member
Hi

I want to create my own (Remote Desktop Control) using C# in Visual Studio 2003, that I can use it in any lab. (School lab or university lab).
So the lecturer could see the screen of student and could control certain one who needs help.

I just want to know what the first step is that I should begin with it ??
If anyone knows a good site that can help me in coding my project ???

Thank you.
Feb 1 '08 #1
7 7482
andrew4582
3 New Member
-Add a reference to the Microsoft Terminal Services Control under COM Components [Project -> Add Reference->COM Components

-Add control to a form

-Connect

Expand|Select|Wrap|Line Numbers
  1.         private void button1_Click(object sender, EventArgs e)
  2.         {
  3.             axMsTscAxNotSafeForScripting1.Server = "TheServer";
  4.             axMsTscAxNotSafeForScripting1.Domain = "TheDomain";
  5.             axMsTscAxNotSafeForScripting1.UserName = "TheUserName";
  6.             axMsTscAxNotSafeForScripting1.Connect();
  7.         }
  8.  
More Info:
http://msdn.microsoft.com/library/de...ml/w2ktsac.asp
Feb 2 '08 #2
moonalamoor
18 New Member
i tried the code
i put in the server the ip address but when i run it no thing happen
how can i know that i has connected to the other pc ?
Feb 8 '08 #3
Plater
7,872 Recognized Expert Expert
terminal services have to be enabled on the machine that you are trying to connect to.

NOTE:
Remote Desktop takes control over the system and gives it to the remote user.
Remote Assistance allows both the local user and the remote user to interact with the desktop at the same time. (Similar to if you had dual monitors, dual keyboards and dual mice)
Feb 8 '08 #4
moonalamoor
18 New Member
Thank you....

I want to build a software that can access pc remotly , view the screen and take the control of the mouse and the keyboard ((without logoff))
like the remote desktop connection of windowsXP (it's my graduation project)

i saw microsoft RDP client control component in C# i think that it will help me but idont have any idea of how to use

so can any one tell me how can i use this component?
Feb 9 '08 #5
moonalamoor
18 New Member
So do you know how to capture the screen and make it as picture
then send it to the client ??
Feb 10 '08 #6
Plater
7,872 Recognized Expert Expert
There are win32 API calls (and I *THINK* .NET calls) that will grab the image of the screen as a bitmap. You could then send it if you wanted to.

MSDN should have something on the RDP component, might have to dig for it though.
Feb 11 '08 #7
moonalamoor
18 New Member
i will use the windows terminal services component in my project to access pc from another pc remotly
i know that it is used in remote desktop connection that is already in windows OS

what i want to know is that if i use it to access there other pc it will logoff ,, or nt
i dont want the accessed pc to logoff so is there an option to avoid the pc from logoff ???
Feb 11 '08 #8

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

Similar topics

9
10230
by: Etienne Charland | last post by:
Hi, there is an application running on a remote desktop (under Citrix ICA, but the same problem applies for RDC or PC Anywhere). Now, I want to send keys to the remote application from a local app. I tried sending keys in VB with SendKeys, as well as using keybd_event API, but I'm not able to send any keys. It works very well for any local applications, but I can't pass the keys remotely. Is there any way to do it? Thanks! Etienne
3
6377
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 Remote Desktop ActiveX control in my C# app and this works fine. However i have now a new requirement for my app: multiple users have to be able to view and control the same remote desktop simultaneously using my application. Big problem:...
16
4231
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the project in debug mode (by hitting F5) it gives an error message "Error while trying to run project: Unable to start debugging on the web server.
17
6458
by: UJ | last post by:
Is there any way for a windows service to start a windows program ? I have a service that will need to restart a windows app if it needs to. TIA - Jeff.
6
6497
by: uuyytt | last post by:
I have a Windows service from which I want to start Internet Explorer with a particular URL as an argument. I don't know why my code (shown below) doesn't work. I know that IExplore.exe starts as I can see it in my task manager, but it is not visible. Can anyone explain what is happening? My code: Process p = Process.Start("IExplore.exe", m_strURL);
2
1863
by: AsemAglan | last post by:
help me please quickly i want a java program to make a remote control to another pc suppose : there is a Server and only one Client for easing, and this Client want to remotely control that Server for example - Watch the client Desktop - Execute some System function like Shutdown ..etc. - Browse Server My Computer ...
15
7095
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 every second. I remote desktop to the computer hosting this application and run the application. It starts up and displays the counter incrementing every second. If I disconnect the network cable between the two computers for 10 seconds and...
0
1465
by: moonalamoor | last post by:
hello all I want to build a software that can access pc remotly , view the screen and take the control of the mouse and the keyboard ((without logoff)) like the remote desktop connection of windowsXP (it's my graduation project) i saw microsoft RDP client control component in C# i think that it will help me but idont have any idea of how to use so can any one of you tell me the steps to do the project and how can i use this component?
12
2384
by: Jonathan Wood | last post by:
Greetings, I wonder if anyone can help me with this. I have an XP laptop, and a Vista desktop computer. I use the laptop to run software remotely on the desktop using the Remote Desktop Connection software. Everything is working just fine. However, whenever I run an ASP.NET Website project in Visual Studio, the browser pops up a "Connect to localhost"
0
9786
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
9641
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10769
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...
1
7741
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6948
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
5778
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4409
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3956
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3073
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.