|
1a3xxx wrote: I thought thats not possible...
Correct - no UI on the logon-desktop, out of security reasons.
A UI there wouldn't make any sense anyway; if there's no user, who would be looking at your (unsecured) message?
If you "must" display "something" there, your only alternative is a screensaver.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Yeah i don't need a UI.
But what i need is that the Application runs in the Background, makes Screenshots (which will be send to the host) and apply Userinputs (which were received from the host) ...
How does the Services of Remote-Desktop or TeamViewer works? They also works on Windows 7 and can apply Userinputs, Network-Connections und shows the Winlogon/Default Desktop... :-/
|
|
|
|
|
1a3xxx wrote: How does the Services of Remote-Desktop or TeamViewer works?
Not using screenshots, but using a specialized protocol. You might enjoy this article[^] that demonstrates how to RDP using C#.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Sorry but it don't help me really.
The activeX-Control of RDP don't work from XP to Win7 or from Win7 to XP.
Besides i wanna understand how the Services of TeamViewer/VNC and Remote-Desktop works on Win7 because i really want to programm my own remote-administration tool.
Or rather, i have finished the Tool but need also an Service
|
|
|
|
|
1a3xxx wrote: The activeX-Control of RDP don't work from XP to Win7 or from Win7 to XP.
Sounds logical; there are a lot of libraries that are bound to a specific OS.
1a3xxx wrote: Besides i wanna understand how the Services of TeamViewer/VNC and Remote-Desktop works on Win7 because i really want to programm my own remote-administration tool.
The alternative to using the ActiveX control that provides an RDP service, is to write your own.
1a3xxx wrote: Or rather, i have finished the Tool but need also an Service
You finished a screenshot-application. Remote access is a different beast.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
|
A service to capture screen shots isn't going to do you any good at all.
|
|
|
|
|
1a3xxx wrote: That would exceed my skills
Good! (sorry!)
..that means that you'll be learning something new, not just combining existing stuff. It also means that what you're doing is not something that anyone could or would do, and that conquering the complexity pays. As a developer, you'll always run unto unknowns, and it's merely a matter of time to learn them - and you have this board to ask questions.
1a3xxx wrote: I only need this f****** service
It might be painful to consider an alternative that's built on something else than your current code. Still it pays to keep an open mind, consider all options, and to work stubbornly towards a solution.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
I try to work towards a solution , but often i even don't know where to begin
Hmm... but ok. I will try to do my best.
Maybe it's better to look for other options than a Screenshot-Service
|
|
|
|
|
|
RDP works by having its own video driver. Anything written to the display surface is serialized by the driver and RDP sends it over the network.
No screen shots, no user mode app.
You wanted to know how it works? Here it is.[^]
|
|
|
|
|
Thanks a lot. That could help me further.
Going read this stuff
|
|
|
|
|
Hi friends,
I am trying to create a new thread to convert a file. But when starting running it, I get this error:
{Text = '((System.Windows.Forms.TextBox)(txtAddress)).Text' threw an exception of type 'Microsoft.VisualStudio.Debugger.Runtime.CrossThreadMessagingException'} System.Windows.Forms.TextBox
Please see my code:
string sourceFile, destinationFile;
private void ShowLoadingIcon()
{
if (InvokeRequired)
{
this.Invoke(new MethodInvoker(ShowLoadingIcon));
}
else
{
pixLoadingIcon.Visible = true;
}
}
private void btnConvert_Click(object sender, EventArgs e)
{
ShowLoadingIcon();
System.Threading.Thread t = new System.Threading.Thread(() =>
{
ConvertFiles(sourceFile, destinationFile);
});
t.Start();
}
private void ConvertFiles(string src, string dest)
{
}
Are there anyone know how to fix it ?
Thanks and regards,
|
|
|
|
|
You cannot access GUI components from secondary threads in C#. There are many articles available which discuss this issue, see these samples[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
Thank you.
But I used "Invoke" when I want to access controls as my code.
|
|
|
|
|
Yes, but the code you showed in your question has nothing to do with the error that you are reporting.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
It is txtAddress which was accessed from a different thread, not pixLoadingIcon . That code is not shown in the snippet above. Wrap that also with an InvokeRequired .
|
|
|
|
|
I have got the following in a header file for a class:
#include <vector>
#include <math.h>
In the class description, I have the following protected member:
vector<Point2D> samples;
Point2D is defined as a class
during compile time I get lots of errors (C2143, C4430 and C2238)
Any ideas?
|
|
|
|
|
I'm not surprised you get errors. That's C++ and this is the C# forum. If you're trying this in C#, it'll give you errors up the wazzoo.
|
|
|
|
|
Xarzu wrote: Any ideas
Posting in the appropriate forum would be a good idea.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
Try it on C++ forum.
May be more experienced users can help you.
Christian Amado
MCITP | MCTS | MOS | MTA
Olimpia ☆ ★★★
Please mark as answer, if it helps.
|
|
|
|
|
i have a textbox and a search button.
When I populate (with data that i have in db) the textbox and press the search button I want to populated other textbox (with data that i have in db) who are only edited.
please help me .thnx
|
|
|
|
|
ArtGen wrote: help me
Okay.... do you really think that anyone reading your post could figure out what it is that you are trying to do? What does "Create a button" and getting data from your database have to do with one another? What database? What have you tried? What is the problem that you are having? What does "who are only edited" mean?
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
|
|
|
|
|
ArtGen wrote: who are only edited.
Edited by whom, in which period?
You'll need to rethink and clarify your question, as it stands now I'm inclined to explain how to create a button and go from there.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
Hi,
. Ds How do I open the file extension?
(Note : ds twain data source file.)
Regards
|
|
|
|