force kill thread Hi all I have some trouble with threading: I have a control thread which it is starting another thread. This thread is executing some long run SQL statements. The control thread is looping and checking for a cancel flag which the user can set to cancel all. In the control thread, I tried to abort the other th... 5 Jun 2010 00:39
Image size mystery Let's say I have an Image and Graphics g. I would expect the following two lines to produce same result, but they don't. Does anyone know why? g.DrawImage(image, new Rectangle(position, image.Size)); g.DrawImage(image, position); What is the true image's size in given graphics context? I.e, what should stand i... 4 Jun 2010 11:28
Socket Timeout at 2min I client A connects to server B and sends some data. Server B then processes that data and returns an answer. All works well as long as the processing by B takes under 2 minutes. When i takes longer i get this message: A .NET Framework error occurred during execution of user-defined routine or aggregate "GetRSE... 3 Jun 2010 23:26
errors when closing and disposing SqlConnection in DLL I have inherited and application originally written in C# for .net 1.1. I am currently looking into upgrading it to .net 3.51. Everything seems to be working smoothly except we have a core DLL that we use to maintain our SQL connection. Everytime we open a page it calls this .dll to establish a SQL connection ... 3 Jun 2010 15:40
Outlook 2003 Plugin from visual studio 2008 I have been working on generating Outlook 2003 add-ins from Visual Studio 2008. I built the project using the File->new-Project and selected Visual C#->office->2003->Outlook 2003 Add-in. Using pieces from a Microsoft sample which displays all the button faces available and then tracking down the changes needed ... 7 Jun 2010 15:30
Why is not Encoding.Unicode called Encoding.UTF16 Hi! Here I have some example of different encodings. We for example UTF7 and UTF8. But what seems strange is why not Encoding.Unicode is called UTF16 ? StreamWriter swUtf7 = new StreamWriter("utf7.txt", false, Encoding.UTF7); swUtf7.WriteLine("Hello, World!"); swUtf7.Close(); ... 3 Jun 2010 19:03
how to display all the code points in a code page ASMO-708 Hi! If I have for example code page 708 that is named ASMO-708 how do I write the code that can dispaly all the code point in this code page ? This code page is some kind of arbisk. //Tony ... 3 Jun 2010 19:03
What happens with encoding when a mail is received Hi! Some background information to my question. If you've ever received an e-mail message or seen a Web page that seemed to have box character or question marks where letters should appear, you have witnesses an encoding problem. Assume the following exist in a e-mail. Content-Type: text/plain: charset=xyx... 3 Jun 2010 19:03
How can I enumerate all installed frameworks ... .... programatically using C#? Thanks. ... 4 Jun 2010 08:08
LINQtoEntity to connect to Oracle and MySQL Using LINQtoEntity, how do I connect to Oracle and MySQL? Any help would be appreciated Thank you Regards Raj ... 3 Jun 2010 07:51 |