 |
|
|
 |
|
 |
Error 3 'AxMSTSCLib.AxMsRdpClient2' does not contain a definition for 'AdvancedSettings5' F:\ARJUN_LINKS\Palantir - Remote Desktop Manager\palantir_src\Palantir\Palantir\ControlLib\RemoteDesktopControllerTabPage.cs 53 22 Palantir
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Error 8 'AxMSTSCLib.AxMsRdpClient4.AdvancedSettings5' is not supported by the language C:\Documents and Settings\india\Desktop\palantir_src\Palantir\Palantir\ControlLib\RemoteDesktopControllerTabPage.cs 56 18 Palantir
Can u plz help .. How to resolve it
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Are you are Woman for real?
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswa@its.co.za www.ITS.co.za
|
| Sign In·View Thread·PermaLink | 1.00/5 (2 votes) |
|
|
|
 |
|
 |
I try to compile and run it at Window2000 + Visual studio 2005 But it occured "Class not registered..."
************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) ...
I suffered this problem more than one week
Any help is highly appreciated.
Regards
|
| Sign In·View Thread·PermaLink | 1.40/5 (5 votes) |
|
|
|
 |
|
 |
I've developed an application based on this source code.
Occasionally when I close the application and disconnect from server, I receive the following error:
Faulting application xxx, version xxxx, time stamp 0x490938d1, faulting module mstscax.dll, version 6.0.6001.18000, time stamp 0x4791a718, exception code 0xc0000005, fault offset 0x000591b5, process id 0x1d8, application start time 0x01c9778db7b93695.
Any help would be greatly appreciated.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid) at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid) at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid) at System.Windows.Forms.AxHost.CreateInstance()
|
| Sign In·View Thread·PermaLink | 1.25/5 (4 votes) |
|
|
|
 |
|
 |
i have seen this coding..very nice one..but the think is when i am capture the remote system desktop at that time remote system automatically logoff. i dont want that.i need both system should be logon stage..any one can help me? if you know any otherway means also give some idea...
thank and regards,
S.G. SIVA M.C.A., +919865943001
modified on Monday, September 22, 2008 2:55 AM
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
If you are meaning you want to control the screen that is visible on the remote machine, while the user is not logged off, this can't be done with remote desktop. You would want something like VNC for that, or figure out how (if its possible) to use remote assistance through code instead of remote desktop.
If you are meaning you want to connect to a remote machine, creating a new session, without logging off the active user, the remote machine needs to be configured for it. I have only done it once and it was using Windows 2000 advanced server. I think it may be part of terminal services. But at any rate, this would be an issue of the remote machine and not having anything to do with the code of this app.
-Jim
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Good job.. no no gr*8 We are using this with terminal services what the best you would suggest when we go for controlling machine in(windows **) LAN. Like vnc viewer ?
Any help is highly appreciated.
Regards
Kathirvelmm
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
how can i use AxInterop and MSTSCLib.dll on regular c++ code?
how can i sink the disconnected event in a c++ program , so program will run a c++ function whenever the RDP OCX control close its window\view?
thanks K.O.
only simple code
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
Using Visual Studio 2005, I loaded Palantir.sln and did a rebuild all and I get some warnings, but worse, I get these errors. Note when the solution was first loaded, it came up with a msg about source control bindings and I chose to remove them permanently. Is everyone all excited about this app because they are simply using it, or has anyone tried to look at the code and actuallyy build it? The solution has four projects and I did not change anything in the build order. When I use the object completion feature on the AxMSTSCLib. obj, I see AxMsRdpClient1, AxMsRdpClient2, and AxMsRdpClient3 -- but not AxMsRdpClient4 and not AxMsRdpClient5.
Below are the errors. Should I have used Visual Studio 2003?
Thanks in advance,
H.
Error 7 'AxMSTSCLib.AxMsRdpClient4.AdvancedSettings5' is not supported by the language C:\tempfoo\Palantir\Palantir\ControlLib\RemoteDesktopControllerTabPage.cs 53 22 Palantir Error 8 'AxMSTSCLib.AxMsRdpClient4.AdvancedSettings5' is not supported by the language C:\tempfoo\Palantir\Palantir\ControlLib\RemoteDesktopControllerTabPage.cs 55 18 Palantir Error 9 'AxMSTSCLib.AxMsRdpClient4.AdvancedSettings5' is not supported by the language C:\tempfoo\Palantir\Palantir\ControlLib\RemoteDesktopControllerTabPage.cs 56 18 Palantir Error 10 'AxMSTSCLib.AxMsRdpClient4.AdvancedSettings5' is not supported by the language C:\tempfoo\Palantir\Palantir\ControlLib\RemoteDesktopControllerTabPage.cs 70 18 Palantir
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
 |
