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 friday august 8

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

Simple forms question
Posted by JSM at 8/8/2003 11:27:01 PM
Hi, I have a form (FormA) which was loaded using Application.Run when my app loads. This form has a button which loads Form B using "FormB myForm=new FormB()". My question is, how do I access and modify the value of a control on FormA from FormB? I thought this would be easy but I was wrong...more >>


Getting the name of namespace, Class and method from within a C# program
Posted by Peter Somu at 8/8/2003 11:08:44 PM
Hi, How could I access the name of the Namespace, Class and Method from within a C# program? Is there something similar to the 'caller' function in Perl? Thanks, /Peter Somu psomu@yahoo.com ...more >>

How to use odbc.net and MySQL database
Posted by Ook at 8/8/2003 10:55:26 PM
I'm missing something here. I've installed odbc.net. I've installed the latest dotnet SDK. I'm following the walkthrough in the msdn to create an asp.net c# app. I get to the point where I put the sqlDataAdapter on the component1.cs, but I'm not sure how to configure it. Selecting the MS OLE DB ...more >>

how to trap X button in windows form (c#)
Posted by RAJ at 8/8/2003 9:44:55 PM
hi plz tell me how to know "how window is going to close"... i have to right code for X button of forms... plz telll me thanks bye ...more >>

C# and ILASM
Posted by yoz at 8/8/2003 8:38:33 PM
Hi, I am unsure where to post this. I have an MSIL dll. ---- ..assembly extern mscorlib { .publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) .ver 1:0:5000:0 } ..namespace Test { .class public obj1 extends [mscorlib]System.Object { .method public hidebysig specialname rtspec...more >>

Bug submission for C#/.Net?
Posted by Andrew R. Thomas-Cramer at 8/8/2003 5:49:24 PM
Sun is very open about Java bugs (and RFEs), and provides an easily accessible bug list which anyone can submit/search for/vote on bugs. Does Microsoft provide a means to submit bugs for C# and/or .Net? ...more >>

Formatting Strings
Posted by Ken Williams at 8/8/2003 5:25:46 PM
I feel silly asking this, but just looking at C# after using C/C++ What do I now use instead of sprintf("%03d %-5s",int,string); To format strings, it's probably obvious, but I cannot see it. Ken ...more >>

Can not reference "item" property of HashTable
Posted by Thomas Wang at 8/8/2003 4:46:04 PM
i declare a hashtable in c#, i can not find "hashtable.item" property as the specification declared, What i can do? B.Rgds ...more >>



How to get the event type
Posted by samlee at 8/8/2003 4:44:16 PM
inside delegate function like, private void foo(object sender, EventArgs e){...} Only sender object is given, is there any method to get the type of event that actually called this function? TIA ...more >>

How to handle a superclass' event Help.
Posted by Steve Long at 8/8/2003 3:29:26 PM
Hello, I have a VB.NET class that raises a MapSet event that passes an argument of type interop.MapObjects2.MapClass. I have a C# class that inherits from this VB.NET class. How can I handle the VB.NET event in the C# class? In VB.NET, you would just write: Handles MyBase.MapSet I would a...more >>

WebBrowser initialization
Posted by John Boehme at 8/8/2003 3:03:50 PM
Hi all, Using a WebBrowser control on a form, after the control has been initialized, I perform a Navigate to the page I need loaded. I receive events from the control indicating that it is performing the request, but the pages never gets displayed. If, however, I have a button on the form ...more >>

Calling a method on a different process
Posted by Mike Smith at 8/8/2003 3:00:38 PM
Hello all, I am looking to call a method on a process - in fact another instance of the same application - once I have already determined it is running. Do I need to use remoting to achieve this or is there a simpler mechanism since it is on the same machine? Thanks in advance for any sugge...more >>

Web form, client side execution and receiving the answer.
Posted by Dmitri Shvetsov at 8/8/2003 2:58:58 PM
Hi All, I write a Web Form that has to do something on a client side then I need to get the answer back. What .NET methods I can use instead of ActiveX etc. to write this code easier? Regards, Dmitri. ...more >>

How to print from C# - Please help
Posted by Anand Ganesh at 8/8/2003 2:00:53 PM
Hi All, How to print from C# to a plotter or printer? How to set the page sizes? How to scale the images that is being printed? How this printing mechanism works? Any suggestions please? Thanks for your time. Regards Anand Ganesh ...more >>

Office 2003 and Visual Studio.NET
Posted by Marco Stucchi at 8/8/2003 2:00:30 PM
Hi all, I have installed Visual Studio.NET 2003 -Italian-, and Office 2003 Beta. Then I have installed Visual Studio Tools for Office Beta, but during installation, setup show me a error messege: "Setup has detected language mismatch between this package and Visual Studio. Please obtain app...more >>

Help getting the straight on .resources/Icon(Type, string) constructor
Posted by Kendall Gifford at 8/8/2003 1:57:12 PM
Greetings. While trying to get a simple app working, I've been forced to delve into embedded and/or linked resources a bit. I read all the reference for the System.Resources namespace as well as all the material within the "Resources and Localization..." tutorial. While I'm confident I now ...more >>

Datagrid / Postback question (ASP.NET)
Posted by Craig S at 8/8/2003 1:37:39 PM
I believe the problem is definately a lack of understanding on my part about how postbacks work, but here goes... In my Page_Load method I bind my data from a SQL database to a datagrid - works great... I've now created a button and in the OnClick method I do a "DELETE FROM tablename WHERE key...more >>

Session exists?
Posted by yukist at 8/8/2003 12:18:11 PM
Hi all ! C# have a command like 'Session("abc") = 1' of Visual Basic.NET? TIA, yukist !...more >>

TextBox.SelectAll() doesn't work w/ Enter Event
Posted by bullshark at 8/8/2003 12:15:30 PM
VSN03:C# Create a C# Windows Form project. Add two TextBox controls. From the Properties of each, add an Enter Event handler. In the generated Enter Event Handlers (textBox1_Enter & textBox2_Enter ), add the code TextBox1.SelectAll(); and TextBox2.SelectAll(); Run the App. When you run th...more >>

Collection property not working
Posted by Hessam at 8/8/2003 12:12:10 PM
Hello, I am designing a .net custom control in VS.net 7.1 and my control exposes an array of strings which are supposed to be the items to show. To do this have declared a private string[ ] variable and a public property which returns it. string[] options = new string[1]; public string[] Opt...more >>

Invoking methods in assembly in dl causes main thread to wait?
Posted by Michel Schilthuizen at 8/8/2003 10:30:24 AM
Hi, I am working on an application that can use functionlity in some sort of plugins. I have implemented this by using Assembly.LoadFrom and MethodInfo.GetMethods. The calling of the plugins is handled in threads. All works fine, but when I call a method that processes for some time, the ...more >>

text masking
Posted by john sutor at 8/8/2003 10:25:47 AM
Is there a way in C# to add masking (for a date format) to a textbox? ...more >>

question paint method
Posted by Franck at 8/8/2003 10:06:47 AM
Hello, Sorry if that question has already been raised... I'm looking for the exact equivalent of Java paint(Graphics g) method in c# in order to paint a specific component and all its children on a particular graphics object. Can anyone help me ? Thanks, Franck. ...more >>

PC Reboots When Compiling
Posted by Tammy Gutter at 8/8/2003 9:10:06 AM
I'm using Visual C# and my PC keeps rebooting itself when I build my project. It crashed on me 8 times in one day. Has anyone else had this issue and have suggestions as to what may be going on?...more >>

Making C# User Controls Visible to Visual Basic 6.0 Applications
Posted by mtaberner NO[at]SPAM slash-solutions.com at 8/8/2003 6:00:22 AM
Hi there, I want to know if there's any way to put an user control developed in C# into the toolbox of our old friend Visual Basic 6.0. The reason for that is to start to migrate the code to C# step by step and keep using legacy interfaces. I've just achieved to include the library as a DLL b...more >>

updating datagrid
Posted by Nanda at 8/8/2003 5:43:42 AM
hi, i have an editable datagrid. how can i update the database, When the user completes entering data for a row. i.e., data should be updated whenever user completes entering a row. Thanks in advance. ...more >>

Creating a strongly-typed c# collection
Posted by Sefa Sevtekin at 8/8/2003 5:36:00 AM
I am trying to create a c# typesafe collection to avoid typecasting exceptions and to ease binding of grids to collections. I already did it in VB.NET but couldn't map it to C#. In VB.NET you need to define a default property in order to make binding work. It is something similiar to this:...more >>

Calendars and Schedules
Posted by Martin Hazell at 8/8/2003 3:29:52 AM
I am wondering if anyone knows of a control that would give similar results as viewing the Outlook calendar in "Month" view. What I would like to do is to have a calendar displayed with a string underneath each day of data recieved from a database. Thanks for your help Martin...more >>

Code for validating email address in C# - validate email
Posted by henrik.nyberg NO[at]SPAM northnode.se at 8/8/2003 1:30:08 AM
Here's a small method for validating email in C#. It may save you some time.. public static bool IsValidEmailAddress(string sEmail) { if (sEmail == null) { return false; } int nFirstAT = sEmail.IndexOf('@'); int nLastAT = sEmail.LastIndexOf('@'); if ( (nFirstAT > 0) &...more >>

Trapping Another Windows Events
Posted by prhodeslegend NO[at]SPAM hotmail.com at 8/8/2003 12:28:07 AM
Heya Everyone, I am currently creating an application audit system that will log how much use an application will be used by employees of my company, and the type of features they use...so I wanted to have a .NET program or service running in the background that would log what actions they pe...more >>


DevelopmentNow Blog