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 2004 > threads for monday august 30

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

search the best Graphic API (.Net)
Posted by mirage at 8/30/2004 11:54:30 PM
Hi, Actually, I use C# and WinForms to develop my littles applications. Now, I want develop a game like Tetris or Pacman, and I am asking who is the best API for me... Some of you have Game experience, so you can tell me... What is the best (the most easy and the most powerful) managed Dire...more >>


Assembly.LoadFrom & CreateInstance problem with custom class
Posted by Bülent Üstün at 8/30/2004 11:14:07 PM
Hi, i've a DLL file which contains a class i wrote named up2date (its not windows.forms). Which contains a constructor public up2date(string url,string domain) Now i want to load this DLL & use that class. I load the assembly with Assembly i = Assembly.LoadFrom( "update.dll" ); Wh...more >>

C# 14.5.5.1: what means "all methods declared in a base type of T are removed"?
Posted by Alex Sedow at 8/30/2004 10:45:36 PM
Method invocation will consist of the following steps: 1. Member lookup (14.3) - evaluate method group set (Base.f() and Derived.f()) .Standart say: "The compile-time processing of a method invocation of the form M(A), where M is a method group and A is an optional argument-list, consists of ...more >>

How can I alter the value of a combobox?
Posted by Johan Goris at 8/30/2004 8:52:10 PM
I'd like to change the selected value of a combobox, but it does not work in this way : ComboBox c; c = (ComboBox) ct; // ct is a combobox which is added to a form. c.SelectedValue = sqlp[i].Value; I have even tried to refresh it, but that does not work either. How do i that proper...more >>

