Groups | Blog | Home


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# > june 2005 > threads for friday june 10

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

HTTP capture
Posted by Mariano Drago at 6/10/2005 11:29:34 PM
Hi there! Im been googling all the day, but i can't find a clue about how to do what i need... So, I need to write a win32 application that "trace" or "log" or "capture" all outgoing HTTP traffic to a certain domain, putting it into a variable and parse it for a certain string... simple as i...more >>


stupid question, ASP.NET / C#
Posted by Justin Rich at 6/10/2005 5:34:41 PM
i have my form (default.aspx) and then my logic (default.aspx.cs) and when the logic is done, i want it to go to another page to display the results (results.aspx)... i dont really want to have to clear or hide my form on the default.aspx page... i need to pass a few control values to a...more >>

Why doesn't ICollection have a Contains method?
Posted by andrew.miadowicz NO[at]SPAM gmail.com at 6/10/2005 5:02:04 PM
It's funny that I've only now run into this question, after a few years of using C#, but I find it intriguiging all the same. All the more so, that the generic version of ICollection in .Net Framework 2.0 has this method. It seems to me that the question whether a collection has some element ...more >>

New to HTML and C#
Posted by Steve Teeples at 6/10/2005 4:06:01 PM
I would like to place data into an HTM file for ease of viewing by an end user, but I'd also like to read the contents of the file into a list and display it to the user via a C# application. The data would be something like this - the topics may vary in number from one subject to the next ...more >>

