| Thread | Last Post | Replies |
|
| screenshot of graphics object (or access to it's image) | 24 Mar 2006 19:08 GMT | 2 |
I've read a lot of posts about this but none that I could find dealt directly with how to do this in c#. If I have a graphics object at the end of a paint call that has been fully drawn on. How do I get a bmp/image/screenshot of the surface that it controls?
|
| using 'foreach' and continue looping in another function? | 24 Mar 2006 18:59 GMT | 2 |
In a traditional for loop, one can use the index (say i) and continue looping in another function and come back to original for loop (even though it's not good practice) Can the newer foreach enumerator do the same.. how to continue looping in
|
| TcpClient / NetworkStream not failing on write? | 24 Mar 2006 18:42 GMT | 7 |
The code below demostrates an issue I'm having with with NetworkStream: using System; using System.Net.Sockets; namespace TCPCTest
|
| Having Assembly entrypoint in DLL library | 24 Mar 2006 18:17 GMT | 3 |
I use two classes to manage the Main() command line (and alot of other stuff) for my prototyping environment. I tryed putting the MainClass in a DLL and just having the other class (which gets modified on a per project basis) as the 'program.cs' file (the
|
| How to getting console messages to Textbox | 24 Mar 2006 17:08 GMT | 4 |
I have a console application and a lot of Console.WriteLine(). Now I want to convert it to Windows Form Application. Is it possible to getting all of the console messages to Form.Textbox without changing every Console.WriteLine()?
|
| Why use stored procedure in C#? | 24 Mar 2006 16:56 GMT | 12 |
In my C# Windows Form application project, I have done all queries on my codes. Now I wanna try using the Stored Procedure. But I am not clear about why using the stored procedure.
|
| Enums vs dictionaries | 24 Mar 2006 16:42 GMT | 3 |
I'm starting out with C#, and I'm wondering if someone could tell me what is the difference between Enums and dictionaries... My book doesn't even make reference to dictionaries, but while programming in other languages, I used dictionaries quite often. Should I move to
|
| Stopping execution until an async event fires | 24 Mar 2006 16:17 GMT | 1 |
I am working with a COM library in which modifying almost every object is done asynchronously (because the object represent physical devices across a network somewhere on a telephone switch). Code to modify an object, such as someObject.AddProperty("blah"); will execute
|
| Checking for datareader returned types at runtime | 24 Mar 2006 15:47 GMT | 2 |
dr is a dataset, str1 is a string. How can I know the type inside the datareader field? I tried: if(dr.GetValue(n) is System.Int32)
|
| SqlCommand + T-SQL Statements | 24 Mar 2006 15:16 GMT | 4 |
I'm trying to run this T-SQL code using SqlCommand: USE master; ALTER DATABASE AdventureWorks SET SINGLE_USER;
|
| Catching exceptions but don't want to cast the type. | 24 Mar 2006 15:07 GMT | 5 |
I have a try catch where I don't know all of the exceptions that can be thrown (I'm calling a web service in the try) and what I would ideally like to do is a catch all but then look at the type of exception that was thrown and decide what to do there. Because I don't know what ...
|
| Sending email goes to bulk folder | 24 Mar 2006 15:05 GMT | 1 |
I'm using the System.Web.Mail classes to email users. The problem is that when I send to an Yahoo recipient, my email goes straight into the bulk folder. Is there a way to make sure that my email will go to the recipient's
|
| Studio versions & development | 24 Mar 2006 15:01 GMT | 2 |
No response in the vstudio.general group so... I currently have Visual Studio 6 Enterprise and Visual Studio .NET 2003 Enterprise Architect installed. I am about to install Visual Studio 2005 Professional.
|
| KML file appears as aspx when served | 24 Mar 2006 15:00 GMT | 2 |
I have a .Net C Sharp page (aspx) serving up as a .kml file. On my localhost and an internal test server the page serves correctly and opens Google Earth. On my production server, I am served the aspx file. I don't have kml in the MIME types on any of the servers and was wondering ...
|
| Why do I get these kind of warnings when building my exefile | 24 Mar 2006 14:49 GMT | 3 |
Hello!! I use VS 2003 and C# for all class library except MeltPracCommon.dll which is C++.NET The problem is that I get these warnings when building the exe file and use
|