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# > january 2004 > threads for sunday january 18

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

Page Close Event with ASP.NET
Posted by Hector Martinez at 1/18/2004 11:01:05 PM
I have a ASP.NET web app, and I can't find and event like "OnClose()" . But I need to know when the page is closed because I have to much to do when this happen... Thanx in Advantage.......more >>


Namespace question
Posted by Steven Blair at 1/18/2004 9:59:15 PM
Hi, quick question regarding namspaces. Here is an exmaple of a little project I am working on. I have a GUI, a Business Layer dll and a Database dll. What is the best strategy for naming conventions? Should all the assemblies have the same namespace ? For example, they all belong to na...more >>

How would I change the Hue of a bitmap?
Posted by Unknown at 1/18/2004 9:23:45 PM
Does anyone know how I would change the Hue of a bitmap I have? I tried looking for a class that would help me, but all I can find is methods that retrieve Hue values and not change them.....more >>

Client-side OnLoad on asp:image
Posted by Daisy at 1/18/2004 8:21:15 PM
Is there any way in an ascx (without resorting to a codebehind file) to have a client-side onload event on an asp:image tag? I've just changed from a normal image, to an asp:image tag, but now it tries to interpret my javascript server-side :-\ <asp:Image runat="server" ImageUrl="a" onload=...more >>

Pause Code While Form Processes Without Using Modal
Posted by Ken Brannigan at 1/18/2004 8:06:31 PM
Hello, I have a Class Library that contains a windows form and a public class. The public class has a static method that creates a windows form and uses some of its functionality. I need the statis method to pause while the form does its processing. When the form is done the code in the static m...more >>

