Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008


all groups > c# > august 2003 > threads for friday august 15

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

finding user's My Documents
Posted by Michael Mayer at 8/15/2003 11:56:44 PM
I have a windows forms app and am wondering how I find the My Document's folder of the current user. Is there a class or namespace in .NET to assist with this? Or must I use P/Invoke - if so, anybody know the correct dll / function? Thanks in advance - my google searches aren't turning up an...more >>

load form and passing parameters to it
Posted by Jared at 8/15/2003 9:15:43 PM
Hi Does anyone know how could I load a form from another and send some parameters to it? Is there a way to identify by name instances of same form? Thx ...more >>

Determine if a string is unicode
Posted by Tony Liu at 8/15/2003 7:33:30 PM
Hi, how to determine if a given string is unicode or not? Thanks Tony ...more >>

Loading event code manually
Posted by VM at 8/15/2003 5:09:28 PM
How can I manually run the code of an event? For example, I want to run a Mouse click event without actually clicking doing a Mouse click? Thanks. ...more >>

Virtual Memory low problem...
Posted by rollasoc at 8/15/2003 3:44:43 PM
Hi, Another Friday afternoon problem to fix. Our application, seems to run fine for several hours, then pops up with a low virtual memory message. This sometimes then crashes the system, since it will then say one of the objects has not been instantiated. I'm assuming we've been a bit lax...more >>

Guid
Posted by news.microsoft.com at 8/15/2003 3:25:03 PM
Hi all, I'm just wondering if there is a way of obtain the guid from the clientside in C#. Or this is just an impossible thing to do without Active Directory as the guids are unique? I've tried looking for it everywhere but I cant find any source on this. Thanks in advance Alex ...more >>

MSDN July 2003
Posted by Dmitri Shvetsov at 8/15/2003 3:01:33 PM
Hi All, Did somebody try to download 3 MSDN CDs from Microsoft site? I downloaded yesterday 2 CDs but the third link doesn't work and I can't download the last disk from their site. Does somebody know the direct link to this ISO image? Dmitri. ...more >>

How do you get a text description of the last Win32 error?
Posted by Will Pittenger at 8/15/2003 2:04:35 PM
I see System.Runtime.InteropServices.Marshal.GetLastWind32Error, but I see no method to get a string based on that error. Do I need to use the Win32 function FormatMessage? If so, that defeats the purpose of C# having GetLastWin32Error. Since FormatMessage does so many things besides look up ...more >>



Determining the computer's domain
Posted by JZ at 8/15/2003 2:02:33 PM
Hi, At run-time, I need to determine the domain on which the server is currently joined. System.Environment doesn't provide me with the information that I need through the UserDomainName property because that is the network domain name associated with the current user. I need to know the domai...more >>

conversion
Posted by Ching-Lung at 8/15/2003 1:51:45 PM
Hi, I have web browser control in my windows form and am implementing the following event: ***************************************** public void BeforeNavigate(string URL, int Flags, string TargetFrameName, ref object PostData, string Headers, ref bool Cancel) *************************...more >>

Garbage Collector Debugging
Posted by Gustavo Franco at 8/15/2003 1:14:28 PM
Hi, I did a medium complex application in C#, and in some areas the memory goes up to 60Mb, when I finish I dispose everything and setting everything to null and calling GC.Collect, but the memory never goes below 45MB and I'm pretty sure I'm not allocating that huge amount of memory. ...more >>

Convert.ToString bug?
Posted by William Stacey at 8/15/2003 12:25:53 PM
Example line: string temp = Convert.ToString(null); Convert.ToString() says it will return empty string if null is passed as parm. This returns a null. Is this oversight in the Convert method? What is the way you guys are checking for nulls on string parms and triming if they pass somethi...more >>

Deserialization versions
Posted by Dan at 8/15/2003 11:43:33 AM
Serialization is great except that it does not accommodate version changes (adding a property to a class renders it unable to deserialize because an exception is thrown). I think I understand the philosophy underlying the choice of the architecture used by MS in thier decsion to enable version...more >>

Ok... very dumb question. static void Main()
Posted by MC D at 8/15/2003 11:26:23 AM
I am trying to move my Main() procedure out of a startup form and into it's own class. I've updated the app settings to use the "Globals" class (which contains the main form). Here's what I have: [STAThread] static void Main() { Application.Run(); frmSplash splashForm = new frmSp...more >>

