|
|
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
|
|
|
|
|
Possibly the easiest way for you would be to use this[^] library to take the heavy work out of parsing the TWAIN formats.
|
|
|
|
|
i have an application,i will communicate with his application using USB donbgle,and user need to enter the COM port for the USB that is being used in the PC,how can i access and communicate with usb using c#
Thanks
|
|
|
|
|
vikki0286 wrote: COM port
There is your answer... use the SerialPort class.
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
|
|
|
|
|
Please would you explain how i can detect and communicate with USB using serial port class?
Thanks
|
|
|
|
|
Reading the documentation[^] is a real good place to start.
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
|
|
|
|