I had the same problem. Not sure if this helps you. I know nothing of the MSTSC class library. What I did to resolve the problem: 1. Opened the Palantir solution on Visual Studio 2005 2. Created a 'ReferencedDlls' folder in the solution stucture 3. Downloaded the RDPTest project from the link on Roy Osherove's Blogg (http://weblogs.asp.net/rosherove/archive/2006/09/09/How-to-create-your-own-Auto-Login-Remote-Desktop-Application.aspx[^] [It is is possible that you could simply use the same MSTSC (interop and Com) Dlls Ishir used - in her references and simply change the code, as descibed below ..., but I thought at first there might be a difference in the Dll because Roy's code as his compiled and ran OK using similar functionality of the classes. As such I did not bother testing the code changes against the Palantir provided Dlls]. 4. I copied AxInterop.MSTSCLib.dll and Interop.MSTSCLib.dll from Roys' RDPTest.zip (Bin\debug folder) to the 'ReferencedDlls' folder I created. 5. Then remove the reference in the Palantir Project to the AxInteropMSTSCLib 6. Then re-add the reference in the Palantir to the AxInterop.MSTSCLib.dll against the file in the 'ReferencedDlls' folder. 7. Then try and recompile the solution (expect it to still fail). 8. Work throught the handful of errors reported in the Task List, changing the class AxMSTSCLib.AxMsRdpClient4 to use AxMSTSCLib.AxMsRdpClient2 such as: rdpc = new AxMSTSCLib.AxMsRdpClient2(); and rdpc.AdvancedSettings2.ClearTextPassword [both of these - and the others - are in the RemoteDesktopControllerPage file of the Plantir Project]
Hopefully you will get it to compile this way. Seems to be no ill effect from replacing AxMSTSCLib.AxMsRdpClient4 with AxMSTSCLib.AxMsRdpClient2 [The MSTSC gurus may think otherwise]
Hope this helps
Ishir - Thanks for a great tool. This will help me greatly.
|
| Sign In·View Thread·PermaLink | 3.60/5 (5 votes) |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Hi Isil,
Palantir is a life-saving stuff and you've done a great job writing this. I used to use other SW for tabbed RDC functionality. But none of them allowed such great window area for use.
I'm using Palantir at work with no hassle. But after installing at home, I got the exception below:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80040111): ClassFactory cannot supply requested class (Exception from HRESULT: 0x80040111 (CLASS_E_CLASSNOTAVAILABLE)) at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid) at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid) at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid) at System.Windows.Forms.AxHost.CreateInstance() at System.Windows.Forms.AxHost.GetOcxCreate() at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state) at System.Windows.Forms.AxHost.CreateHandle() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.ControlCollection.Add(Control value) at System.Windows.Forms.TabPage.TabPageControlCollection.Add(Control value) at Palantir.RemoteDesktopControllerTabPage.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.ControlCollection.Add(Control value) at System.Windows.Forms.TabControl.ControlCollection.Add(Control value) at System.Windows.Forms.TabControl.TabPageCollection.Add(TabPage value) at Palantir.frmMain.LoadRemoteConnection(Machine parEntMachine, Boolean isConsole) at Palantir.frmMain.LoadAutoConnectRemoteDesktops() at Palantir.frmMain.frmMain_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:---------------------------------------- Palantir Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.832 (QFE.050727-8300) CodeBase: file:---------------------------------------- BusinessObjects Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:---------------------------------------- Helper Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:---------------------------------------- AxInterop.MSTSCLib Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:----------------------------------------
************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
"true" />
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
Do you have any suggestion regarding this problem?
Thank you.
Zafer
|
| Sign In·View Thread·PermaLink | 2.75/5 (4 votes) |
|
|
|
 |
|
 |
