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 monday august 25

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

Export Treeview to Array, Save to XML
Posted by Jim P. at 8/25/2003 10:25:46 PM
I'm building a Task program. I've got the XMLTextReader working: opening & parsing the XML files, and propagating the TreeView with nodes & childs. But I don't know how to export out the contents of the TreeView into an Array. I then want to take the array and use XMLTextWriter to build an XML ...more >>


Form positioning when maximized
Posted by timtos at 8/25/2003 9:21:43 PM
Hello. I´ve got a form which maximum size is 300x300 pixels. It can be resized and maximized. The problem: If the user sets the window state to maximized, the forms location is set to 0,0. Changing the Location property doesn´t help. Is it possible to center it on the screen even if maximiz...more >>

Using a messagebox
Posted by Hans Kamp at 8/25/2003 7:50:30 PM
How do I use an MsgBox in C#Builder? The following code: private void button1_Click(object sender, System.EventArgs e) { MsgBox("Blablabla"); } causes the message (translated from Dutch): [C# Error] WinForm.cs(89): The name MsgBox doesn't exist in the class or namespace ShowNa...more >>

Array of obj
Posted by Carl at 8/25/2003 7:23:53 PM
Hi, I want to pass an array of object of different type to a function and use it in the function. I am not able to have it working. Function that create the array... public virtual DataSet GetFacturesClientListeDS(string client) { Object[] parametre = new object[4] {"client",OleDbT...more >>

covariant return types when overriding
Posted by Sankar Nemani at 8/25/2003 6:35:52 PM
Hi, Does anyone know what the reason behind not allowing to use "covariant return types when overriding methods in derived classes" in C# is? Also while other OO languages such as Java, don't allow todo the same, why does C++ allow it and then the C# and VB.NET don't allow? I just want ...more >>

Connecting to Multiple Network Servers
Posted by Bruce Vander Werf at 8/25/2003 5:16:09 PM
I am developing a network client application (using the Socket class) that will need to make simultaneous TCP connections to many (100 or more) servers. In this case, which would be a better strategy: 1) Create a thread for each connection and use blocking receives, 2) Use asynchronous re...more >>

VS.NET 2002 -> 2003
Posted by Frank Drebin at 8/25/2003 4:19:35 PM
I have VS.NET 2002 and have the 2003 upgrade on order but will likely take another couple weeks to get in (we have a long purchasing process). Is there any way that I can open 2003 projects or solutions with 2002 in the meantime? ...more >>

ASCII files
Posted by Alex Leduc at 8/25/2003 4:03:20 PM
I'm trying to load ASCII files that contain characters from the French language in a way that is independant of whatever Locale the machine is configured to use. So If I have machine who's default Locale is "en-US" and I open some french text like this: [C# exaple that has the same behav...more >>



VbScript in C# app
Posted by Daniel Reber at 8/25/2003 3:48:33 PM
I have a VB application that I am staring to convert. One thing that I need to do is execute VbScript. Can c# do this? Thanks Dan Reber Datamasters, Inc ...more >>

reading manifest
Posted by Ahmet AKGUN at 8/25/2003 3:38:07 PM
Hi; Can we get all dependincy information (manifest) of an executableusing c# ? If so, can anybody give a small example ? thanks.. ...more >>

What the diffirence between C# and VB.net?
Posted by Simon Peng at 8/25/2003 3:18:22 PM
-- ---------------- Simon Peng xqpeng@tsinghua.org.cn ...more >>

Where can I get the article about compare C# with VB.net?
Posted by Simon Peng at 8/25/2003 3:16:44 PM
-- ---------------- Simon Peng xqpeng@tsinghua.org.cn ...more >>

C# and Access DB Parameters
Posted by George at 8/25/2003 1:59:39 PM
How do you pass parameters to an Access report from C#? What is the exact syntax?...more >>

working example of WaitHandle.WaitAny() please
Posted by pokémon at 8/25/2003 1:25:03 PM
Can someone please post a working example of how to use the WaitAny() method. Thanks. ...more >>

Title: how to retrieve a list of sheet from excel with odbc in c#?
Posted by Laurent Liegeois at 8/25/2003 1:24:07 PM
I have a document in excel with several sheets, But I would like to build a listbox with the lis -=zoltux=- *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Filename from Full Path?
Posted by Bruce Vander Werf at 8/25/2003 1:08:19 PM
Is there a method anywhere for extracting just the filename part of a full path name? --Bruce ...more >>

write XML
Posted by Lloyd Dupont at 8/25/2003 1:07:49 PM
I'm trying to write XML and I am quite unsuccessful so far, I have a very simple application with 1 button and one click handler like that, does anyone know what's wrong with this few lines ? //----------------------------------- private void button1_Click(object sender, System.EventArgs e) { ...more >>

Array with Pointer
Posted by Tony at 8/25/2003 1:03:01 PM
Hi, the following code cause a StackOverflowException. Can someone tell me why? Thanks Tony /////////////////////////////////////////////////////////////////// using System; namespace UnsafeArrayTest { class Class1 { unsafe static void Main(string[] args) { int si...more >>

Mnemonic Shortcuts
Posted by Jo at 8/25/2003 12:56:49 PM
Hi All, In most new lanuages you put an & (ampersand) in a button's text and voila - pressing ALT and the key after the & in the button text and the onclick event fires. C# supports this just fine BUT you can also just press the key without the ALT button and it still fires the onlick event...more >>

Related Tables
Posted by John Smith at 8/25/2003 12:53:10 PM
Hello all: I have a few questions regarding ADO.NET data access: 1. I have a DataSet that gets populated w/several tables, but I would like to display a certain column in one of those tables by pulling the related records from another table. To put this clearer I have two tables in a data...more >>

XML Serialization-driving me nuts!
Posted by Brian W at 8/25/2003 12:37:23 PM
I have been going crazy over this for the better part the weekend and have not found any answers. I have the class definitions shown below. The classes Link, LinkCollection, and SiteConfig work perfectly and the resulting XML looks as one would expect. The problem is, when I change the de...more >>

Comboboxes and .net framework
Posted by Karin at 8/25/2003 12:32:34 PM
Hi, I'm having problems running my program on computers which have only the framework installed. (On comp's with VisualStudio it works fine.) None of the comboboxes works as expected and some aren't even drawn properly. (The borders and the little arrow to the right is missing.) Thankfull for...more >>