newbie: Windows Forms Drawing
Posted by Derrick at 6/10/2005 4:05:39 PM
Hello all; I have a UserControl (named "GridDisplay") onto which I'm drawing a grid. What I need to know is, as the grid height grows beyond the bounds of the UserControl , how to I get the UserControl to show it's scrollbars, so I can let the user scroll to the bottom of my grid (and horiz...more >>

Threading Safety in System.Collections
Posted by Howard Swope at 6/10/2005 2:38:06 PM
Could someone help explain thread safety issues in the System.Collections classes? The documentation states: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Thread Safety Public static (Shared in Visual Basic) members of this type are ...more >>

POST - Mozilla Thunderbird
Posted by Look at me, eh at 6/10/2005 2:09:38 PM
Testing post to a Mozilla Thunderbird newsgroups!!!! No attachments. ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via En...more >>

Odd "Access to the path is denied" exception being thrown
Posted by Carlitos at 6/10/2005 1:19:03 PM
Hi there, I got a web application in vb.net that uploads a .zip file to a subfolder inside the root folder of the web application. c:\Inetpub\wwwroot\MyWebApp\uploaddir Then, a c# library unzips it inside another subfolder inside the subfolder where the .zip was uploaded. c:\Inetpub\...more >>



Page loses values
Posted by Ron Wallegie at 6/10/2005 12:46:16 PM
I developed a webesite using c#. I have a dropdownlist wich is filled with database values. When i click on a button on the same page all values are lost in the dropdownlist. The most common answer is to populate the ddl in "if !is postback" which i did. When i debug it seems that before the ...more >>

Options for generic full-text search without using database-specific full-text engine?
Posted by Samuel R. Neff at 6/10/2005 12:37:54 PM
What options are available for doing full-text searches of database data without using a database-specific full-text engine? The only option I've found is Google's Search Appliance but it's an expensive hardware solution and we prefer a software solution. In the past I've used development ...more >>

DateTime Conversion Nightmare
Posted by Chris Malone at 6/10/2005 12:13:26 PM
I'm trying to convert into friendly format the "LastModified" property of an object returned via WMI from remote servers. Every attempt to manipulate that using DateTime has bombed with "specified cast not valid" errors, etc. Here is the code: for(i=0;i<SCOREArray.GetUpperBound(0);i++) { ...more >>

csharp / excel interop / lock / stack overflow
Posted by Grzegorz Kaczor at 6/10/2005 11:59:09 AM
Hello, I encountered a strange problem. I've got a Windows application written in C# that fails with StackOverflowException when assigning to a property that is defined in superclass (the property is defined virtual but has not been implemented in subclass). The property performs a lock(this)...more >>

Collections ByVal ByRef?
Posted by aaj at 6/10/2005 11:59:08 AM
Hi all can anyone shed a little light on to my Newbie problem? I have written my own collection that impliements the IEnumerator/Enumerable interfaces and on the surface, all seems well. The problem happens while I Itterate through it using foreach during the itteration I recursively i...more >>

ThreadPools and termination
Posted by Peter Kirk at 6/10/2005 10:58:40 AM
Hi there, I have a question regarding ThreadPools. Say I have the following program, which has a timer which on every "tick" queues a method for execution. This works ok (and up to 25 methods can be queued at a time - as per documentation). But, when the main application exits, then all the...more >>

C# Newby Web App - Browser Question
Posted by Fred Nelson at 6/10/2005 10:18:09 AM
Hi: I have launched my first C# web application and the app is running just fine. I have an Internet Explorer 6 (on Win 2000) browser related problem with one user: their browser displays everything REALLY large. Labels cover text boxes and buttons and they can't use the application. I'm ...more >>

show row # into row header column
Posted by Das at 6/10/2005 10:08:56 AM
Hi, I want to display row header column into the row header column of the datagrid. How to set that column with the current row number Thanks in advance.. Regards, das ...more >>

class
Posted by Hrvoje Voda at 6/10/2005 9:57:21 AM
If I'm using a class and I want to fill data into listbox, what is the best control to use? It's a little stupid to use i listbox, because it's not a windows application. Is there a supstitute for listbox control ? Hrcko ...more >>

Main
Posted by Alvo von Cossel I at 6/10/2005 8:58:07 AM
Hi, I have a C# teacher and he gave me some 'homework' to do whilst he was on holiday. it says: insert this code into the main section. but what is the Main Section? I'd rather know now because he gets really angry if you dont do your homework. thanks -- Alvo von Cossel I of Germa...more >>

Get the instance of current Visual studio
Posted by Bhargavan at 6/10/2005 8:36:14 AM
Hi, I have a Class A in one project. I need to get the instance of the visual stuio that Class A belongs in Class A. Is this possible? Any help would be greatly appreciated. Bhargavan M ...more >>

Hot to...
Posted by Jacek Jurkowski at 6/10/2005 8:19:19 AM
.... set default Padding property value using DefaultValue attribute? Or there is another way? ...more >>

Interop signing problems
Posted by Shiro at 6/10/2005 7:46:10 AM
Hi I have read the various postings relating to Interop strong name signing and cannot find an example similar to mine. I have stringly named my AxInterops/Interops and they all work just fine, but problems occur when I need to reference a thirdparty's component. In my case I am talking ...more >>

ODBC and C# question
Posted by Oleg Shnayderman at 6/10/2005 7:26:09 AM
Hello People, I am trying to connect to the database (for example: Food) and get all the tables from this db and transfer them all into one XML file. The problem is: I am not sure how to save the relationship between the tables. Because, after I will need to parse this XML file and creat...more >>

Reflection-Event Handling...
Posted by happyone at 6/10/2005 7:08:02 AM
I am dynamically loading controls on a page and want to wire up a generic event for all to use. I need to pass a custom EventArgs to the event called CommunicationEventArgs. How do I do this? I am not sure what to put in for the question marks below. If I dont put anything it complains abo...more >>

Memory Problems
Posted by Jim Heavey at 6/10/2005 6:34:05 AM
Hello, I have a fairly simple application which reads none to many input files and edits them and if they are clean, it writes these transaction to the database. Any errors it finds, it opens and error file and writes the error message and the error transaction to this file. After the proces...more >>

DateTimePicker oddity
Posted by Andrew Ducker at 6/10/2005 6:29:08 AM
The following lines of code causes an exception: dateTimePicker1.MaxDate = DateTime.Today; dateTimePicker1.MinDate = DateTime.Today; The same two lines of code, the other way round, doesn't. I'm setting both of them programmatically, and I need to be able to cope with the situation where ...more >>

Zip Files
Posted by Jim Heavey at 6/10/2005 6:26:04 AM
I believe I have seen that the .Net allows you to read and write "zip" files, but my "zip" files are of the ".GZ" format. does the .net allow me to read and write these? Can you point me to any samples? Thanks...more >>

My Own C# Alarm Clock - Newbie Question
Posted by orekinbck NO[at]SPAM yahoo.com.au at 6/10/2005 5:56:15 AM
Hi I am trying to write a simple C# windows application that plays a WMA file at a set time. If the application is not stopped the WMA file keeps replaying at a higher volume. Is there a simple way to set the volume and play a WMA file through C# ? I am still on C# L plates so example code...more >>

i want to prevent windows to close my form when Alt+f4 is pressed
Posted by Nikki at 6/10/2005 3:23:36 AM
Hi, Can anybody help me, i want to prevent windows to close my winform of ..NET application, when user presses Alt+F4 ...more >>

Serial Number Validation
Posted by Paul at 6/10/2005 3:06:01 AM
Hi Guys, I have written an application in Visual C#, I wish to add serial number validation dll to the installer, how do I go about doing this. Thanks in advance. Paul Mathebula...more >>

Search for property in a control
Posted by Jac at 6/10/2005 2:47:01 AM
Hey, I extended different controls (textbox, combobox,..) with a property. But now I will find that a control has that property. How can I do this?I don't want to test if textbox, if combobox. I want to search on every control (neither which control) if he has that property before I take a...more >>

How to determine Session alive?
Posted by David at 6/10/2005 2:45:21 AM
Hi, I write asp.net via c#. How should I know the client's session alive? 1. if ( Session["uid"].Equals ( null ) ) 2. if ( Convert.IsDBNull(Session["uid"]) ) 3. if ( Session.Contents.Count == 0 ) Thanks for your kind advice, David. ...more >>

Panel with lots of custom controls not showing scrollbar until res
Posted by B Maxey at 6/10/2005 2:04:02 AM
I have a form with a panel. On that panel I am adding a bunch of usercontrols . I add the controls when in the forms constructor. The panel has autoscroll set, and when I resize the form the panel scroll shows up. But when I first show the form, there is no scrollbar on the panel. How...more >>

(Rich)TextBox, scrolling, HideSelection
Posted by a_n_d_y_bell NO[at]SPAM hotmail.co.uk at 6/10/2005 1:59:53 AM
Hi- In my application I have a RichTextBox, and I want to scroll it so that the character at a given index appears on the top line of the box. Up till now, I've used this routine, which works fine: == rtb.Focus(); rtb.SelectionStart=rtb.Text.Length-1; rtb.SelectionLength=0; rtb.SelectionSt...more >>

How to copy an object instead of geting the reference
Posted by DogEye at 6/10/2005 12:00:00 AM
In the C# , I want to change the object only after the user click the "Submit" button , so I first new an object and use the "=" to get the object in memory , I found that the operation "=" only get a reference to the target object which I want to copy , how can I do copy it ? ...more >>

Do I produce a handle-leak?
Posted by Manfred Braun at 6/10/2005 12:00:00 AM
Hi All, I am writing a proggi, which should monitor some processes. While doing this, I needed a test-program and wrote one, which does nothing else than to consume some cpu, sometimes more, sometimes less. As I monitored this process for a time, I found the handles increasing without end. I a...more >>

How to get the application directory in winbase application
Posted by ad at 6/10/2005 12:00:00 AM
How can I get application directory in winbase application? ...more >>

Why the words [ojbect] appear on WebForm1?
Posted by Jason Huang at 6/10/2005 12:00:00 AM
Hi, I have DataGrid1 in WebForm1. When I click the "Edit" LinkButton in the DataGrid1 , then the WebForm2 open, I can edit and save data from WebForm2 with no problem. When I click the "close", then the WebFrom2 close with no problem either. However there's nothing in the WebForm1 but on...more >>


DevelopmentNow Blog