A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

embed terminal server client in outlook form



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old January 1st 09, 03:10 PM posted to microsoft.public.outlook.program_forms
Stephen Baer
external usenet poster
 
Posts: 2
Default embed terminal server client in outlook form

WOW! This is awesome!

"apextos" wrote:

It's not perfect but Works and will give you an idea.

Lets suppose that you have a command button with name property set to RDP


Sub RDP_Click()

Dim WSH_Shell, ServerIP, objEnv, SystemRoot

ServerIP = "192.168.10.10"
Set WSH_Shell = CreateObject("WScript.Shell")
Set objEnv = WSH_Shell.Environment("Process")
SystemRoot = objEnv("SYSTEMROOT")
Wsh_Shell.Run ( SystemRoot & "\system32\mstsc.exe /v:" & ServerIP )
Set WSH_Shell = Nothing

End Sub

Remarks.

ServerIP will be the Server you like to Connect.
SystemRoot is the path where the windows installed, ex. C:\Windows

mstsc.exe is the Terminal Server client, look for more parameter Info


================================================== ==


"Jay Tabatabai" wrote:

I have been tasked with creating an outlook form that will contain Microsoft
Terminal Services control. Where user can click on the command button on the
form to connect to a terminal server within inside the company network.
I have looked everywhere for a sample code, which I have not been able to
find.
I will appreciate if you can provide help with how can this request can be
implemented.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot connect to Exchange server from Outlook client on Windows 2003 Server AllenM Outlook - General Queries 0 May 16th 06 07:44 PM
Outlook can't be started up in Terminal Server Astin Outlook - General Queries 5 April 27th 06 03:55 PM
File new messsage form not working in terminal server. [email protected] Outlook - Using Forms 0 March 3rd 06 04:36 PM
Outlook can't be started up in Terminal Server Astin Outlook - Installation 0 March 3rd 06 07:04 AM
Progr. access to Outl. info (client) from terminal server applic. kkress Outlook and VBA 3 February 3rd 06 02:48 PM


All times are GMT +1. The time now is 01:52 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.