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# > august 2003 > threads for monday august 4

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

c# - fixed statement performance / penalty
Posted by arthurmnev NO[at]SPAM yahoo.com at 8/4/2003 9:39:22 PM
This is probably beaten to death subject... Does anyone have a good idea of what penalties are for using Fixed statement in c#. On one side it allows for much greater flexibility with casts and array manipulations (i'm leaving access to legacy code out of the scope of this message) on the othe...more >>


About Help File in windows application
Posted by Tony at 8/4/2003 9:18:32 PM
Hello everyone, I need to build a help file for a windows application, what i want to do is i got 3 forms, on each form when the user click on the "?" button on the top right corner, a help file associated with that form will pop up. What i have on hand is my application, a set of HTML files co...more >>

two objects contain same stream?
Posted by hhh12347 NO[at]SPAM yahoo.com at 8/4/2003 7:33:10 PM
Hi, Any advice about both a BinaryReader and BinaryWriter containing same FileStream at same time? Like: Stream fs = new FileStream("output.dbf", FileMode.Create); BinaryReader br = new BinaryReader(fs); BinaryWriter bw = new BinaryWriter(fs); /* BinaryWriter writes, flushes, etc */ /* B...more >>

Keyboard char ToUpper
Posted by Son Matt at 8/4/2003 5:56:09 PM
How do I force a keyboard char going into a textbox control to upper case with an event? Matt ...more >>

How to logon Windows in .NET
Posted by LongRunner at 8/4/2003 5:37:51 PM
Hi, I am writing an application that contains a logon function. I want to use the Windows Logon account to logon my application. Does .NET provide classes for me to do it? In fact, i am using the WINAPI LogonUser to do this but i found that the function cannot work in Window2000, It return Error ...more >>

LDAP v. web services
Posted by Mark at 8/4/2003 4:40:34 PM
What are the simularities and differences between LDAP and Web Services? (And not .NET specific Web Services) Thanks in advance! Mark ...more >>

A Very Simple Question About C# - How to Invoke an Existing .exe in C#
Posted by Greatfree at 8/4/2003 4:26:06 PM
Dear all, I am a new comer to study C#. I need to invoke an existing .exe in C#. I know in Java the class, Runtime, supports such a functionality. But the class, Runtime, of .NET seems to have no such functionality. How can I do that? Best, greatfree ...more >>

eliminating/hiding first datarow column
Posted by VM at 8/4/2003 4:16:06 PM
How can I eliminate or hide the first column in a datarow? This is the column that doesn't have any data; it just points to the record the user's in (the column with the horizontal arrow). Thanks, VM ...more >>



Named Pipes in C# ... HELP !!
Posted by Tom Vandeplas at 8/4/2003 4:15:57 PM
Hi All, I'm looking for a system similar to named pipes using C#. Basically what I want is some sort of fast inter-process communication, preferable usable with COM. What I currently have is: - Theoretically I could use the Queue object but, as I understand it, the Queue can only dequeue o...more >>

DataGrid CurrentCellChanged
Posted by Lester Moreno at 8/4/2003 4:12:03 PM
Hello all, I'm trying to find a way to get a event raised when you change some text on a DataGrid Cell, I need to be able to search in another table what the user typed on that cell. I found this, but this only give me the row and the cell I change position to. [C#] // Create an instanc...more >>

Default value for parameters
Posted by S K at 8/4/2003 4:01:26 PM
Is it possible to give default values for parameters ? like void func(int x, int y = 0); Thanks ...more >>

Assembly Missing error when loading serialized object
Posted by Daniel Reber at 8/4/2003 3:55:26 PM
I have an exe that serializes one of it's classes to disk. I also have the exact same .cs file that contains the class that was serialized, in a Windows service application. I am trying to load that file every time the service starts. When I try to load it I get this error File or assembly n...more >>

"deserialization" using DataRow - suggestions please
Posted by pokémon at 8/4/2003 3:14:31 PM
In my constructors, I am passing in a DataRow object, then setting the members based on the field values. For example: class MyClass { int member1 = 0; public MyClass(DataRow dr) { this.member1 = (int)dr["FIELD1"]; } } I have to do this for potentially a lot of object...more >>

DataTable.DefaultView
Posted by sandman at 8/4/2003 2:38:35 PM
I'm trying to filter the data as I load a dataset, so I set the RowFilter property of the DataTable's DefaultView. But the dataset still contains all of the records. Is the row filter (and dataviews) meant to be used only for accessing data rather than loading the dataset? Maybe I'm usin...more >>

Merging cells in a DataGrid
Posted by Mike at 8/4/2003 12:40:49 PM
Hi, I want to merge cells in a DataGrid for C#. Something like this: ------------------ | | | | | | | | ------------------ | | | | | | | | ------------------ | | here is | | | the merge | --...more >>

getting column name from dropdownlist and inserting into query
Posted by zee at 8/4/2003 11:57:28 AM
Guys please help I am trying to run a search on my web application and the user is going to first select from a dropdonmenu what column to select from and then the user will type into a textbox the value that they are looking for. I tried using "select * from table where (?=?)" but my applicatio...more >>

How to enum the list of Workgroup like Windows explore do in My Network place
Posted by KhanhNTQ at 8/4/2003 11:40:20 AM
Please show me an example in .Net Language Thanks ...more >>

VBA.CollectionClass ?
Posted by ezelasky NO[at]SPAM hotmail.com at 8/4/2003 11:26:05 AM
New to .NET and writing a C# ASP.Net application that needs to access a COM+ VB dll (which I was not involved in writing). The COM+ VB dll returns a VB Collection. I use VBA.CollectionClass to define my return object. Everything works great but the question is (coming from a C++ person): wha...more >>

Panel with scrollbars
Posted by Kristof Nachtergaele at 8/4/2003 11:20:18 AM
Hi, I'm looking for something, which acts as a container, that I can drop onto my form and which has a size that is bigger than the visible part, the invisible pazrt being scrollable to with scrollbars. Actually it boils down to a form in a form in a certain way, does anyone have any idea if t...more >>

String Variable
Posted by Yudi Tristianto at 8/4/2003 11:08:16 AM
Dear All, Ok, In Visual Foxpro if i write this code : Local mApp AS String mApp = "DO Report.App" If I Write &mApp it has the same mean with Do Report.App, how can i do this in C# ? Thank You ...more >>

c# - Datagrid and drop down lists
Posted by Marlene harkcom at 8/4/2003 10:50:51 AM
I've got a datagrid with 5 bound columns in it as well as an edit/update/cancel column. I'm binding this to a dataset. One of the fields is always going to be one of three values. I want the user to be able to hit the edit button and have this particular column become a drop down list w...more >>

How to read/write a struct to a System.IO.Stream
Posted by stephen fx at 8/4/2003 10:30:28 AM
Hello all! Using C/C++ I can do this: struct MyStruct { int a; char b; }; MyStruct test; fread(&test,sizeof(MyStruct),1,fp); How can a do this in C#? I found a Stream class,maybe I can use System::Read(byte[] buffer,int offset,int count)? I can get sizeof a struct, but how t...more >>

HtmlTable!
Posted by Ajay Desh at 8/4/2003 10:15:28 AM
Hi I am gettin error, if i try to find the top position of a table. Here is what i am doing.I have a HtmlTable (Table3 is the name/id) created.It has a position and a Top and Left co-ordinates assigned. I have a button to add a row to this table. When i click on this button the code behind i...more >>

Get column size - width
Posted by R A at 8/4/2003 10:10:45 AM
Hi, How can I get the new size of a column after it has been resized? Thanks, Ronen ...more >>

interactions between operator== and the two Object.Equals methods
Posted by emma_middlebrook NO[at]SPAM fastmail.fm at 8/4/2003 10:07:00 AM
Hi Having difficulty getting myself clear on how a type's operator== fits in with Object.Equals. Let's just consider reference types. The default operator== tests for object identity (reference) equivalence. You can override it if you like. Object has ... public virtual bool Equals(obj...more >>

Multi-DataBase Application Support
Posted by lnc_18 NO[at]SPAM yahoo.com.ar at 8/4/2003 9:21:31 AM
Hi. I Have to do a muliple database application (think in a simple form that add, remove, and modify some table/s). But The problem is that the Database destination depends, can be per example SQL Server or MySQL, or Oracle or other. I Think to do a class that inherits from IDBConnection and on...more >>

Sharing a C#User Control
Posted by Tom at 8/4/2003 9:03:46 AM
I have created a C# User Control which house my header information. I have another development group that would like to use this but they are VB developers. Is their a way to leverage my C# User Control in a VB.NET application? If so can you please provide me with instructions. T...more >>

overloading with ints
Posted by j NO[at]SPAM mesbridger.com at 8/4/2003 8:52:12 AM
Hi all, I'm trying to do something with method overloading and I can't seem to get it to work my code is along the lines of public int method1(int a, int b, int c){ //method body } public int method1(int a, int b){ method1(a,b,null} public int method1(int a){ method1(a,null,n...more >>

Skipping the SelectedIndexChanged event
Posted by sandman at 8/4/2003 7:34:10 AM
I've got a combo box that has an event handler set for SelectedIndexChanged event. The problem is that it's firing at startup when I load data from the Form_OnLoad event. I tried setting a flag at startup and turning it off at the end of the OnLoad function but the SelectedIndexChange ev...more >>

Invode method via Function Keys
Posted by Dennis C. Drumm at 8/4/2003 7:32:40 AM
What is the best way for a modal dialog (windows form) to invoke an unpublicized key combination such as CTRL-ALT-F6? Would it be to set a single key up event for all the controls in the dialog to test for that particular key combination or is there a better way to do it? What I don't want to do...more >>

Windows API --AddPrinter Does not seem to work
Posted by ken at 8/4/2003 7:10:09 AM
Hello Everyone, I am trying (for the pass 4 days) to try and add a server printer to my computer. Below is the code I used to add the printer, the problem is that nothing seems to happen!! I followed the code and it has no problem, however, when I go to start-- settings--printers there is no n...more >>

basic problem
Posted by kat at 8/4/2003 6:16:50 AM
Hello I have got XP home edition on my PC and I have just installed .NET FW 1.1, but to my dismay I have found out that I cannot have IIS on it Will i now need to install XP Professional or is there a way out thank you for your help. ...more >>

ListView: Three dots '...' issue
Posted by Buddy at 8/4/2003 6:14:45 AM
Hello, Does anyone know how I can tell the ListView NOT to display the three dots when it thinks the text will not fit in the column. E.g. 'Hello World' will be displayed as 'Hello...' if the column width cannot fit the word 'World'. Thanks,...more >>

Choosing icons
Posted by Krazitchek at 8/4/2003 5:10:10 AM
Hi, how to navigate between icons stored in shell32.dll (or other .dll), choose one of them with the index, and one particular format of the choosen icon (16 colors, 256 colors, XP) ? How to know the number of icons in the file ? Thanks in advance for your help. ...more >>

Web printing with acrobat
Posted by stephanm NO[at]SPAM ananzi.co.za at 8/4/2003 2:02:43 AM
Hi there, I have a web application, written in C#, that uses generates a pdf document and sends it down as a byte[] to the web browser. This all works fine, the only issue is in printing the .pdf document generated. The rules are: The user should only print this once. Once printed I nee...more >>


DevelopmentNow Blog