+ Reply to Thread
Results 1 to 2 of 2

VBA (Office) - MSTSCLib - Remote Desktop Services aka Terminal Services on Server 2008

  1. #1
    Registered User
    Join Date
    03-25-2016
    Location
    Texas
    MS-Off Ver
    365
    Posts
    1

    Question VBA (Office) - MSTSCLib - Remote Desktop Services aka Terminal Services on Server 2008

    I need to code an application through Microsoft's Office VBA, most likely through excel. The purpose of the code will be to loop through all current terminal/remote desktop sessions on a windows 2008 server, find a specific session, and then connect to it via Remote Control (therefore not only is it viewing the session but it can also interact with it). Essentially I need to mimic the manual process of opening up Task Manager (or TSADMIN), right clicking a session/user, and clicking remote control. The application will be run from one of these active sessions.

    The reason I am using VBA via Office is because it is the only option I have at the moment. There is a library called 'Microsoft Terminal Services Control Type Library' which seems like the best bet, but I have absolutely no idea how to implement it. I can't find any specific examples for this particular library online (or at least my searches were empty). I really need help with either searching for solutions for my particular need, or coming up with any other alternative routes that are plausible with VBA.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: VBA (Office) - MSTSCLib - Remote Desktop Services aka Terminal Services on Server 2008

    Hi welcome to the forum

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
    http://www.mrexcel.com/forum/excel-q...er-2008-a.html
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel query in SQL Server 2008 reporting services
    By venkatperi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2010, 12:41 PM
  2. [SOLVED] Excel Add-in for SQL Server Analysis Services
    By Robin Krupp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-30-2006, 04:00 PM
  3. [SOLVED] Excel Add-in for SQL Server Analysis Services
    By Robin Krupp in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-28-2006, 12:20 PM
  4. [SOLVED] Excel Add-in for SQL Server Analysis Services
    By Robin Krupp in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-28-2006, 12:15 PM
  5. [SOLVED] Add-in for SQL Server Analysis Services
    By Hans Knudsen in forum Excel General
    Replies: 0
    Last Post: 08-28-2005, 04:05 AM
  6. VB print to Terminal Services Printer
    By Leslie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-25-2005, 06:06 PM
  7. Office Excel Add-in for SQL Server Analysis Services
    By James in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-30-2005, 11:05 AM
  8. Embedded Terminal Services
    By amullen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-14-2005, 01:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1