DHCP Query, can make request but not recieve data
Posted by Wayne M J at 8/30/2004 8:22:57 PM
byte[] send = new byte[237]; byte[] recv = new byte[237]; send[0] = 1; send[1] = 1; send[2] = 6; IPAddress ip = IPAddress.Parse("255.255.255.255"); IPEndPoint iep = new IPEndPoint(ip, 67); IPEndPoint iep2 = new IPEndPoint(IPAddress.Parse(ip, 68); UdpClient udp = new UdpClient(); udp.Send(se...more >>

How to open a .htm file in my own window
Posted by Susan at 8/30/2004 7:35:04 PM
Basically, I have htm files that I want to open when a user invokes a certain event. I want it to show up as part of the application instead of opening up in another window. Does anyone know how to do this? Thank you, Susan...more >>

Selecting XML nodes
Posted by Susan at 8/30/2004 7:25:10 PM
Does anyone know the notation of how to select XML nodes based on an attribute. I know that it will be something like: root.SelectNodes ("descendant::key....") Sample xml is <indexdata> <key name="buffy"> <topic name="buffy" url="buffy/buffy.htm"/> <topic name="scooby gang" url="buf...more >>

Question on building a number of components that dependent on each other
Posted by walker_712 NO[at]SPAM hotmail.com at 8/30/2004 7:08:45 PM
I have a solution that has a number of projects. Each project generates a component and each component depends on a number of other components. What is the best way of managing this dependency so when I build my solution it will build the components in the correct order? I see a number of opti...more >>



Math Algorithm QS
Posted by Tamir Khason at 8/30/2004 7:02:53 PM
I know that this group not exactly the place to ask this question, but anyway: I have Array of Rectangles, grouped in number of groups (see right: http://www.dotnet.us/imgs/vmf.jpg ) I need to make Point[][] of all groups (their edge point coordinates) in this certain example I'll recieve Po...more >>

Merging Cells in Excel 2003
Posted by Damian Arntzen at 8/30/2004 6:53:02 PM
I'm a beginner to moderate programmer who's fiddling around with automating Excel, in particular after being able to have the user fill out a form and it then generate the workbook. I can't quite figure out how to get it to Merge cells together - I've found how to do it (I think) but can't nut...more >>

create a library of function to be used from multiple places
Posted by Sammut at 8/30/2004 6:36:02 PM
Hi, I am trying to create a class in which I create a number of functions that I can call from differenet places in my program. I create a new class called ecs Then I create a function in it whic returns a string. Then I went in my main form and tried to call the function with out any ...more >>

Using COM objects without separate DLLs
Posted by Mirco at 8/30/2004 5:56:51 PM
In a previous post, Dmitriy Lapshin told: "You can generate the source files for the interop DLL and include them into your project (to a separate folder, probably), so you will still benefit from Interop amenities but do away without creating a separate DLL". Could anyone explain how to ge...more >>

WriteLine and Linebreak
Posted by Dirk Reske at 8/30/2004 4:19:00 PM
Hey, I have following struct: struct Packet { string Command; byte[] data; } I want to send this trough an open Network connection. I serialize it first and remove all linebreaks in the XML data. When I send it using WriteLine(strXML), what happens with linebreaks in the byt...more >>

windows service does not start
Posted by Mark at 8/30/2004 3:32:30 PM
I created an extremely simple windows service that only writes to the EventLogs on Stop and Pause. I installed it using the InstallUtil.exe program, the output of which is below. It appears to be successful. I'm now ready to start my service (I think) but the NET START command does not appear...more >>

Sync between DataGrid and DB
Posted by Pierluigi Terzoli at 8/30/2004 3:29:00 PM
Hi everybody, I need help for this problem: I'm using a DataGrid to Insert/Modify/Cancel data from a single table. At the moment, every cell modification of a pre-existing row is correctly update on the DB. I have some doubts about inserting a new row. The table has a Id field that is a primar...more >>

Moving text from one form to another form
Posted by Aaron at 8/30/2004 2:58:26 PM
Hello, I have a textbox(txtFines) on one form(frmMain) that needs to have the text moved too a different form(frmFines) in a textbox(txtFineList) on btnDone_Click function. I know how to transfer textbox text too a different textbox on the same form but not on too a different form. Aaron...more >>

{OT?} Need Samples of Setup Projects for deploying apps.
Posted by Micus at 8/30/2004 2:45:18 PM
Hello all, I'm hoping some kind soul can provide links or refs for some sample solutions of Setup Projects [VS.NET 2003 Ent. Arch.]. I have an app with an activeX which I want to deploy with the Windows Installer. I've scanned codeproject and ms.com. Nothing jumped out and MSDN Lib doesn't...more >>

Question related to multi-threading
Posted by Roger at 8/30/2004 2:22:41 PM
Hi: I'm running a thread that displays a messagebox. I want the messagebox to close when the thread aborts, but I've had no luck in doing so. A simple call to thread.abort doesn't work. Anyone know what I may be doing wrong? ...more >>

Adding a new row
Posted by Mel Weaver at 8/30/2004 2:17:02 PM
Hi, I'm using a typed dataset and adding a new row to dataview. DataRowView newDRV = catView.AddNew(); newDRV["CName"] = acf.categoryTextBox.Text; newDRV.EndEdit(); The row is added. My problem is I need to dataview to be positioned on the new row. I have tried using the c...more >>

Detect TextSize of a ListViewItem
Posted by Matthias Kwiedor at 8/30/2004 2:12:28 PM
Hi! I want to display a Tooltip at a ListView, when the Text in a Column won't fit. I know ho to display the Tooltip, but how can i detect if a Text fits into a Column or is cuttet with "..."? Regards Matthias...more >>

Updating Notify Icon Question
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 8/30/2004 1:29:22 PM
Hi, I have a C# program that changes the notifyIcon during the program. What I have noticed is that sometimes when the program is over the old icon will still be in the system tray. But when i move over the icons in the taskbar the taskbar will immediately update itself and clear the old ic...more >>

Socket Question
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 8/30/2004 12:58:12 PM
Easy probably, please read on. I know some of you have commented already about some of my socket question. I appreciate that. I have a Form1: static void Main() { Application.Run(new Form1()); clsListening.AsynchronousSocketListener.StartListening(); } In the clsListening ...more >>

Reading PDF file
Posted by Stefan Rosi at 8/30/2004 12:56:46 PM
Heallo, In my company they need to compare two versions of a PDF file. I found a lot of .NET components to generate and merge PDFs. Anyways neither was able just to read the text. The PDF file is in german and has many photos and text box and not just a plan text (but only the text has to be c...more >>

Even better....
Posted by NewGuy at 8/30/2004 10:44:44 AM
If someone can recommend a free readonly replacement for MS's internal datagrid I would be really happy ...more >>

One more data grid question
Posted by NewGuy at 8/30/2004 10:30:04 AM
Is it possiable to Bind a Dataset to a DataGridTextboxColumn? ...more >>

REPOST: plus sign on node without adding children
Posted by Tim Wallace at 8/30/2004 10:19:12 AM
Perhaps my original post wasn't clear enough, so I'll try to reword. I only want to retrieve a node at a time for my treeview control. As the user clickes the plus sign, I will populate child nodes. In pre-.NET, it was easy to do. In .NET, using Visual C# 2005 EE Beta, if I don't insert a ch...more >>

Culture neutral Description Attribute?
Posted by Vagabond Software at 8/30/2004 10:08:16 AM
I have added a few custom Description Attributes to an assembly. I have = read that in order to make those Attributes culture neutral, I would = have to create a custom Attribute class derived from = System.ComponentModel.DescriptionAttribute and override the Description = property to perform t...more >>

ArrayList member variable property accessor
Posted by TS at 8/30/2004 10:01:57 AM
Hello, I am trying to have a member of a class declared as an arrayList to have get & set property accessors, but I can't get it to compile. This member variable can't be a simple array because I don't know the number of items in the collection. I need to be able to add more items at run time. ...more >>

What does Thread safe mean?
Posted by Frank Rizzo at 8/30/2004 9:50:55 AM
Some of the classes in the framework are marked as thread-safe in the documentation. In particular the docs say the following: "Any public static (*Shared* in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe." What exactly does th...more >>

c# : implement OnClick into Object
Posted by W. Wandrey at 8/30/2004 9:00:14 AM
Hallo, I'm a newbie and try to learn C# while trying to progr. a little game which in affect touches all aspects of the language: syntax, arrays, painting, events .... so on events I be stuck: is it possible (and how) to implement an OnClick-Event into a class derived from :Object. i know ...more >>

Hashtable Contains() - byte arrays as keys -
Posted by Joseph Lee at 8/30/2004 8:27:17 AM
Hi All, I am having problem when i am using hashtable to keep an array of bytes value as keys. Take a look at the code snippet below --------------------------------------------------- ASCIIEncoding asciiEncoder = new ASCIIEncoding(); byte[] bArray = asciiEncoder.GetBytes("Test"); H...more >>

How to create a customized window frame border? Possible?
Posted by codepenguin NO[at]SPAM hotmail.com at 8/30/2004 7:27:04 AM
Does anyone know if it is possible, in C#, to use a customized window frame? For example, programs like Winamp and AdAware do not use the standard box window frame, but a customized design. I'm guessing that this is a bitmap that is somehow applied with an API call? Thanks! Jaime...more >>

Assembly folder in VStudio won't show contents?!
Posted by Larry at 8/30/2004 7:23:25 AM
After installing Visual C# .net 2003 (VStudio Standard) I navigate to c:\windows\assembly and it shows one directory named "download." No files, just that directory, then when I click it it expands to another directory named the same, "download." I can do that over and over and it keeps sh...more >>

Help With Label Refresh
Posted by Yogi_Bear_79 at 8/30/2004 7:18:51 AM
Self Taught here so please bear with me. I have the labelRestrictSites as private on the MainForm.cs. I then access the labelRestrictSites.Text thru the public string LabelRestrictSites from another class. So when I add labelRestrictSites.refresh code to my class I get an error because the la...more >>

creating mailboxes on exchange 2003 clusters
Posted by B. Zuidgeest at 8/30/2004 5:19:02 AM
I use C# to connect a database with student information directly to the Active Directory (2003). This means that as the student is enlisted an account and mailbox is created in the active directory. Creating users is flawless en mailbox creating went perfect against a single exhange server u...more >>

converting a byte array to a 1bpp bitmap
Posted by James Dean at 8/30/2004 4:53:06 AM
Could somebody tell me a quick way to write a whole byte array to a 1 bit per pixel bitmap if its possibleinstead of locking the bits and doing it like that..... *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

combobox 's show
Posted by jack at 8/30/2004 3:43:14 AM
I drew a combobox in a form. Because some reason,the combobox 's width must be 50,but the combobox's content 's length is larger(for example: "000001 tks company"),so some content can't show,how do I do,plz help me!!! In the microsoft's access ,the combobox can show the all content....more >>

Creating a 1bpp png
Posted by James Dean at 8/30/2004 2:33:15 AM
How do i create a 1bpp png if i have the 1bpp data stored in a byte array.... *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Setting Execption messager after construction
Posted by Rasmus at 8/30/2004 2:15:02 AM
I need to set the exception message on an already constructed Exception. Is there a way to accomplish this? Psudo Code: public class MyException : Exception { public MyException (Hashtable myData) : base ("dummy") { foreach (string sTemp in myData.Keys){ this.Message += "," + sTemp; ...more >>

Creating a thumbnail
Posted by James Dean at 8/30/2004 2:01:52 AM
I have thought about creating a thumbnail from my full image but its too slow. What is the best algorithm to use for creating a thumbnail directly from data by yourself. What algorithm do microsoft use to create the thumbnail image...... *** Sent via Developersdex http://www.developersdex....more >>


DevelopmentNow Blog