Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6175125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:52:13+00:00 2026-05-23T23:52:13+00:00

I hope someone could help me out. My original task: I want to write

  • 0

I hope someone could help me out.

My original task:
I want to write a c# program that silently connects local users of a remote machine (win server 2008).

technical problem
I have found a code_project article that does exactly what I need :http://www.codeproject.com/KB/cs/RemoteDesktop_CSharpNET.aspx
However after dowloading it I saw this project referenced to AxMSTSCLib.dll (which one of his memebres is AXHost)

You have to manually create this dll. It wrapps a COM object to be used in vsual studio as a .net object.

I have used the command axImp.exe to create a AxMSTSCLib.dll:
%%\aximp.exe %windir%\system32\mstscax.dll

But there is no Axhost (checked the object browser through visual studio).
so I guess I’m creating this dll the wrong way, but I could find any other way.

here is my dll compared with the one which was donloaded from code-porject
http://drop.io/hidden/eopb4tphk8qekl/asset/Z2V0b2N4LTItanBn
http://drop.io/hidden/eopb4tphk8qekl/asset/bm8tZ2V0LW9jeDItanBn

Anyone knows why? and how can I fix that? or where should i ask this ver specific question?

Regards,

==========

Found the answer. I should have referenced an RDP monitor to the ToolBox and than the dll magically appears right.

I didn’t used the ToolBox because I need no GUI. but I guess it’s the only way to do this right.

I have got two more questions which I couldn’t find answer to
1. Does the dll generated by drugging the RDP monitor is machine-specific?

I mean does this dll differ if created on X86 machine differs from one generated on X64 machine?

  1. same question regarding the output of axImp.exe

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:52:14+00:00Added an answer on May 23, 2026 at 11:52 pm

    Found the answer. I should have referenced an RDP monitor to the ToolBox and than the dll magically appears right. I didn’t used the ToolBox because I need no GUI. but I guess it’s the only way to do this right. I have got two more questions which I couldn’t find answer to 1. Does the dll generated by drugging the RDP monitor is machine-specific? I mean does this dll differ if created on X86 machine differs from one generated on X64 machine? 2. same question regarding the output of axImp.exe Thanks

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I hope someone could help me on this. I want to add a month
Ok I got a strange issue that I hope someone could help with I
I hope someone can guide me as I'm stuck... I need to write an
This really, really urks me, so I hope that someone can give me a
The docs at www.fastcgi.com aren't clear on this (to me), so I hope someone
I'm very confused about the whole user profile thing in drupal, hope someone can
Hope anyone can shed light on this so I can use pens with dash
I hope this question does not come off as broad as it may seem
I hope everyone will pardon the length, and narrative fashion, of this question. I
I hope this question is not considered too basic for this forum, but we'll

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.