|
[C#]
public virtual int GetBytes(
string s,
int charIndex,
int charCount,
byte[] bytes,
int byteIndex
);
If the length of string s is less than the charCount, there will be a error.
How to solve it?
Thanks!
|
|
|
|
|
Check the length first ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hi all,
can anyone please tell me how to trap the
WM_MOUSEUP message in the Wnd Proc in c#
i want to know the value of WM_MOUSEUP
so that i can check it with the Message value
and do the further processing
Thanks
Pramod
|
|
|
|
|
What's wrong with the mouse up message in C# ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
i want to know the value of WM_MOUSEUP
so that i can trap it
and perform some operations
can u tell me the Hex value that WndProc returns
for this msg
Thanks
Pramod
|
|
|
|
|
To find these, open a C++ project, type in the message, and hover the mouse over it.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
HI,
Thanks for your advice
but Actually there is no any message called WM_MOUSEUP
it's always WM_LBUTTONUP
i found it
Expect your co-operation always
Regards,
Pramod
|
|
|
|
|
I would like to get bitmap screenshot of control. the problem is this control doesn't appear anywhere on form. i don't want to put this control on the form directly, just bitmap screenshot of this control.
can it be done in c#?
thanks
pete
|
|
|
|
|
You can't get a screenshot of anything that is not being drawn.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
can I force a control draw into a bitmap object instead of screan?
|
|
|
|
|
Hello , I'm new in the development world. Well the reason why for this message is for me to ask what microsoft technology that i can use to develop an OMR application? I would like to try explore such development.
should i use the OCR technology ? or should i try something else ?
Thanks.
|
|
|
|
|
Anonymous wrote: OMR application
Do you mean OCR ?
Anonymous wrote: Hello , I'm new in the development world.
You definately should not be trying to write OCR code right now.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
hi there ,
Sorry to sound so naive but could u plz tell me what does OCR stand for ?
thanks
|
|
|
|
|
Optical Character Recoginition. It's used to convert an image of a text document into a string of text.
|
|
|
|
|
Anonymous wrote: should i use the OCR technology
Why are you asking if you should be using OCR technology if you don't know what it is?
I think the point of Christians question is "What does OMR stand for?"
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
OCR - refers to Optical Character Recognition
OMR refers to Optical Mark Recognition - the marking of multiple choice question.
I need some guidance on what technology to be used to develop the OMR ?
Should i use OCR technology from microsoft to try it ?
Thanks.
|
|
|
|
|
It really depends on the enviroment, but you are not looking to get characters from images. If I understand you right you are trying to figure out which answer is marked in a multiple choice question. You need a little mix of Image Processing/Computer Vision, but if it is laid out right it shouldn't be to hard.
Assumption: You are using some kind of image capturing device.
Quran
Translation
Intro
Discover
|
|
|
|
|
i like to know abt the implementation of the cryptology project, like
in a client server network, server is sending a message that msg can only be
decrypted by a client who has the key and so other cannot understand it. i need ur help to add such application in my software and what are the new such applications in the cryptology field. pls help
MADE BY SANDY
BAD COMPANY
|
|
|
|
|
Take a look at the System.Security.Cryptography namespace.
---
b { font-weight: normal; }
|
|
|
|
|
Dejavu
xacc-ide 0.0.99-preview7 now with C#, C, C++, IL, XML, Nemerle, IronPython, Perl, Caml, SML, Ruby, Flex, Yacc, Java, Javascript, Lua, Prolog and Boo highlighting support!
|
|
|
|
|
|
Perhaps you should answer the original poster instead of me...
---
b { font-weight: normal; }
|
|
|
|
|
In c#, hi! I'd like to know how to invalidate a space in a textbox.
say, a user can't input empty string in a textbox and at the same time cannot input " "(space).
thanks!
much appreciated!
CandyMe
|
|
|
|
|
this will work
if (textbox1.Text != null && textbox.Text.Trim() != string.Empty)
{
}
|
|
|
|
|