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# > october 2007 > threads for wednesday october 31

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

Problem with new Row on DataGridView
Posted by shahoo at 10/31/2007 11:45:22 PM
Hi, I have a DataGridView on a form and it is bound to a BindingSource. Some fields are necessary and so cannot accept Null values. My problem is that when I run the program and try to add a new row to the DataGridView and value of one of the necessary cells is missing, when I click anywhere on ...more >>


basic string encryption
Posted by j1mb0jay at 10/31/2007 9:05:48 PM
I have created some simple string encryption in C# to be able to store passwords in a database without them being stored in plain text. I have attached a encrypted passage from a book I like. Please let me know if it is really simple to crack. Regards j1mb0jay...more >>

binding source question
Posted by GS at 10/31/2007 8:51:04 PM
I have controls in the free form bound to databindingsource. Now I added a couple of columns in the database table and reconfigured the bindingsource accordingly. Then I bound the two new columns to two checkbox on the form. C# automatically produced bindingsource1 and 2. if I go back and man...more >>

Copy DataGrid columns values to text box
Posted by Soulless at 10/31/2007 8:27:38 PM
Hi, Is there a quick way to take all the rows from a column in a datagrid and copy them to a multi-line text box? I am hoping there is a quick method as opposed to looping through each row. Thanks! ...more >>

debugging service
Posted by Analizer1 at 10/31/2007 8:19:48 PM
the below is error when starting a service.... i need some help figuring this out.... has anybody had this type of error on starting a service Tks Analizer1 all comples well Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 5000 Date: 1...more >>

Looking for a pattern
Posted by Bilz at 10/31/2007 7:30:23 PM
Hello, I am looking for a good pattern. I have a rather large software app that makes use of a service manager for its many services... configuration, colors, data lookup, units, etc. Up until now the service manager has been a singleton and anyone who wants access to a service just asks th...more >>

Fastest way to move XML document into and back out of CLR function
Posted by DR at 10/31/2007 6:41:39 PM
Fastest way to move XML document into and back out of CLR function In SQL Server 2005 and Visual Studio 2005, what is the fastest way to pass an xml data type variable into a C# CLR function and retrieve it back out of the C# CLR function when the C# CLR function is done modifying it? I tr...more >>

Marshelling help
Posted by colin at 10/31/2007 5:55:52 PM
Hi, well ive written some code wich iterates through all the fields in my data structures wich I need to format to/from a file (wich has a complicated format) and I can identify some simple structures that are packed and sequenctial that I can just binary copy the whole structure, however ...more >>



Create AVI file
Posted by Peter Morris at 10/31/2007 5:44:03 PM
I have some code that generates Image instances from PNG files. I'd like to be able to output this as an AVI file from a sequence of images + a wav file. Any pointers? Thanks Pete ...more >>

How to "define" a struct
Posted by PLS at 10/31/2007 4:43:16 PM
I have a struct containing a few private members and a bunch of properties. When I try to use the structure like this ABC item; item.property1 = 1; item.property2 = 2; ... In total, the properties set will set every private variable. Yet the compiler gives me "Use...more >>

Comparing ArrayLists
Posted by JoshP at 10/31/2007 3:34:01 PM
Hi All, I am attempting to compare values in two arraylists to make sure all the values are the same. I am running into trouble with my code if both arraylists compare okay up until a point and I am looping using the length of the primary arraylist. For example: oApproved (3 elements here...more >>

Possible Bug in the .NET Framework, Please Advise
Posted by Computer Guru at 10/31/2007 3:26:52 PM
Hello All, I'm at my wit's end on this one, and would appreciate any help or insight that could be given. Environment: Windows Vista x64 ONLY Code: //START BUG string bcdedit = Environment.SystemDirectory + @"\bcdedit.exe"; Console.WriteLine(bcdedit); if (File.Exists(bcdedit)) Cons...more >>

viaual c# express ide config
Posted by colin at 10/31/2007 3:25:28 PM
Ive got a couple of questions 1) how do I set keayboard options to toggle column select mode like you can in brief when I try set the edit.briefselectcolumn it doesnt do anything unless i select brief rather than defualt then it changes everything else too like shift up doesnt extend the ...more >>

process.start gives stackoverflowexception.
Posted by archana at 10/31/2007 3:07:29 PM
Hiall i have derived class from process class and implemented one method in that i am starting process using this.start. Its giving me stackoverflowexception. Can anyone tell me why? please help me asap. thanks in advance. ...more >>

