Thank you.
One nation - underground
Thank you.
One nation - underground
But in this case am I able to continue using MemoryStream ?
One nation - underground
Greetings Comrades, Does anybody knows how to clear Stream?
Stream memoryStream = new MemoryStream();
...
memoryStream.Flush() - does nothing
memoryStream.SetLength(0) - calls AccessViolationException ("memory is corrupt")
Any help will be just fine. Thanks!!!
One nation - underground
Hello comrades !!! I need your help. Here is what we have: We have a jpg image that contains gray background and a lot of white eggs on it. We need to get the number of eggs and the size of each eggs. (i think in pixels). How can i do it ? The hardest problem is to get the whole egg (To mark the edges) and smart divide screen into some parts, for easiest count. Thanks for help.
One nation - underground
Hello comrades !!! I need your help. Here is what we have: We have a jpg image that contains gray background and a lot of white eggs on it. We need to get the number of eggs and the size of each eggs. (i think in pixels). How can i do it ? The hardest problem is to get the whole egg (To mark the edges) and smart divide screen into some parts, for easiest count. Thanks for help.
One nation - underground
Hello comrades !!! I need your help. Here is what we have: We have a jpg image that contains gray background and a lot of white eggs on it. We need to get the number of eggs and the size of each eggs. (i think in pixels). How can i do it ? The hardest problem is to get the whole egg (To mark the edges) and smart divide screen into some parts, for easiest count. Thanks for help.
One nation - underground
HELLO!!! Is it possible to remove one item from listview without reloading, refreshing? Thanks.
One nation - underground
Thanks for help. Can You tell me where can i read about this way of xml ? Read all Xml related articles ?
One nation - underground
Do you mean XML, you mean serialization ? What kind of structure should i use? Is isn't it wery expensive to use a->s->s->? The number of elements won't exceed 1000.
One nation - underground
Hello everyone! I need to store such data: Partitions(ex: english), Authors(ex: Shakespeare), Books(ex:Otello).
Ierarchy is Partitions->Authors->Books. What is the best way to store data ? I used a ArrayList -> SortedList -> SortedList and serialization.
I don't want to use SQL, because it cannot be installed on each computer, where this program will be used.
One nation - underground
And hello again ! I have a problem. I was using a soap serialization in assembly called "Catalog". I've got a file Data.xml. Then i was trying to serialize this file to another program ("LogBook"). I've got error: Parse Error, no assembly associated with Xml key a4:http://schemas.microsoft.com/clr/nsassem/CatalogBeta/Catalog_2.0%2C%20Version%3D1.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull strBook
What should i do ? How can i deSerialize this file ?
One nation - underground
Hello!!!! I'm working with RichTextBox. How can i make that if i push right button, the text (or only 1 position), that is under my cursor became Selected ? (as if i press left button ?).
One nation - underground
Hello! Sorry for my million annoying questions, but i have another one. So: I have i RichTextBox, and i click in the center of some word. How can i get a full word ? (is there some methods, or i have to move left and right to spaces?) Thanks!
One nation - underground
Thanks to all for their answers !!
One nation - underground
Hello. How can i get a code of pressed key ? :confused:
One nation - underground
Hello, friends-programmers. How to get nuber of objects in enum
?. And how to create an array/class/variable with the name if Enumerated value ?
One nation - underground
X|
Hello!!! I was woundering how to get a pixel value from Bitmap ? If i'm using GetPixel().ToArb
- it returns a nearest color. How can i convert my picture to Black-and-White, and how can i get ammount of blackness? (Or if you know how to convert a color of Colored image to double?) Thanks. X|
One nation - underground
Thanks. I'm beginner in databases, what can you advise me to use or mayby read about it ?
One nation - underground
Hello ! I had to do a Dictionary. So i began choosing how to keep the words. 1) >>>>>>>>>>>>>>>>Data Type <<<<<<<<<<<<<<<<<<<<
The problem is that i have a lot of same words, but with different translations. The customer wants the words to be kept as they were given me. Sorted lists does not support the same keys. ArrayList is the best structure to keep the words, but it is working wery long (to load about 20000 words). 2) >>>>>>>>>>>>>>>>>>>>>Keeping on disk <<<<<<<<<<<<<<
I keep the words on disk using serialization (SOAP). Was i write? I checked, it was 5 times slower than StreamWrite/Read, but i don't have to worry about the length of my word and translation (+some comments). Should i left how it is, or use something else (+databases) Thanks for your attention.
One nation - underground
Hello. I have to make a program, that is listening to keyboard, and if some combination of keys are pressed, it blocks other key. EXAMLE - if i press "Lshift+Rshift" the F1 key is blocked. How can i do it? How can i get the combination of 2 keys?
One nation - underground