Listview help
Posted by Danny Carvajal at 1/18/2004 6:28:09 PM
I have a listview that looks like this: column1 column2 1, 1 2, 2 3, 3 I want to figure out (without looping) what index the item starting with "2" is located in. I tried: ListViewItem lv = new ListViewItem( "2" ); MessageBox.Show( this.listView1.Item...more >>

SoapFormatter problem
Posted by Chuck Bowling at 1/18/2004 5:46:23 PM
Ok I don't know what I'm doing wrong here.... I have the following at the top of my source file... using System.Runtime.Serialization; using System.Runtime.Serialization.Formatters.Soap; I'm getting this error when I try to compile... The type or namespace name 'Soap' does not exist in ...more >>

Radio button question
Posted by Patrick De Ridder at 1/18/2004 4:54:45 PM
radioButton1.Clear(); doesn't work: what should it be? Couldn't find anything in MSDN. Many thanks, Patrick. ...more >>



Parsing complex xml file with C#
Posted by Pir8 at 1/18/2004 4:50:38 PM
I have a complex xml file, which contains stories within a magazine. The structure of the xml file is as follows: <?xml version="1.0" encoding="ISO-8859-1" ?> <magazine> <story> <story_id>112233</story_id> <pub_name>Puleen's Publication</pub_name> <pub_code>PP</pub_code...more >>

Filling up a combobox
Posted by Hugo Lefevre at 1/18/2004 3:29:48 PM
dear, I have a form (frmlogonaccounts.cs) with a combobox, which I want to fill up with the first column of a dataset. The dataset is created in the class Login. My problem is the next : I make a new login in the form loginaccount which create a new login and give me a dataset (created by clas...more >>

How to create a process and get the return code
Posted by news.microsoft.com at 1/18/2004 2:59:50 PM
Hi I need to call a win32 application from windows form and get the return code from the win32 application. How can I do this? Thanks ...more >>

Button OnClick event not firing
Posted by Daisy at 1/18/2004 2:59:11 PM
In my user control: <asp:Button id="btnLogin" runat="server" Text="Login"></asp:Button> And the code-behind: protected override void OnInit(EventArgs e) { btnLogin.EnableViewState = true; btnLogin.Click += new EventHandler(btnLogin_Click); base.OnInit(e); } public void b...more >>

playing avi in c#
Posted by top tip at 1/18/2004 2:35:59 PM
Dear sirs I have a problem in displaying video using mci (dllimport and win32 api) and putting it in a form at x,y position, if anybody give me code of this in c# , i will be gratful. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get r...more >>

NDIS 5.1 wrappers
Posted by discussion NO[at]SPAM discussion.microsoft.com at 1/18/2004 2:35:48 PM
Hi, Is there a NDIS wrapper for C# anywhere? Thanks ...more >>

Can I use msscript.ocx in my c# program?
Posted by BcOnline at 1/18/2004 2:16:55 PM
Thanks ...more >>

separated from its underlying RCW when accessing a chat frame.
Posted by Andla Rand at 1/18/2004 2:06:16 PM
Hi, I have created a windows application in CSharp that is using a web browser control. When i did some coding to handle a chat window an exception was thrown with the following message: "COM object that has been separated from its underlying RCW can not be used" The chat browser window is c...more >>

How to access and modify file properties in C#?
Posted by ywchan at 1/18/2004 1:21:09 PM
I have a program that automatically generate a file and I need to put some information in the file properties. Any ideas? Thanks ...more >>

Conditional inclusion of usercontrols in ascx file
Posted by Daisy at 1/18/2004 1:11:09 PM
I've got lots of user controls that include other user controls like this: <uc1:MyControl runat="server" UserKey="<%# User.Key %>"></uc1:MyControl> and I'm calling .DataBind() on the page at the end. All work great, sweet. Now I've got a situation where User is null, and the above example...more >>

How to pass delegate to another class ?
Posted by Gopal Prabhakaran at 1/18/2004 11:49:34 AM
how to do - if i have 2 classes means. I have a class a and class b, i want to pass a delegate (i.e method) to classb pls help me asap Thanx Prabhakaran.G Thanx Gopal Prabhakaran ...more >>

Boxing and data types
Posted by crgsmrt NO[at]SPAM hotmail.com at 1/18/2004 9:30:28 AM
Hi everyone, As a relative new-comer to the wonderful world of .NET Framework and the C# langauge I have come across something that I would like to clarify (hopefully with the help of kind people such as yourselves). To quote, "Everything in C# is an object" (including "primitive" value typ...more >>

<location>+webconfig+IIS?
Posted by Cantekin Guneser at 1/18/2004 5:02:59 AM
when i used <location> tag as follow; </system.web> <location path="members" allowOverride="false"> <system.web> <authentication mode="Forms"> <forms loginUrl="./default.aspx"></forms> </authentication> <authorization> <deny users="?" /> </authorization> </system.web> </location> <appSet...more >>

Serial Port access in Pocket PC 2002/2003
Posted by Finn Ellermann at 1/18/2004 3:44:39 AM
How can I can Iget in to Com Port in C# and Pocket PC 2002/2003 can some one help me ? using Visuel C# .NET development system. Regards Finn finn@ellermann-fam.dk ...more >>

Type Conversion Problem
Posted by Owen Hines at 1/18/2004 3:41:58 AM
If anyone can advise me of a way forward regarding the following it would be appreciated. I have a structure which is returned from a method that is called via reflections invokemember. when the structure gets back to me in an Object, via the debugger I can see that the underlying type is the ...more >>

IListSource, IList
Posted by Abbiento Morgan at 1/18/2004 2:41:14 AM
Someone know where can i find information and/or example (better in c#) for IList/IListSource interfaces for connect a my class to the DataGrid component via SetDataBinding method ? ...more >>

possible small bug
Posted by Bram at 1/18/2004 2:05:17 AM
Hi, While staying very humble, I might have found a (rather small) bug in the framework (in one day). I'm using an older version of Visual C#.NET (7.0.9466) with Framework 1.0 (1.0.3705). Things might have been fixed. So people with the latest version know what to do. Just declare a jagg...more >>

ObjectList class
Posted by Julian Maisano at 1/18/2004 1:41:51 AM
Is there any ObjectList class in c#? I mean, a class that can keep a list with pointers to objects. I come from Delphi background and I'm trying to translate a sample "observer pattern" demo to C# (pseudo code. I hope you know what I mean) class B { procedure ObservedChange{} B{ A.AddOb...more >>

Hooking a tray application into the global windows keyboard queue
Posted by Greg Merideth at 1/18/2004 12:34:23 AM
Is there a way via c# to hook a system tray application into the windows keyboard que globally so that when the application is running and you press, say, control-alt-shift-f11 the system tray app could respond to that keypress (much in the way my pgp app encrypts on ctrl-alt-e) even though ...more >>

StreamReader??
Posted by mario at 1/18/2004 12:32:34 AM
I'm new in C#. I don't know how to read from the "file.txt" line that is seperated with # example name#address name2#address and to put that into class k{ public k(){ string n=null; string ad=null; } public k(string a,string b){ string n=b; string ad=b; } private string n; privat...more >>

help referencing value of a string variable via another variable
Posted by name at 1/18/2004 12:08:47 AM
Tricky I'm trying to do the following string sString = "Here is a test string"; string sFieldRef = "sString"; MessageBox.Show(sFieldRef); //How do I get this line to display: Here is a test string??? I want the messagebox to show what's stored in sString (Here is a test string) b...more >>

temporary work files showing up in getoldDbSchemaTable call
Posted by Brian O'Haire at 1/18/2004 12:04:28 AM
Any help would be appreciated: I have a routine on an asp.net web page, This code below point to a text box called lbtable. public void GetTables( ) { //string [] TblDName = new string[255]; //string [] TblDType = new string[255]; try { this.Conn2 = new System.Da...more >>


DevelopmentNow Blog