simple math
Posted by rodchar at 10/31/2007 1:25:01 PM
hey all, given: String value; how do you subtract 1 from value assuming it's a number? it's one of those days... thanks, rodchar...more >>

how to autoredraw panel?
Posted by Alex K. at 10/31/2007 12:32:03 PM
Hi all I set a panel's backgroundimage at design time. I have few textboxes on the panel. Every time I use right mouse click to copy/paste into these textboxes, the pieces of system popup menu stick to the background and can only be removed by minimizing / restoring the form, i.e. re-paint...more >>

Calling another method in C#
Posted by CMartin at 10/31/2007 12:12:00 PM
How do I call the "buttonRun_Click()" method in C#? I can do this so easily in VB but I have yet to figuere out how in C#. I keep getting errors. Thanks CM ...more >>

Status Bar
Posted by CMartin at 10/31/2007 10:20:01 AM
When I ad a toolstripstatuslabel to the status bar, is ther a way to have this one label right justified? ...more >>

toolStripStatusLabel3.Text = (DateTime.Now.ToString());
Posted by CMartin at 10/31/2007 9:50:02 AM
How do I get the value of DateTime to show two characters when it is inthe AM? What I get in PM = 10/31/07 12:34:22 PM What I get in AM = 10/31/07 2:34:22 AM I need: 10/31/07 02:34:22 AM To make my comparisons easier. Or better yet, I want to start someting after a certain date.time and...more >>

calendar control MonthChangedEventArgs
Posted by rodchar at 10/31/2007 9:22:02 AM
hey all, is there a way to convert/cast MonthChangedEventArgs to EventArgs? thanks, rodchar...more >>

Having problems creating a installer for my app due to permissions?
Posted by Pep at 10/31/2007 9:02:56 AM
Firstly, I'm not sure if this is the right group for this query, so please forgive me if I am wrong. My problem is that most users I distribute my software to cannot install it on their systems due to not having the correct administrator rights. I'm perplexed over this as I cannot reasonably ...more >>

Clearing the Debug window
Posted by JPS at 10/31/2007 4:48:37 AM
I am having trouble with this code. It is something syntactically, but I am not sure what. The first line will not compile. My ends result should clear the debug window. OutputWindow outputWin = new DTE2 dte.ToolWindows.OutputWindow; OutputWindowPane pane = null; ...more >>

How to fetch CPU and Memory Usage of IIS in C#
Posted by Ravi at 10/31/2007 4:08:01 AM
How to fetch the CPU and Memory usage of IIS in C#? Thank you in advance. Regards, Ravi...more >>

File.Move
Posted by coffeebasket NO[at]SPAM msn.com at 10/31/2007 1:05:49 AM
I have created an Windows Service application, and it is suppose to move downloaded files from localdir to a network dir but it fails. The same code in a consol application works just fine. I have tried username + password in the Windows Service application but still no luck. Could someone shea...more >>

Property missing
Posted by tshad at 10/31/2007 12:45:31 AM
I pulled this from my last question to hopefully make it more clear. After fixing my namespace problem I still need to find out why I am getting an error message: PageInit.cs(43,76): error CS0117: 'object' does not contain a definition for 'LastPageVisited' User is an object I ha...more >>

Adding stringcollection to richtextbox text
Posted by Claire at 10/31/2007 12:00:00 AM
Hi, Is there an easy/nice way to assign the contents of a stringcollection to richtextbox.lines rather than doing the following please? foreach(string str in _EmailErrors) { rtb.Text += str; rtb.Text += Environment.NewLine; } thanks Claire ...more >>

Using WebBrowser-Control in multi threaded apps (.Net 2.0)
Posted by Leon at 10/31/2007 12:00:00 AM
Hi there, I am trying to use the WebBrowser Control in a form which is being started in an own thread by the main form of my application. Unfortunately I am always getting an error in InitializeComponents stating that the ActiveX-Control 8856f961-340a-11d0-a96b-00c04fd705a2 cannot be initia...more >>

"The Remote server returned an error :(407) Proxy Authentication Required "
Posted by at 10/31/2007 12:00:00 AM
Hi All, I have an windows application created in C# &it is running fine on several of our customer. It does a httpWebrequest in the background. Everything was working fine but some customer are facing "The Remote server returned an error :(407) Proxy Authentication Required " { WebReque...more >>

Refresg image
Posted by zion at 10/31/2007 12:00:00 AM
Hello, How can I refresh gif animation image in asp.net page during page load. The image freeze and I want to force it to animate. Thanks ...more >>


DevelopmentNow Blog