| Thread | Last Post | Replies |
|
| ILMerge...Why? | 23 Jul 2008 01:30 GMT | 14 |
I have read several threads regarding using ILMerge to combine all your dlls with your exe to create one single exe file....I don't get it. Why would you ever want to do this? Todd
|
| XML config | 23 Jul 2008 01:13 GMT | 6 |
I'd like to know if there is a way that I could create a new object for each product in an XML file. XML---------- <flavor id="vanilla">
|
| mpossible strange behaviour with sendmessage (make no sense at all) | 22 Jul 2008 23:56 GMT | 6 |
I use sendMessage to retrieve information from another application. For some obscur reasons, my code work only in a button click event and nowhere else in my application. I mean I get unexpected result depending where the code is placed in my application ?!?!?!?!?
|
| MessageBox with timer | 22 Jul 2008 21:58 GMT | 7 |
Is it possible to show a MessageBox(Yes&No button) and assume "No" was clicked if nothing was clicked 10 seconds after the MessageBox begins to appear?
|
| using | 22 Jul 2008 20:00 GMT | 5 |
Consider the following code: using(StreamReader fin = new StreamReader(filename)) { // do work with fin
|
| Webbrowser control : Removing redraw when changing pages | 22 Jul 2008 17:59 GMT | 6 |
I'm using a webbrowser control within an application for the UI and want to hide the flicker and redraw when changing pages. Ideally I want to render the new page to a seperate offscreen buffer then fade this over the exisiting page. Can anyone recommend a good way to approach ...
|
| SecureZeroMemory in a managed DLL? | 22 Jul 2008 15:50 GMT | 14 |
// SecureZeroMem.cpp #include <windows.h> extern "C" __declspec(dllexport) PVOID __stdcall SecureZeroMem(IN PVOID ptr, IN SIZE_T cnt)
|
| Delegates are useful, and here is why (sample program) | 22 Jul 2008 14:20 GMT | 74 |
They usually don't teach you in most textbooks I've seen that delegates can be used to call class methods from classes that are 'unaware' of the delegate, so long as the class has the same signature for the method (i.e., as below, int Square (int)).
|
| Crystal Reports and C# - Application Deployment | 22 Jul 2008 13:53 GMT | 7 |
Hey Guys, I'm totally flipping out. I developed an application which makes use of the built in Visual Studio 2005 Crystal Reports components. I have references on my solution which state:
|
| What do you look for in code review? | 22 Jul 2008 02:22 GMT | 4 |
On the coding practice side proper exception handling/logging will be on the top of my list, followed by (in no specific order) null checking, use of enumeration instead of return code, functions that do way too much, ....
|
| Need help with calling one class from another | 21 Jul 2008 22:49 GMT | 21 |
I've got an app with two classes, and one class (InventoryInfoClass) is an object within the other class (InventoryItem). I'm running into problems with trying to access (get/set) a private variable within the included class (InventoryInfo) from the "including" class
|
| TcpClient read/write timeouts do not timeout | 21 Jul 2008 20:17 GMT | 11 |
I have a TcpClient. I set the read/write timeouts at 1 minute (in milliseconds). I get a NetworkStream from it and confirm the timeouts still exist. I do a NetworkStream.Write() and then a NetworkStream.Read(). Sometimes it sits and waits -- on the Write()
|
| Captured variables | 21 Jul 2008 19:59 GMT | 7 |
var result = new List<StockLevelRow>(); foreach(SomeClass c in SomeList) result.Add( new StockLevelRow(c.Name,
|
| dllimport stdout gets eaten | 21 Jul 2008 19:46 GMT | 5 |
I changed the stdout in my C# app using Console.SetOut. It works fine for all my Console.Out.Write calls and with log4net. However, I don't see any output from native dlls that write to stdout. What am I doing wrong?
|
| how does C# compare to C++ and VB | 21 Jul 2008 19:38 GMT | 35 |
If I'm reasonably familiar with C++ and am an expert at Visual Basic, what principles should I apply in order to understand C# so that I could more quickly learn the language? Daniel
|