Oh, and pardon me my ignorance -- Palantir... what does this name mean? why people like this name so much?
Sergey A Kryukov
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Great work, really. One biggest practical problem working with MS RDP client is mismatch between screen pixel sizes in client and server machine, especially with different aspect ratio. It looks like you've resolved it in an optimal way -- your client works with the screen as it is on the client system.
Now, let me list the improvements I would suggest:
1) Run-time: 1.1) It needs full-screen mode much like the one in MS RDP client. It would be especially helpful to avoid confusion between server's and client's "Start" button and other confusing Ui elements. Note, that in the full-screen mode the client ignores your local system's key strokes like Ctrl+Esc and emulate those on server side. Again, MS RDP client handles full-screen only for matching screen resolutions, but I am sure you can do much better and provide full-screen mode in all cases. Seriously, this is a key usability issue. 1.2) Your session data file extension (*.pln) should be usable by Palantir in a command line to establish connection from this file. In this way, Palantir could be launched from batch, *.lnk files, via Shell (when file extension is registered to be opened with Palantir), etc. Also, the user may want to use singleton (single-instance of the client) style of using the application. 1.3) You could work with standard MS *.rdp files. The user can be allowed to re-register this file extension with the Shell to use Palantir -- optionally and removable via setup (uninstall). 1.4) Leaving whole menu without hot keys (I mean, "&"-prefixed letter to be used with Alt+) is not nice. 1.5) "Export settings to file" raises exception when I used some longer password; I don't know why. As I understand now, this is some password that has nothing to do with remote password, but this is not clear from your Ui.
2) Build: 2.1) Your source code is linked with with some inaccessible version control database. You had better to clean it before publishing. (Also, is it MS SourceSafe? Well, who use SourceSafe? Use SVN! And who need Visual Studio integration?... Anyway, this has nothing to do with your project; just please detach version control for convenience of other readers...) 2.2) AxMSTSCLib.AxMsRdpClient4 did not work for me. I had to change it to AxMSTSCLib.AxMsRdpClient2 everywhere. Maybe, not everyone has required versions of the library. After this modification, I managed to build it all. 2.3) At first, as I always do, I removed all bin directories before build. The build failed because Palantir.ico was not found. This indicates that something is wrong in the structure of your project (I did not figure out exactly). Well-design project provides strict isolation between source code and targets; it always builds on pure source without binaries. You code does, too, one when one removes Palantir.ico form the project and adds again in a right way.
I really think these improvements are minor yet critical for usability. If you be so nice to do it, everyone would be just happy. Thank you for this work very much! --Sergey
-- modified at 18:20 Thursday 9th August, 2007
Sergey A Kryukov
|
| Sign In·View Thread·PermaLink | 2.00/5 (2 votes) |
|
|
|
 |
|
 |
in connectAllToolStripMenuItem_Click, you don't update the "disconnect from" menu to add the computers... Also, if a tab was already there, your clear the tab, then recreate it...
Corrected here :
private void connectAllToolStripMenuItem_Click(object sender, EventArgs e) { Boolean Existe = false; foreach (Machine m in GetRemoteDesktops()) { RemoteDesktopControllerTabPage insRdpTp = new RemoteDesktopControllerTabPage(); foreach (RemoteDesktopControllerTabPage TabPage in tcMain.TabPages) { if (TabPage.Text == m.RemoteDesktopConnectionName) {Existe = true;} } if (Existe != true) { tcMain.TabPages.Add(insRdpTp); insRdpTp.Text = m.RemoteDesktopConnectionName; insRdpTp.Connect(m); ToolStripMenuItem tsmiDisconnect = new ToolStripMenuItem(m.RemoteDesktopConnectionName); tsmiDisconnect.Tag = m.RemoteDesktopConnectionName; disconnectFromToolStripMenuItem.DropDownItems.Add(tsmiDisconnect); tsmiDisconnect.Click += new EventHandler(tsmiDisconnect_Click); } Existe = false; } }
See, you code is useful, I'm using it 
I also add the "discover LAN terminal servers" thing... I love it !
-- modified at 15:18 Thursday 9th August, 2007
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
I like your app. Thanks!
I use the shared clipboard capability of RD a lot. So, I tweaked your code a bit to enable it.
You need only add the following code into the SetRdpClientProperties method in RemoteDesktopControllerTabPage.cs:
MSTSCLib.IMsRdpClientAdvancedSettings5 advSettings = rdpc.AdvancedSettings5 as MSTSCLib.IMsRdpClientAdvancedSettings5; if (null != advSettings) { advSettings.RedirectClipboard = true; }
According to the docs this may only work under Vista.
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |