I woudl like to use a the RDP control in my form. However, when I add the Active-X object and open the form during runtime with frm.show() the app fails.
There are several apps available who do excatly the same. How can I get this running?
Both I and a Friend are working on a Visual Basic Remote Desktop Client, we've got as far as laying it out the way we want it but are unsure of how to code the program. Can anyone shed some light upon what we could use to make our program generate an ID which another user can enter at their site to connect to the computer?
I want to use the c# write a programe to get the logon session information.I use the WTS_INFO_CLASS Enumeration refrenced to the msdn library,the url link is [URL]
Everything is ok except the WTSClientBuildNumber property. The WTSClientBuildNumber that I get is 5875288,but it should be 6001.I use the 6.0.6001 RDC for my test.Can anyone tell me the problem.
The following is my sample code
If WTSQuerySessionInformation2(ptrOpenedServer, active_session, WTS_INFO_CLASS.WTSClientBuildNumber, istr, returned) = True Then ClientInfo.WTSClientBuildNumber = istr.ToString() End If
We have a Windows Forms VB.NET application running on Windows Server 2008. Users access this app using Remote desktop.The app displays information in Excel, but Excel opens on the server.Is there a way for the .NET app to launch Excel on the users local desktop?
I want to do a small application that made the broadcast of images from a PC. The idea is to make an application of remote management but without the management part, only with the viewing of images. Anyone know any code already done or any API that helps in the project?
I want to create a software for remote computer Desktop connection(we can see and operate remote computer in our computer display), can any one give Windows itself has a long procedure to do that(Remote Desktop Web connection), sometime it develops security issue, other options are 3rd party. I want to create it on my own.
Myself Sandeep Francis I am working with a project tat can monitor the remote pc without knowing the user who uses that pc, the project module goes as below
I am trying to create a smart client (multi table manager). I didn't want to make it a MDI app, so I used a TabControl to host each table UI. I am having problems with the BindingNavigator control. When I drag the table grid from the DataSources to the top tabpage, the designer adds all the needed controls. However, on the other tabpages it doesn't add the BindingNavegator. So, is this the proper behavior or am I doing something I am not supposed to do? What would be the best way on doing this? Do I need to make it a MDI app.?
I have a problem with a large application that consists of windows forms mainly, but some WPF windows and controls (we also use DevExpress controls v9.1). The problem is that the application sometimes hangs when it runs in a remote desktop session, and that session gets locked due to inactivity, and the user comes back and unlocks the session. The hang seems very similar to the hangs you get when accessing GUI controls from a none GUI thread, but I'm pretty sure that's not what causes the problem. (We had a lot of those problems earlier, and have fixed all multithreading problems we were able to find. And the hangs now never occures when the application runs outside the remote desktop environment.)
I've done a lot of research on the problem but I've still not found a clear point to what causes the problem. However, I think there might be a problem related to some combination of remote desktop and .NET framework. The reason for this is posts like this:
I want to be able to view the desktop in almost-realtime from a computer on my lan (its part of my business) As this is a business situation teamviewer is not free, but id rather like to make my own server and client anyway - will be fun! I need to know the best way of sending the desktop fast to the second computer. I know of several ways to do this: take image of screen be it jpeg/bmp or whatever and send it as many times a second as i can (too slow) take an image of the screen and compare it with the previous image and send the bytes that have changed. take multiple images of the screen compare with previous images and send through the bytes that have changed.
Is there anyway, in a program, to detect if a program is being run from inside a remote desktop session or if the program is being run normal in .NET 2.0? What I'm trying to do is, I create a timeclock application which will clock a person in and out and keep track. But this particular person, I suspect, is remoting into their computer at work, from home, and clocking in and out.
I am trying to overcome a problem I am having with remote desktop.Basically I have 2 machines running in different locations. I use remote desktop to access one of them (the "Remote Machine") from the other.("My PC")The "Remote Machine" is performing automated tasks that require the screen to be active, not the user login screen.
When I do so the Remote Machine logs off and presents the normal windows login screen.When I am finished reviewing the remote machine I log off and then I need to log back into the "remote" machine. It has no monitior but I can log in by pressing the enter key which sends a keypress to log into the user account( there is only one). In fact I do this the other way around. I press the enter key on the "Remote Machine" and this logs the user back in - terminating the remote session on "MyPC".
The problem is I have to physically go to the Remote Machine to press this enter key.This is a hassle - One solution is to remotely re-boot the remote pc but the lead time involved is too great.I am unable to fix this problem by tweaking setting or registry hacks so I guess the solution must be to cause the remote user to log back in programatically.I am an experienced VB user but I have never worked outside the windows environment. Ideally I would like to programmtically send a keystroke "{enter}" to the login screen but this doesn't work.
How do I check the connectivity to Remote Desktop through Visual Basic (if possible). I would like to run a program checking if servers is up running normally. In some cases servers will respond to ping, without being able to connect to RDP. It would be great to a program being able to detect loss of RDP-connectivity almost as soon as any problems appear.
How do I use the sendkeys command to send keys to a remote desktop. I tried using send keys with a delay set by a timer and then simply to put my mouse cursor on a notepad in the remote desktop but it didn't work.
I created an application that opens certain Microsoft Windows built in functions depending on what button you use. I have Text Fields setup for certain things like IP/URL, Username, Password, Port, Service. Depending on what function you want it pulls data from these fields.
When someone clicks on Remote Desktop I would like it to pull from the IP/URL, Username and Passwords fields. Right now it pulls only from the IP/URL field. How can I have it populate the Remote Desktop login, pulling the data from my Username and Password fields?
I have found a Login DLL that someone wrote and also found a Remote Desktop DLL but I do not know how to tie these into my program. I somewhat know the process of using a DLL in a VB project but I don't know how to tie these in.
FYI, I would like to be able to make my application a single executable instead of having multiple files that are installed by an Setup program.
Another feature of my program is being able to stop and start a service. I can use Taskkill and have it pull the username and password just because Taskkill has this built in with switches. This is ok for ending tasks but when I try to use SC to start the tasks, it only works locally because the remote server has a different username and password. SC does not have a switch for username and password.
Also another FYI, I do not want to use a 3rd party software that may not be on the remote computer/server. i.e. PSKill, PSExec, VNC or another program..... unless these can be imported into my single executable program and not have to be on the computer. As I mentioned, I do not like having to rely on 3rd party applications.
procedure or program codes in creating a remote desktop application using visual studio, vb.net with the tool Winsock. I've heard in blogs and forums that Winsock can be a good tool in creating a remote desktop.
I am building a program that passes a string of text to a program on a remote desktop connection. I tried using SendKeys on a timer, so I could press a button on my program set the text box on remote desktop focus and then have my software 'send' the string. This doesn't seem to work, however, it does work locally if I send the text to an empty Notepad.[code]...
Lately, ive been using winsock quite a lot. I made a chat application, and now i want to make a remote desktop program. I dont want a half asses one, where u can press buttons that send info to the server, but i want to have a client server relationship where you see the screen, have control to the keyboard, and the mouse. Any tips on how i can go about this?
I built a window's app in VB. The app is made to be used worldwide. The app works fine when it is installed on a computer using the same network than the local machine hosting the sql database. The problem actually, is that, when the app is installed on a computer using a diferent network, the connection fails.
I have a VB6 app using MS Access2003 database ODBC connection in Windows Server 2008my connection string is simple ODBC-- DSN=hotel -- using Microsoft Access Driver (.mdbusing admin user - i can run all forms on windows server 2003 successfullyusing other users - i get "permission denied error 70"I have 2 problems,1- cannot use software in terminalservices using remote desktop to server @Windows Server 2008i have 10 machines connected using Remote desktopfor a limited user, >> permission deniedif i cange the limited user to admin >> things work but ONLY FOR THAT USER!ALL OTHER USERS THEN HAVE PROBLEMS WITH THE SOFTWARE, some exit, some cannot fetch data, etc.
This code so far works like a charm, and I need a couple more things before I'm finished.
1. I know the UPN (userPrincipalName) is setup using user.Properties("userPrincipalName").Value = ComboBox2.Text and that works fine... however, we have an additional UPN name.. check out the picture below.
2. Any way to setup the Remote Desktop Services Profile up? Peticularly Remote Desktop Services home folder. Where Connet: would be selected, as well as Drive letter, and To: would be filled out as well. [code]
I can get the local computer name on a RDC session using Environment.GetEnvironmentvariable("ClientName") if the application is 32 bit and Server is 32 Bit or when app is 64 bit and server is 64 bit
How can I get the local computer name from a 32 bit application when the server is 64 bit
Environment.getEnvironmentvariable("ClientName") returns an empty string
I have a VB.net 2008 Windows forms application which runs on W2k3 server and is accessed by 15 Remote Desktop users I would like to be able to store information such as the default printer for each RDC session plus other info To be able to do this I need to know the local computer name (or some other identifier) so I can store computer specific information (such as default printer) how I can get info about the RDC session from VB
Is there a way to determine if the application is running from an RDP session or not? Our staff has VPN access and use Microsoft's RDP Client to connect to their computers at the office. They mostly interract with software we've written. I'd like to identify those people that use our applications via RDP as opposed to being physically at their computer.
I'm writing a remote desktop software that starts a connection in reverse mode, using RDP API. My problem is that I try to setup the port that the listening socket may use, but it seems not working: it uses always a random port. [Code] The problem is the seems PortId is ignored: my connection string reports other ports number, and the incoming socket is open on port different from 4000.
1. Can I include a database in an exe file? - I am trying to create a small launcher application which contain 10-20 IP addresses with name, addresses, phone and email for people I help out on a regular basis. I would prefer if I could have the DB containing this info included in my launcher app, so I could carry it around on a USB stick.
2. How do I get mstsc.exe (remote desktop) to launch with an IP address from my DB above?- In my small app I am trying to add a launch button for each person. So if I am helping "person1", then I click the button next to him, and it launches my remote desktop of PC Anywhere to his IP address....
My initial thought was to use an ini file with my exe file, and modify the ini file with data through the app, but I want to be sure that there is no way I can include this information in the exe file.As I want to be able to change the connection information through my app interface I reckon I am forced to use either a SQL DB or some sort of file DB right?
creating remote desktop connection in vb.net using Microsoft Terminal Services(msrdp.ocs). The main objective is to remote monitor clients without interrupting them or knowing they are monitored.