Clear Array
Posted by ron at 8/15/2003 11:18:23 AM
Hi, Could i clear the a single dimension array and a jagged array in the following way. int[] mySingleArr = new int[10]; mySingleArr = System.Array.Clear(); int[][] myJaggedArr = new int[3][]; myJaggedArr = new int[0][3]; myJaggedArr = new int[1][3]; myJaggedArr = new int[2][3]; my...more >>

Exception errorcodes?
Posted by William Stacey at 8/15/2003 11:08:32 AM
Wouldn't it be better if you could throw one of the prebuilt exceptions, such as ApplicationException or ArgumentNullException, and also supply a numeric errorcode with it. Then the users can check that instead of the text message. I know you can create your own exceptions, but this would fit ...more >>

Oracle or SQLServer - .NET or J2EE?
Posted by Syed Mudussir Husain at 8/15/2003 10:50:42 AM
Hello, I am doing a very large web based database project. Over the period of 5 years, "more than 100, 000 Books" will be stored in a Database along with a LARGE amount of book attributes majorly consists of very large amount of people reviews about a book. We then need to analyze or gene...more >>

Create a directory
Posted by MAF at 8/15/2003 10:36:44 AM
How do I create a directory inside C#? ...more >>

how i can add nodes
Posted by zerdust at 8/15/2003 10:29:10 AM
I used IE web controls to use treeview and I want to add webrom.aspx node but it doesn't work with code. Can anyone send me sample how i can add nodes with code. ...more >>

serialize 2 objects to same xml file?
Posted by vince at 8/15/2003 10:25:40 AM
Can I add (append) to an xml file that already contains a serialized object, and be able to deserialize to either or both objects from the same file...??? How is this done...?? thanks, vince...more >>

asp.net: annimated gif while stored proc runs in the background
Posted by Mark at 8/15/2003 10:16:17 AM
ASP.NET: Any suggestions on how to display an animated .gif file on a web page while a stored procedure is running in the background? For example, on some of the airline sites, it asks you to wait while a reservation is being placed. During that time that the process is running on the server, ...more >>

Remote DLL configuration
Posted by Chris at 8/15/2003 10:10:30 AM
Hi, I'm writing an application in C# with the following architecture. I have a remote application connected to an engine via remoting. Connected to the engine are a series of plugins which are drivers for a particular piece of hardware (currently on com ports). For each plugin, there is a u...more >>

Reading complex Data from a file
Posted by Blue man at 8/15/2003 9:55:20 AM
Hello I have a data file like this : 01 "" "09:04" "PLMDX " 3.20 0.35 1.74 0.23 2.49 0.17 1.37 0.18 03 02 "" "09:05" "PLMDX " 3.70 0.18 1.93 0.14 2.75 0.19 1.05 0.01 03 03... 04... ...... and i want to read each number and fileds and save it to vari...more >>

Can C# aaplications be load-balanced on the middle tier
Posted by billym at 8/15/2003 8:23:35 AM
Does anyone know if C# (or .NET applications in general) can be load balanced on the middle tier simply by deploying them to multiple servers in a clustered environtment? If so, would this be something supported by the Framework, MSCS, or a third party solution such as Local Director? ...more >>

Using SoapExtensions to intercept and decrypt MIME formatted SOAP messages
Posted by aim NO[at]SPAM datawright.co.uk at 8/15/2003 8:20:17 AM
Hi, Please bear with me as I have only 1 weeks .NET experience. I am using VB.NET to write a stand-alone client application that connects to a Web service. I successfully send a request for a list of items (i.e. getItemList), and successfully receive the list. I then send a request for in...more >>

updating a window from another thread
Posted by Ron James at 8/15/2003 5:24:29 AM
I have a Form based dialog which kicks off a worker thread. The form has a progress bar, and a Cancel button. The Cancel button Aborts the thread, and when exiting, the thread attempts to Show a hidden control on the form. This does not work, and I'm pretty sure it's because the Show me...more >>

System.Data.DataTable Performance Issue
Posted by Buddy at 8/15/2003 2:38:26 AM
Hello, We are using DataTable to store our data that we retrieve from SQL because it provides us with ROW/COLUMN concept. Due to DataTable been memory hungary we are finding that at least 40MB of memory is been created every second which means the GC is concently running. We want to use ...more >>

System Information
Posted by Ann Marinas at 8/15/2003 2:28:11 AM
Hi! How can you get to show the System information on a form, say an About box? Thanks! :D ...more >>


DevelopmentNow Blog