|
He didn't answer anything. He's dropping this same note all over the site.
He just spamming...
|
|
|
|
|
Thanks Dave.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
I found the same idiot responded with the same answer to several of my posts today. Just a spammer... He's been assimilated, per SOP.
Will Rogers never met me.
|
|
|
|
|
if you need to plot incoming data in real-time, you need to be prepared to build a solution that is multi-threaded so that you can handle the actual drawing and the processing simultaneously from the user's perspective.
As per Henry's question, this will also depend on the frequency at which the data packets arrive. Is is a millisecond window, or seconds, or minutes? This will determine the type of solution you require.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
it is coming in milisecond.and also performance also matters for graph.Can Any external tool be used??
|
|
|
|
|
Please see the post from flflshop answering one of mine. He links to a site that he says can help you.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Please ignore my previous post.
Apparently the guy has been spamming the forums.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
hi guys
i have a byte array created from a pdf file , now i want to get text data from this byte data
without saving file to disk , means i want to get string somewhere from memory stream .
any help ?
regards.
Tauseef A Khan
MCP Dotnet framework 2.0.
|
|
|
|
|
You can convert a byte array to a string using:
System.Text.Encoding.Unicode.GetString([byteArray]);
Note: Unicode is just one of the encodings. You can use ASCII, UTF8, etc
|
|
|
|
|
Actually that not his requirement.., He wants to read the information in PDF Document ...
Rajesh B --> A Poor Workman Blames His Tools <--
|
|
|
|
|
You cannot read a PDF file in this way. A PDF file is a structured file containing objects that define pages, strings, images, fonts etc, with an index at the end of the file that allows quick random access to each object. You can get a copy of the PDF specification[^] from the Adobe web site, or use one of the free PDF libraries such as iTextSharp[^].
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
How do you intend to define the location and content of the string you want to capture? I ask because the pdf format converted to a byte array isn't a plain text stream, it is binary data, which will make handling the data potentially problematic.
I wasn't, now I am, then I won't be anymore.
|
|
|
|
|
Hi,
Sorry for asking a powershell question. This should be easy for an expert.
Suppose I'm in the folder C:\Windows\System32 . I want to print out only "System32".
I have found commands that give the entire path, but I want only the last bit.
Thanks,
Mel
|
|
|
|
|
You have posted the same question on 4 different forums; please, don't do it!
The best when asking something is to choose the forum that better matches your subject, and post a unique question explaining as better as possible what is your problem.
Thank you!
|
|
|
|
|
I was trying to use the ObjectTracker.exe demo but it keep giving me this error when press the stop button:
Couldn't reder the video capture stream. hr=0x80070057
The capture device may already be in use by another application.
The sample will now close.
Any ideas?
Thank you.
|
|
|
|
|
And how is this a C# question?
Please don't cross-post, you already asked in the article's forum.
|
|
|
|
|
Sorry, I have already realised that I had posted the question to the wrong place.
|
|
|
|
|
Hi all,
I want to close the from with a keyboard input 'K' but I cannot handle the input.
Before asking here, I've done lots of researches on web and especially on msdn.
This is not the first time I've been using KeyDown event but now I'm on a new computer and I cannot figure out why this time it does not work.
my code is simple:
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.K)
{
this.Close();
}
}
and on the designer side:
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
All other events work just fine, like MouseOver, MouseDown or MouseMove
but when it comes to KeyDown or KeyPress, it doesn't work
any suggestions?
|
|
|
|
|
you need to enable KeyPreview of Form for which you want to write code
as
this.KeyPreview = true;
and then write
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.K)
{
this.Close();
}
}
or
private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == 'k')
{
Close();
}
}
Both Work fine
|
|
|
|
|
It worked
Thank you!
|
|
|
|
|
Is it possible to get events of a form that belongs to other application?
I was looking for API function to get a handle of the window then to get events but found nothing.
|
|
|
|
|
|
Assuming you can't change the other appication, the only way that I know is through the Windows message queue.
Windows Message Handling - Part 1[^]
You need to get the windows handle (the HWND pointer IIRC) of the application you want to interact with, then hook into the queue filtering messages aimed at that window. Finally, you need the pointer of the button that you want to observe, and react to any ON_CLICK event raised by it.
Go to Start Menu ---> Microsoft VSnnnn --> Visual Studio Tools --> Spy++. Spy ++ allows you to watch the message queue for a window through a GUI, so you can see better what is going on.
I had a requirement for a WPF project of mine to interact with a VC++ 6.0 application, via the message queue. We were lucky that the C++ app was written in-house, so we arranged for a handshake between our two applications (passing the HWND handle to eachother). This meant we could raise events and pass small amounts of data directly across the message queue. This avoided the need to figure out the HWND of the buttons, as these changed each time.
|
|
|
|
|
|
Can someone please suggest a good seminar for OO training?
Thanks
|
|
|
|