How to create a server-side cookie using C#
Posted by raghavendra at 8/25/2003 11:56:19 AM
How to create a server-side cookie using C# ...more >>

Exchange and C# Walkthrough Documentation
Posted by Chris at 8/25/2003 11:51:10 AM
Hello all, I have been assigned the task if integrating one of our Web applications with the Exchange server. Specifically, I need to extract contact information from the server including individual contacts, distribution lists, and their properties. I will be using C# and ASP.NET to ac...more >>

MethodImplOptions.InternalCall gives Security Exception
Posted by Robert A. van Ginkel at 8/25/2003 11:48:12 AM
I have a strange C# problem. Is the following a bug? Because it should be possible to run unsafe code. How can I accomplish this? And where can I read more about this, because documentation on this is rare. I have a project where i need to use some internal calls. In this project I have 'Allow...more >>

POSTMESSAGE Equivalent??
Posted by Harry Whitehouse at 8/25/2003 11:41:39 AM
I have a form which, when launched, automatically begins a fairly intensive process. The problem is that the process is so intensive that the form doesn't have time to draw itself -- it only becomes visible at the end of the process. In C++ I used to solve this type of problem by sending a PO...more >>

writing data to CD-ROM with C#
Posted by Christian Scholz at 8/25/2003 11:28:17 AM
Hello, does anybody knows how to write data to cd-rom or cd-rws by using c# ? I know that it might be possible by using the IMAPI. But I don´t know how to use the IMAPI in c#, because I´m a beginner and do not have very much experience. I´m glad of getting informations or ( much better) examp...more >>

Client causing remotable application to freeze
Posted by Timothy Shih at 8/25/2003 11:26:00 AM
Hi, I am having a freezing issue with my application. My application serves several remotable objects, all of which must be initialized before their use. Furthermore, some of them depend on each other. On my application startup, I configure the objects usting the RemotingConfiguration class to...more >>

[ ] blocks over classes
Posted by ozgur develioglu at 8/25/2003 11:16:04 AM
Hi, What serves [ ] blocks just over the class declarations. They like: [Transaction(TransactionOption.NotSupported)] public class MyObject:DALObject {.... I'm dealing with C# for nearly a year but I coudn't find any information about this. Can you send me a reference please? Ozgur. ...more >>

test
Posted by sjefke at 8/25/2003 10:41:39 AM
test...more >>

module security
Posted by Ahmet AKGUN at 8/25/2003 8:52:45 AM
Hi all, I have a mainform.exe that calls some functions and some forms in different classlibrary dlls. I dont want this dll's to be used by other programs except mine on client installation. I mean client must not add my .net dll as referance to a custom project and use it. can anybody ...more >>

Deployment
Posted by Dean Bortell at 8/25/2003 8:31:27 AM
I am using a third party active x control in a c# project I am doing. Question is, when I create the setup project (yes I set the .ocx file to "self reg") it won't work on a computer that does not have the control registered. Is there anyway to get the setup project to register it. Also...more >>

C# Zip
Posted by Aung at 8/25/2003 4:32:40 AM
Has anybody develop RFC1950 and RFC1951 compliant Zip utility? Any pointer will be appreciated. ...more >>

Delete files
Posted by Krazitchek at 8/25/2003 12:14:44 AM
Hi, how do i do to delete files with a specific extension (like *.lnk). I try File.Delete(@"e:\test\\*.lnk) but it does not work, not the good way i guess... Help please, thanks....more >>


DevelopmentNow Blog