473,396 Members | 1,766 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,396 software developers and data experts.

Remote desktop Access via web page

Hi,

I've got a page which displays IP and connection details for
customers' servers (for our support personnel) and I'd like to have a
button which creates a remote desktop connection to whatever server is
selected. I've got this code but all it does is create rdp access on
our web server rather than the user's machine...

Dim varIP As String
Dim varConnStr As String
Dim CHFLoc As String
Dim retval As Object

varIP = RemoteIPtxt.Text
If ConsoleChk.Checked = True Then
varConnStr = "C:\Windows\system32\mstsc.exe /CONSOLE /f /v:" &
varIP
Else
varConnStr = "C:\Windows\system32\ /f /v:" & varIP
End If
retval = Shell(varConnStr, vbMaximizedFocus)
Aug 26 '08 #1
3 5535
"Dray" <al**@boxtop.co.ukwrote in message
news:0f**********************************@a2g2000p rm.googlegroups.com...
Hi,

I've got a page which displays IP and connection details for
customers' servers (for our support personnel) and I'd like to have a
button which creates a remote desktop connection to whatever server is
selected. I've got this code but all it does is create rdp access on
our web server rather than the user's machine...

Dim varIP As String
Dim varConnStr As String
Dim CHFLoc As String
Dim retval As Object

varIP = RemoteIPtxt.Text
If ConsoleChk.Checked = True Then
varConnStr = "C:\Windows\system32\mstsc.exe /CONSOLE /f /v:" &
varIP
Else
varConnStr = "C:\Windows\system32\ /f /v:" & varIP
End If
retval = Shell(varConnStr, vbMaximizedFocus)
You won't be able to do that, if a web site could aribitarily create files
on a client PC all hell would break loose.

Have you considered hosting the Remote Access Control on a web page. Instead
of displaying the connection details the page could simply connect.


--
Anthony Jones - MVP ASP/ASP.NET
Aug 26 '08 #2
Yeah I've looked into that but haven't been able to figure out how to
automatically connect (ie pass IP details to the rdp activex
control)...
Aug 27 '08 #3
If your using the remote desktop web connection then you can pass certain
variables to automatically connect to a remote machine. An example of the
path would be:

http://remoteaddress/tsweb/default.htm?Server=<ip or servername
here>&AutoConnect=1

Having looked at the code behind the htm page there isn't anything to pickup
the UserName or Password. Hope this helps.

"Dray" wrote:
Yeah I've looked into that but haven't been able to figure out how to
automatically connect (ie pass IP details to the rdp activex
control)...
Oct 10 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
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....
2
by: James | last post by:
Dear Access Guru's, Hopefully you can help me (as Microsoft don't seem to be able to) We have an Access database on a Windows 2003 server with 5 CALS in our office. Access is loaded onto...
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...
3
by: Rainer Hocker | last post by:
Hello, I want to include a very old Visual Basic 6.0 application into my web project. Therefor I thought it would be a good trick to place a remote desktop access control into my web page. It...
2
by: josephlee | last post by:
Can an Access application running on Terminal Server be accessed by logging in to a remote desktop via a web browser the same as an Access app running on Citrix can be or is it different to that? ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.