|
Hello my dears :
how capture object(The object can be window, control, windows,Icon shortcut menu etc)
I do not want region capture or full screen capture just object in any window in any application
I tried this code
IntPtr hWnd=WindowFromPoint(Control.MousePosition);
if (this.Handle != hWnd && hWnd != IntPtr.Zero)
{
SetOutlineRegion(hWnd);
}
SetOutlineRegion(hWnd);
this function to make border for the object(this what I need)
it works for get just window not for
The object can be window, control, windows shortcut menu etc
thanks alot
|
|
|
|
|
|
Hello:
it does not help because I need how I detect the object(like icon on desktop or menu etc...)
my problem how I know if mouse hover on object.
because I need to snapshot the object.
I hope you understand me.
|
|
|
|
|
Many objects have Mouse events - one of them is 'MouseHover'.
|
|
|
|
|
hi,
in my appli i need to read data thuogh serialport in two different times.
1) when i write data to handheld system through serialport ,that sholud send a success signal
2)To read some other data from serialport.
for the first one, i wrote the code for receiving success data, in esrialportdatareceived event.
then for 2) where can i write the code of reading. if i write in that event everytime success data is showing as output.
|
|
|
|
|
You need some method to discriminate between the two pieces of data. If the device is sending the exact same string of data every time, you can check for that and have a reasonably good idea where it came from. If not, well, then you're going to have to come up with some kind of protocol, like "framing" data, that your external devices are going to need to use to identify themselves as the source.
Or, put each device on it's own serial port.
|
|
|
|
|
Hello
Can anyone help me How grab all text from active window c#.
|
|
|
|
|
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Which "active window"? What environment? These and other questions help us to answer...
|
|
|
|
|
hello my friends
1-active window like (Browser,Notepad)
2-environment like windows(xp,7,..)
thanks
|
|
|
|
|
I think this may be useful: [^].
"What Turing gave us for the first time (and without Turing you just couldn't do any of this) is he gave us a way of thinking about and taking seriously and thinking in a disciplined way about phenomena that have, as I like to say, trillions of moving parts.
Until the late 20th century, nobody knew how to take seriously a machine with a trillion moving parts. It's just mind-boggling." Daniel C. Dennett
|
|
|
|
|
This question needs clarification.
1. by active window are you referring to the current active window of any Application ... not just your own Application ?
2. by "text from active window" are your referring to the Title of the Window a shown in the TitleBar of the Application ? Or, are you referring to actual Text in a Control in an Application Window, like a TextBox ?
The more detailed your question is ... the more you describe the context of what you are asking about ... the greater the chance you can receive useful responses.
"What Turing gave us for the first time (and without Turing you just couldn't do any of this) is he gave us a way of thinking about and taking seriously and thinking in a disciplined way about phenomena that have, as I like to say, trillions of moving parts.
Until the late 20th century, nobody knew how to take seriously a machine with a trillion moving parts. It's just mind-boggling." Daniel C. Dennett
modified 14-Dec-13 5:06am.
|
|
|
|
|
yes this what I Need
1.active window are you referring to the current active window of any Application.
2. actual Text in a Control in any Application Window like all text in this page or any program(just text from it)
thanks
|
|
|
|
|
Hi everyone;
i am using emgu cv 2.4.9 beta. I have installed this but i have a problem.
When i create a project and adding reference dlls and others dll. I have cv.invoke error. But when i go project settings and change my output directory to emgu\bin\ everything is ok. What must i do to solve this problem. Does somebody solve this ?
I have solved my problem but i took another error.
badimageformatexception
thanks..
modified 14-Dec-13 7:15am.
|
|
|
|
|
Hello
how I can create power point file from c# and add image to it just empty ppt and contains image
thanks in advance.
|
|
|
|
|
|
|
script code for mobile wireless sensor networks in c# please>>i can buy it >>if ..email: nas4yemen@gmail.com
|
|
|
|
|
For me that doesn't make much sense.
are you after something that scans to see what wifi signals are in the area?
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
You're not going to get anything with a question like that. It's way too vague. You're not describing exactly what you mean or expect by "mobile wireless sensor networks" and you don't specify any kind of platform this code will run on, and there is NO WAY IN HELL ANYONE IS GOING TO HAND OVER THEIR HARD WORK TO YOU FOR FREE!
Oh, and the only people who care about your email address are the spambots that routinely scan public forums like this looking for email address to send all kinds of spam to.
|
|
|
|
|
This is my code. Please help.
string from = "myemail@myexchangeserver.com";
string to = "recipient@email.com";
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP1);//error here
service.AutodiscoverUrl(from);
EmailMessage message = new EmailMessage(service);// Error here
message.Subject = "Email Subject";
message.Body = richTextBox1.Text;
message.ToRecipients.Add(to);
message.Save();
message.SendAndSaveCopy();
|
|
|
|
|
What error messages do you receive?
Veni, vidi, abiit domum
|
|
|
|
|
the error says "you might be missing a using directive".
|
|
|
|
|
|
Are you saying you have not included #using directives for all the classes you are trying to use? This is a fundamental part of .NET, which every developer needs to understand.
Veni, vidi, abiit domum
|
|
|
|
|
Make sure you have a reference to the Microsoft.Exchange.WebServices assembly, and a using Microsoft.Exchange.WebServices.Data; statement at the top of your code file.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|