Click here to Skip to main content
15,881,803 members
Everything / Remote

Remote

remote

Great Reads

by honey the codewitch
Control the sound from your Sonos system in each room of your house
by Michael Chourdakis
My ideas about remote debugging and my implementation.
by Marius Iulian Mihailescu, Stefania Loredana Nita
The main purpose of this article is to describe the advantages of using RMI in the process of developing distributed applications using Java. RMI is one of the classic methods compared to other modern methods (e.g. .NET Remoting, WCF Services etc.), used for accessing objects remotely.
by Uladzislau Baryshchyk
A walkthrough and source code for creating telegram bot using C# and deploying it on AWS

Latest Articles

by Jason Sultana
A look at some injection-style vulnerabilities
by Divya Ulasala
Check out remote Git branch that does not exist on local clone
by honey the codewitch
Control the sound from your Sonos system in each room of your house
by Uladzislau Baryshchyk
A walkthrough and source code for creating telegram bot using C# and deploying it on AWS

All Articles

Sort by Score

Remote 

13 Dec 2022 by honey the codewitch
Control the sound from your Sonos system in each room of your house
20 Mar 2016 by Michael Chourdakis
My ideas about remote debugging and my implementation.
8 Mar 2015 by Marius Iulian Mihailescu, Stefania Loredana Nita
The main purpose of this article is to describe the advantages of using RMI in the process of developing distributed applications using Java. RMI is one of the classic methods compared to other modern methods (e.g. .NET Remoting, WCF Services etc.), used for accessing objects remotely.
23 May 2021 by Uladzislau Baryshchyk
A walkthrough and source code for creating telegram bot using C# and deploying it on AWS
4 Jan 2012 by fjdiewornncalwe
Take a look at this article on MSDNHow to: Upload Files with FTP[^].It outlines how to use credentials and such with a very nice clean code sample.
4 Jan 2012 by Sergey Alexandrovich Kryukov
File copy does not work with FTP. I provided a complete solution in my past answer, please see: FTP: Download Files[^].—SA
29 Jul 2012 by OriginalGriff
Don't try to access it via SQL server - use the SqlCE connections instead.This means replacing:SqlConnection with SqlCeConnectionSqlCommand with SqlCeCommandand so forth.You will also need to provide a reference to System.Data.SqlServerCe (in system.data.sqlserverce.dll)
19 Sep 2012 by loctrice
this was , as the comment suggested, a moon phase bug. Something quirky.I have a witness to ensure that I was not imagining it. We also connected from another computer there in the office and it worked fine. The "hail mary" that worked was to start the application, then go back home and...
3 Dec 2013 by Sergey Alexandrovich Kryukov
You cannot directly do it, and you should not. Please see my comment to the question.If the client is disconnected, it does not simply exist for the service. Everything is triggered by the initiative of the client, not service.The fact that you can ping the client's host means nothing....
15 Dec 2013 by DaveAuld
I have spent numerous hours over the last few weeks and carried out hundreds of google searches and tried tons of various things and cannot succeed in getting a remote desktop session to successfully work beyond the login prompt.I have tried the same on both Ubuntu 12.* and 13.* variants...
27 Feb 2014 by Maciej Los
How do i write ...?There is only one answer: start writing ;)Have a look here: TabControl Class[^]. More samples you'll find here[^].
3 Mar 2014 by Andrius Leonavicius
Hi,Please read these:1. Configuring MS SQL Server for Remote Access[^]2. Configure Microsoft SQL Server to allow remote connection and remote SQL Management Studio access[^]If you're stuck somewhere, please ask specific question.
27 May 2014 by Raul Iloc
1.If your folder is in your local network (LAN), the folder is shared in the LAN in the way that you have access from your computer to it, you could access it by using relative URL to the remote computer folder like: "\\RemoteFolder\\SomeFile.txt".See details here about how to copy the...
7 Jun 2016 by Richard MacCutchan
Try at Index :: Support Forum :: WinSCP[^.]
22 Sep 2016 by CPallini
You could use two .NET applications, one othe the local machine (say client) ant the other on the remote one (say server). The network communication happens between client and server so that you may use WCF (or whatever). The server interfaces with the C++ DLL (using, for instance...
22 Feb 2021 by grilialex
In scientific projects, it is often needed to sample sounds from remote locations, for classification or other purposes. As data link rates may be low or unreliable, transmitting raw samples to inland processing centers may not be an option. An alternative is to do off-line processing in batches.
4 Jan 2012 by Harish Kumar Bansal
Hello,i have to copy files from ftp to remote desktop computer.try{ File.Copy("ftp://IP Address:Port/My Folder/MyFile.dll", @"Remote IP Address\My Location");}catch(Exception ex){ Console.Write(ex.Message);}But, i could not do this. I think the possible reasons...
26 Jan 2012 by that143guy@yahoo.com
I have developed a WPF application on my workstation using Visual Studio 2010 Professional, which is a Windows 7 64-bit machine. I have been getting crash reports about the application on 2 other machines. One of them is a Windows XP 32-bit machine and another one is a Windows 7 32-bit...
3 Feb 2012 by OriginalGriff
The threat writeup says:"Bloodhound.SONAR.2 is used exclusively by Symantec antivirus products when a potentially unknown risk is found using Symantec Bloodhound technology. Bloodhound technology consists of heuristic algorithms that are used to detect unknown risks."Which means that your...
7 Jun 2012 by Tim Corey
You can use a Windows function to determine if you are running on Remote Desktop (a session) or directly on the machine (host computer). Here is a Stack Overflow question with the information you...
5 Jul 2012 by Sandeep Mewara
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No...
22 Jul 2012 by Espen Harlinn
RPC comes in many flavours. You can use TAO[^] which is an excellent implementation of the CORBA[^] specification - and a wide range of examples are included with the download. Then there is DCE RPC[^], and a variant of DCE RPC is included with Windows[^] - you will find that a number of...
10 Aug 2012 by Bernhard Hiller
In a client-server environment, it is always important to know where to run which program and how to communicate the results. Since your files are on a server with which you communicate via http, the code for filtering ought to be run on the server, too. That means, the code must be placed e.g....
19 Sep 2012 by loctrice
I am working from home today and just figured out that my application is not even making requests to localhost (found by breakpoints). This just happened as of this morning, and I can assure you it was working on site.I have two projects in one solution. I have a web project and a wpf...
21 Sep 2012 by Sergey Alexandrovich Kryukov
First, look how RDP service works. You can use it to launch some applications on the machine acting as a server. I'm not saying that you should use RDP. I'm just saying that to be able to run applications on the server on request of client, you apparently need to create a Windows Service...
3 Oct 2012 by JF2015
I suggest you use this library. It allows you to use as many VPN connections as you want:http://cdot.senecac.on.ca/projects/vncsharp/index.html[^]
17 Oct 2012 by Mukesh_Chauhan
app.manifest should be like this:
24 Jul 2013 by Sergey Alexandrovich Kryukov
Remote desktop application is unrelated to WCF, because it uses its own protocol, RDP:http://en.wikipedia.org/wiki/Remote_Desktop_Protocol[^],http://en.wikipedia.org/wiki/Remote_Desktop_Services[^].You can find good samples of the client on CodeProject:Remote Desktop using...
17 Sep 2013 by Sergey Alexandrovich Kryukov
Please see my comments to the question. Formally, the answer would be: use the Remote Desktop feature. The remote computer you want to control should run the RDP server. And the computer you want to connect and use for the control should use the RPD client. Please...
23 Oct 2013 by Prasad Khandekar
Hello Prathamesh,This link[^] should help you configure this in your environment.Regards,
7 Jan 2014 by Vic91
I'm building a Windows Service that takes care of our ETL process by executing packages and SQL commands on different cues, like files dropped in a folder and such. This must be done in a windows service hosted on our data warehouse server, because it needs to be monitored from different...
5 Feb 2014 by Mehdi Gholam
Start here : Remote Desktop Web Access (RD Web Access)[^]
12 Feb 2014 by hari111r
Hi All,I want to create my own remote desktop web access page(RDWeb). I have a task to create a citrix like page that need to be linked with my web application. or is there any option to edit the RDweb pages.It that possible.Please help me comeout of it.
12 Feb 2014 by hari111r
Hi,I would like to embed the (MsRdpWebAccess.MsRdpClientShell) active-x control from Remote desktop Web access (win 2008 r2) in my own web page?orIs there any way to use rdp file in web application
13 Feb 2014 by Sergey Alexandrovich Kryukov
If you really spent (should I say "wasted"?) whole two years for such things (did I get you correctly? or may be you also did something else, something useful? :-)), I would think about some career change. :-)On CodeProject, you can find at least two decent projects, apparently built "by...
18 Feb 2014 by Raul Iloc
Your service run on a default user like "LocalSystem" that may have limited rights, so you have two solutions:1)create a new user on your server then give it to them access rights, then start your service by using this new user;2)give the access rights to the existing default user used by...
20 Mar 2014 by Maarten Kools
Is the Microsoft RDP Client Control a native DLL?If your .NET application is built for 64-bit, you'll also need to include a 64-bit native library. Likewise, the same goes for a 32-bit application. While your .NET program might be AnyCPU, or even 32-bit, and the native library isn't the...
15 Apr 2014 by James_Finch
Why not create a server / client program set? It's not too difficult to create a server client relationship using TCP or some other protocol other than RDP. The 'client' can monitor pretty much any activity on the host machine (as well as control it) and report back to the 'server'.
15 Apr 2014 by Sergey Alexandrovich Kryukov
AsmoconX wrote:This is a test environment and information is not meant to be added or modified on the remote systems (for validation and testing requirements). The test-process requires us to login to the system using a Remote Desktop Connection and perform a set of tests within that Remote...
6 May 2014 by Manas Bhardwaj
I would personally use PowerShell instead of C# for these kind of Sys Admin tasks.Here is an article on how to do this with...
7 Feb 2017 by discompsys
An easy way to allow local objects with direct access to invoke methods on a class, but prevent them from being part of the public API, for remote invocation.
29 Mar 2017 by Patrice T
Quote:I want to develop a project like Team Viewer.Teamviewer is simple for user because the programming team is skilled and have made a complicated program that hide complexity to users.TeamViewer is also huge, if you plan to do it alone and start from scratch, plan a 10+ years effort, or...
8 Sep 2017 by Graeme_Grant
The error message is pretty clear. This is not a programming issue but a file access issue. I suspect that the file that you are trying to open is exclusive held open by another application.
7 Jan 2021 by EngAb1989
After I spent long time. I reach to this solution and hope the others who face this problem can take this solution import paramiko import os ssh = paramiko.SSHClient() ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())...
25 Jan 2021 by RickZeeland
See "Connect to Remote SQL Server instance to populate data" in this article: MERGE: Updating Source and Target Tables Located on Separate Servers – {coding}Sight[^] You might also be interested in: database-syncing-solutions[^]
13 Jul 2021 by Dave Kreskowiak
Save yourself the pain of this not working at all in future versions of Windows and create a small application that launches on user login. This app can "register" itself with the service application, receiving notification from it and launching...
15 Dec 2021 by Dave Kreskowiak
You're going to have to ask your work IT how to do it. The server could be exposed directly to the internet (bad idea!), or you might have to go through a VPN to get back into the work network (most likely), or you might have to use some proxy.
6 Feb 2022 by Dave Kreskowiak
The rather lengthy code snippet at this page[^] seems like it'll do the trick. Once authenticated, you can open an Explorer window to the UCN path just by passing the UNC path as the argument with "explorer" as the Filename.
12 Mar 2024 by Jason Sultana
A look at some injection-style vulnerabilities
21 Dec 2011 by sunit_82
Hi http://msdn.microsoft.com/en-us/library/windows/desktop/aa380809(v=VS.85).aspx[^]What i'm trying to achive is to have a webpage in a website with Remote Desktop ActiveX control available in link above. By this I want to remote desktop to the machine hosting the website through...
21 Dec 2011 by Sandeep Mewara
AFAIK, this should be possible: "I want to remote desktop to the machine hosting the website through internet from any other machine."You need to make sure that the system you are trying to access using remote desktop via internet is configured such that it has public IP address. ActiveX...
22 Dec 2011 by girirajshah
hi, I m Searching for source code or help for REMOTELY APPLICATION INSTALLER that is able to intall any software remotly over connected machine in LAN as its remotly installer i need to add silently features for installing any software by this application that remote machine doesn't know abt...
22 Dec 2011 by jerfypowell
Here is what I googled for SCCM and C#.I know its not exactly what you are looking for, but maybe it will lead you in the direction you want.http://social.technet.microsoft.com/Forums/en-US/configmgrsdk/thread/f4d23b91-4bc2-45ac-a943-391e28ff7a25/[^]SCCM is a Microsoft Product...
8 Jan 2012 by Rahulostwal
You have to use FtpWebRequest & FtpWebResponse and after that you have to get response.FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://path/test.htm"); request.Method = WebRequestMethods.Ftp.UploadFile; // This example assumes the FTP site uses...
13 Jan 2012 by Harish Kumar Bansal
HiHow to access remote desktop computer using my code? I want to access a location on remote desktop. also, i want to add files, delete files, list of files in a particular folder in remote desktop.for example,i want to access this location in remote desktop:...
13 Jan 2012 by Reiss
Take a look at this[^] CP article
23 Jan 2012 by cutexxbaby
i have trying to on how to do on reseting password by emailhowever when i click on the button it prompt "The remote name could not be resolved: 'myemail@hotmail.com' at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket&...
23 Jan 2012 by Jaganathan Bantheswaran
Hi,The smpt.Host should be like,smtp.Host = "smtp.live.com" // whatever the mail server for the hotmail
3 Feb 2012 by manokcode
I have developed a Remote Desktop Connections manager to manage multiple machines between the two different networks using MSTSC ActiveX control in C#. Also, I am keeping the server, username, password (enc) and such information in a file. And when I click connect it will automatically open a...
25 Mar 2012 by Juliaku860801
Hello all, We've met a problem using RDP: unable to force log-off the remote session. That means, when we, let's say, press "Escape" button on the remote host, the session is logged off, our server gets corresponding event rdp.Disconnect(); and everybody is happy. BUT sometimes we have to...
15 Apr 2012 by GS_windows
Hello,When I try to launch a startup application through remote desktop in Windows 7, it is hidden. I guess it happens due to session 0 isolation as terminal services run in session 0. I want to make this application and all its windows visible. Is there any way to do so on Windows?I...
23 May 2012 by Ali_100
Actually I am accessing the remote pc, as i double click at any file of remote location it write 0 even in word file, notepad etc.. but the serious issue is that as i click any C# file it will checkout automatically because it write 0 on the file.,,,I am exhausted to do undo pending...
30 May 2012 by ♥…ЯҠ…♥
I usually open through mstsc.exe in run command,After googling several times i found that we can share the local machine folder using the mstsc.exe command. 1) Type mstsc.exe in Run Command 2) Select your remote server(that you intended to connect) in the dropdownlist box 3)...
7 Jun 2012 by Graham Eady
I have developed an application that detects if it is already running using Diagnostics.Process.GetProcessesByName(Diagnostics.Process.GetCurrentProcess.ProcessName) method.But I have a customer with it installed on a Server 2003 that also hosts Remote Desktop connections. When these...
23 Jun 2012 by elidrissi.amine1
I executed the following instructionBACKUP DATABASE jpa TO DISK = 'G:\backJpa.bak'In the SQL server management studio of my home machine which is connected via local network to the sql server of my company.Note that 'G:\backJpa.bak' references the path that exists in my machine not in the...
23 Jun 2012 by Sandeep Mewara
"the specified path isn't found" It's pretty clear that the issue is with path provided. The way you are trying to access it and then backup is not working. Verify the location of database being mapped correctly to the path given and then verify the path given for saving it is accessible.
5 Jul 2012 by Parviz Bazgosha
hi every body.my sql server cant be access from remote connetioni enabled allow remote connetion at connetion and but i cant access to sql server from a other computer at networkplease help me
17 Jul 2012 by gconyers
Trying to pull registry values from remote domain machines to see who last logged on. So I have a couple of fields for username, pass and computername..Based on that data I am trying to view the registry of the remote machine and pull this key...Currently I do this in...
17 Jul 2012 by wizardzz
Doesn't OpenSubKey() return the values you need?It returns a RegistryKey object. You should probably get the info you need from the returned object.http://msdn.microsoft.com/en-us/library/z9f66s0a.aspx[^]
18 Jul 2012 by aLcoHolicDevil
Hi all,I am creating one application of Remote Procedure Call where i have passed a stringbut i am still not able to pass a Structure between client and server.Please can anyone help me... Thanks,Kunal Shah
18 Jul 2012 by Eugen Podsypalnikov
Try to pass an IStream pointerafter the writing of the structure into its content :)See also: Transferring Data with Stream Objects[^]
20 Jul 2012 by gconyers
Ended up going w/ RegistryKey.OpenRemoteBaseKeyI.e. RegistryKey hive = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, remotemachine, RegistryView.Registry64);//sample//Clears last run result txtResult.Clear(); //Begin Error Handling ...
27 Jul 2012 by Mehdi Gholam
Connecting to a SQL server is the same if you are in the same network : http://www.connectionstrings.com/[^]If you are not in the same network (i.e. you can't ping the server) then you must setup a VPN/port forwarding system first.
15 Dec 2013 by Pooya F.A
I use this connection to connect to my .sdf database:"Data Source = c:\\Database1.sdf"but when i want to open the connection by "connection.open", it throws this exception: "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server...
17 Sep 2012 by getrelax
I have web application that is developed using ASP.NET. The application calls IBM queue for message based communication. When i run the application locally it works perfect, but when i run it remotely (after it is deployed on IIS) the application returns error just at the point it calls the IBM...
17 Sep 2012 by Manfred Rudolf Bihy
Maybe you have access (port, firewall, access rights) to the IBM message queue installation from your local system, but that access is lacking from your server installation where you're trying to run your application.Logon to your remote server and try a telnet to the server / port where your...
19 Sep 2012 by Thanh Hoang
Hi,I am using ASP.NET, MVC 3, RazorI use Remote for server validation. My problem is the checked value of RadioButton is always the value of the first RadioButtonMy Model:using System;using System.Collections.Generic;using System.Linq;using System.Web;using...
21 Sep 2012 by Sergey Alexandrovich Kryukov
This is the alternative solution which might fit your purposes: Sysinternals PsExec tool.First of all, Sysinternals is a set of utilities which a must-have for any developer on Windows. Please see:http://technet.microsoft.com/en-us/sysinternals[^].It would be good to download the whole...
3 Oct 2012 by Pasan Eeriyagama
The requirement is to have 4 desktops to be set on single Desktop app. Is there any Dll that we can make use of in order to get 4 Computer screens onto a single screen. This means Split screen, so we can do work on 4 screens at the same time. This is actually needed for monitoring purpose.
4 Oct 2012 by Pasan Eeriyagama
VNCSharp seems to be a good one. Thanks.
17 Oct 2012 by m.babri
Hi, I want to allow remote desktop with c# applicationI should go to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server"and change "fDenyTSConnections" value.I write this codeRegistryKey Location = Registry.LocalMachine;RegistryKey TerminalServer =...
6 Nov 2012 by Sergey Alexandrovich Kryukov
You can do in on UNIX (at least, many UNIX-like systems) under Mono:http://en.wikipedia.org/wiki/Mono_%28software%29[^],http://www.mono-project.com/[^].The method you would need is System.Diagnostics.Process.Start, please...
13 Nov 2012 by muntte
Hello. Does anyone knows what means this error? I'm writing a win form C# application in VS 2010 that connects to a mysql server that hosts a mysql database. When trying to connect, i'm getting this error: See the end of this message for details on invoking just-in-time (JIT) debugging...
13 Nov 2012 by fjdiewornncalwe
Your connection string is messed up. How, I can't tell you because you haven't shown it here, but I'll guarantee that it is at the root of your issue. I'm pretty sure "mysql_old_password" isn't a valid authentication method.
10 Oct 2018 by Yossi Maoz
Hi,I'm looking for some software that can record my screen as a video.There are many options but I have some specific needs and I haven't found something that fits.What I need is:1) API that I can use from .Net. I need the ability to control the software from my code - including...
28 Nov 2012 by Muhammad Idrees GS
Hi,I have hosted WCF service in IIS on a machine. Now i want to write a method in the service by which I could detect whether the hosted machine is currently being used by any Remote Desktop Connection or not.Is there any other better way to find out this, and what are the exact code...
28 Nov 2012 by Mycroft Holmes
I'm assuming you mean a Remote desktop Connection and there seems to be plenty of discussion out there Google search[^]
12 Dec 2012 by Pyakaa
i want to access the hard disk drive of another system, whose ip and log in credentials are know to me, copy a file and send it as an attachment to my program (running in a different system...)the above has to be done using program(i.e no manual intervention)Plz let me know how to do it..
12 Dec 2012 by Sampath Kumar Sathiya
Hi,Please rerer the following link,Access remote PC's share file by UNC path with username/password[^]
17 Feb 2013 by Joan M
Hello all,Dirst of all let me introduce my problem:I have a small server that is giving users remote licences to use the accountants program.That program requires all the computers that work with it to be on the same date (i.e. If I want to get the accountants program working in my...
17 Feb 2013 by Kuthuparakkal
Management Object(WMI) is a good method if you use XP or later.public void SetSystemTime(string host, string username, string password, DateTime dt){ ConnectionOptions options = new ConnectionOptions(); options.Username = username; options.Password = password; path =...
28 Feb 2013 by Andrey Moskvichev
In this article, I'll explain the communication technical details.
26 Feb 2013 by VIPR@T
Hello,Can i use .Net Remoting concept with Windows application?Because i read into to MSDN that it supports console application, web application.Can any one please help me?
26 Feb 2013 by Babu Kumar
Hi VIPR@T,Please share your exact requirement. But generally instead of .net remoting you can go for WCF. It depends on your requirement. Check the below link.Getting Started with WCF[^]Hope this will give you a better idea.Regards,Babu.K
7 Mar 2013 by Mr. Daveho
I'm looking for a program that will deploy C#.net applications to windows workstations without an agent. I can deploy antivirus and RealVNC through a management console to workstations on the network by providing credentials. Now that I have my own home-grown application for...
20 Mar 2013 by umair zubairy
using Remote Attribute in MVC, vb.net
30 Mar 2013 by Sergey Alexandrovich Kryukov
The methods $.ajax, even less $.getJSON are unrelated to XML. You use Ajax to download some data, then post it as XML, as you correctly put it.Hard or not the parsing is, you have to do it; "usable objects" don't parse themselves. :-)Here is how you do it with jQuery:...
29 Mar 2013 by larssy1
This is not an actual solution for my problem given. But it is a way to bypass the origin using PHP.In my javascript, I've requested my PHP code using the following:function Communication () { this.global = new Global(); this.allowedParameters = ["Character"]; ...