You can send the data in chunks and on the client use ArrayList or some other collection to build the complete buffer. I was also using StringBuilder in a couple of situations.
CalcelAsync() just sets the CancellationPending of BackgroundWorker to true. You must end the thread by yourself. In DoWork event handler, where your...
I'm sorry if didn't describe it clearly. All the objects implement an interface IContentListItem and have a collection of IContentListItems too. The ContentList class is basically the root element of...
If I'm not wrong, rich text is piece of text with additional symbols for formatting. So it's basically the same text, it's the control that parses it that makes it look "rich".
I am currently writing an application that is using an already existing protocol to send/receive data. The protocol is text based, there are like 20 different commands that can have...
it's been a while since I last posted here. :) I started database programming quite recently and am now in process of writing a Database Access Layer (DAL) to support various databases,...
I'm trying to make my program more user friendly and the first thing that came into my mind was making the GUI fully responsive. I have a lot of methods that involve looping...
I have an application with localization support. When building the application, language resource files are placed in their own directories, like "de/program.resources.dll". I was wondering...
I want users of my app (written in C#) to create accounts and use them to authenticate on a server. The connection should be secure. When authenticated, user is able to request...
About process identifying, I think there's no other way to do this, but use process' name. And that's why I needed path to the exe, to check if the program was launched...
I want to get the directory a program was launched from. These processes aren't started in my code, they are started using the usual windows explorer.
I checked...
Hi!
Well, IMO it's the only way, to read the whole file until you encounter the delimiter. Unless .NET already has some feature like this.
Another way is, if you are using your own file format,...
Hi!
I don't know how to convert byte[] to Icon :blush:
I read all the data from the icon file into byte[] and now need to convert this into Icon object.
Can someone help me?