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# > september 2003 > threads for monday september 1

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

Creating child Form from within another child form
Posted by VM at 9/1/2003 10:42:17 PM
I would like to display a child form inside of an MDI but the problem is that I'll be invoking that child form from within another child form. If I use this code: frmReportViewer frmReportViewer = new frmReportViewer(); //frmReportViewer.MdiParent = this; frmReportViewer.Show(); It'll cr...more >>


Visual Studio compiles slowly, low CPU usage
Posted by Bruno Jouhier [MVP] at 9/1/2003 9:20:35 PM
I'm currently experiencing a strange phenomenon: At my Office, Visual Studio takes a very long time to compile our solution (more than 1 minute for the first project). At home, Visual Studio compiles the same solution much faster (about 10 seconds for the first project). My home computer is...more >>

Response.write position
Posted by Gav at 9/1/2003 9:09:10 PM
Hi all, I have created a user control and I am using Response.Write in the control to 'write' exactly what I want although it always goes to the top of the page (above <HTML><HEAD> etc). Can I get it so that it writes it where the control is on the page? ie <html> blah blah <body> ...more >>

Trouble with 'set' accessor
Posted by Mike Irwin at 9/1/2003 7:37:22 PM
I'm having a little difficulty with the set accessor. I'm working on a template-based site design and trying to use the set accessor to set the document's title. The problem is that it's not setting the title and I can't seem to figure out what I'm missing. Here's some sample code: --- Con...more >>

doing hardware oriented programming in C#
Posted by Farooq Khan at 9/1/2003 7:10:07 PM
hi all, my comany has been developing windows based softwares for controlling certain PCI hardware (that involves using TAPI & WMI mostly). we were thinking of moving to the .net technology, preferrably C#. since i'm new to ..net technology, i dont know if i should go for C# (or C++.net) or stay...more >>

Anybody can explain the directly send mail to pop3 Server???????????????????????????????????????
Posted by qushui_chen at 9/1/2003 6:11:49 PM
Anybody can explain the directly send mail to pop3 Server? 1.if it is use Smtp protocol? 2.if i write one Smtp Server? ...more >>

enum to string, several custom formats
Posted by Wiktor Zychla at 9/1/2003 3:22:05 PM
I would like to be able to convert enums to their string representation but I would like to be able to apply a custom formatting, so that I could write for example: enum E { a, b, c }; string s1 = E.a.ToString( "d" ); // returns for example 'a' string s2 = E.a.ToString( "f" ); // returns fo...more >>

Secure logon
Posted by Kieran Benton at 9/1/2003 3:10:46 PM
Just a thought I've had lately. Ive been implementing a source control system (as I pretty much despise CVS and Visual SourceSafe seems a bit flakey) and now Im coming to secure it. The client and server of my app communicate over sockets and I was wondering what everyone thought would be the be...more >>



Console
Posted by JMMB at 9/1/2003 2:42:07 PM
When working with a console application, how can i control the size and background color of the console window programmatically? thanks, ...more >>

NGen
Posted by JMMB at 9/1/2003 2:40:31 PM
Just a confirmation. NGen generates native code when i install the windows application on the client or when I run it for the first time? thanks, ...more >>

Passing structure to a DLL function that takes void * as parameter...
Posted by Malkocoglu at 9/1/2003 1:52:31 PM
I have a legacy DLL that i may have to use from C# The problem with this DLL is that some functions take void * as arguments Let me illustrate it in C/C++ first , let's say i have a database table and i want to insert a row #pragma pack(push, 8) struct _EuroWhite{ char Panz[20]; si32 Extra;...more >>

Class design help
Posted by SamIAm at 9/1/2003 1:31:24 PM
Hi I am looking at implementing a Facade architecture in my system. i.e MyBusinessFacdeSystem and multiple MyBusinessObjects I want the MyBusinssObject class to only be created by the MyBusinessFacdeSystem class. i.e using System; namespace FacadeTest.MyFacade { /// <summary> /// Sum...more >>

Accessing RETURN values from a Stored Procedure
Posted by PeteZ at 9/1/2003 1:31:01 PM
I can access results returned from a stored procedure call OK, my question is how do you access the value from a RETURN statement in a stored procedure ? eg. In the Example below - how can I check on the Value -1000 (Customer not found) ? @CID = customer id . . . . -- Does Customer...more >>

Distributed GC And Remoting (Urgent)
Posted by Ahmet AKGUN at 9/1/2003 12:55:54 PM
Hi All; In an application, I have lots of dummy forms without db connection and one server that have connection pooling. Client forms will be used by tens of users. Dummy forms connect to the server via tcpChannel and request a bussiness logic job to be done like insert database, select ...more >>

structure element by index
Posted by Ahmet AKGUN at 9/1/2003 12:46:07 PM
Hi; I have a structure like public struct MyStr { string elem1; string elem2; string elem3; } I want to have referance to this elements by index. MStr.GetElem(2) must return a refarence to elem2. is that possible ? ...more >>

assembly loading
Posted by RickN at 9/1/2003 12:06:32 PM
We have a C# remoting application that runs thru the web. Assemblies appear to be loaded from the download cache. Is there any way to have them automatically copied to the GAC and be loaded from there: for performance reasons and to be applicable machine wide. We'd also like to be able to use ...more >>

Decrypt Mime - s/mime Message
Posted by Patrick at 9/1/2003 11:18:08 AM
Hi Does someone know how to decrypt mime messages? Is there a class in .net that helps with that? Thanks Patrick ...more >>

Synchronous call in Async method?
Posted by Joshua Coady at 9/1/2003 10:07:34 AM
I am writing a class that includes several async methods following the BeginXxx, EndXxx pattern. Some of these methods will call methods in the framework such as Stream.Read or Socket.Send. Do I need to, or is it recommended to use the async method calls instead (Stream.BeginRead, etc)? Exampl...more >>

Listening for messages in compact.net
Posted by Adam at 9/1/2003 9:52:18 AM
Hi, How do i listen for windows messages in c# on compact.net? I have a window containing an instantiation of the HTML viewer control, which is a child of the main form. As the compact implementation of the form class does not have a wndproc function to override, i cannot get the messages...more >>

any ttf/otf headers reader?
Posted by Dan at 9/1/2003 9:16:32 AM
Hi guys, does anybody know if there is some sort of C# (or other-language I could translate into C#) library for reading the 'header' information of truetype/opentype font files, such as font name, copyright, version, charcodes defined, codepages, and so forth...? I do not need reading glyph cou...more >>

Memory leak with Dataset?
Posted by Andrew Mueller at 9/1/2003 9:11:21 AM
Hello all, There is a message below 'Application Error... When querying data'. What appears to be happening is that when I perform a lot of queries in a row and bring back the information into a DataSet, the application will crash. It will not crash every time, though. It has...more >>

why this is wrong with this finally
Posted by Ahmet AKGUN at 9/1/2003 9:05:54 AM
Hi Compiler gives error to code shown below. It says "refering to unassigned object "rdReader" in finally block". Is the code below a bad usage of try-finally ? How can I write this code better without error ? if I declare rdReader in try block, then finally block cant see this definition. ...more >>

Remoting Using TcpChannel (Urgent)
Posted by Ahmet AKGUN at 9/1/2003 8:28:18 AM
Hi; I am trying to make a server that handles db connection pool. Clients use TcpChannel to make a call to this server and get one database connection (OleDbConnection) from pool. But when I try to connect to server using TcpChannel, I get this message "Only one usage of each socket address...more >>

Https Access Question
Posted by xeno at 9/1/2003 6:39:17 AM
Anyone knows if the following command is encrypted the very first time it is sent out? If so, 64 or 128 bit based? https://userid:password@someURL It is using SSL after the web site responds. But what about the first request from the client browser to the https server? ...more >>

textboxes retaining original value
Posted by james_crane NO[at]SPAM btinternet.com at 9/1/2003 6:26:23 AM
Hi, I am a novice at .net and have created a page of text boxes that are populated from a database. I want the user to be able to change the values in the box then submit the page and have these value updated to the databse. However, whenever I post the page it is the old values that are post...more >>

RSAOAEPKeyExchangeFormatter and RSAPKCS1KeyExchangeFormatter
Posted by namri at 9/1/2003 6:15:57 AM
Hi, I want to generate a RSA KEY, why have we two methode to generate it? there was based on which algorithm? and can we recupere the private key. thanks for any help Ilham...more >>

Odd characters being written weird
Posted by Jon Davis at 9/1/2003 5:10:08 AM
I have a problem with encoding, I think (??). I have the following code: StreamWriter sw =3D File.CreateText(l); sw.Write(data); sw.Close(); Now, "data" is a string that contains text, but sometimes contains = special characters, like "=C2=A7".=20 When I upload this file to a...more >>

SUM OF DATAROW[]
Posted by peter_dejongh NO[at]SPAM hotmail.com at 9/1/2003 4:58:48 AM
Hello I have this little problem... I have a loop which does about 5000 cycles. In each an every loop i get a different datarow[] which can sometimes contain 14000 rows. In each loop there is three columns of which i want the sum. I dont know if there is an other way, but i use a loop to run ...more >>

OnKeyPress
Posted by Jon Rea at 9/1/2003 2:45:30 AM
Hi, First of all is there/ what is the Archive URL of this newsgroup ? Secondly I want to handle keypresses in my application. When i add events to Keydown or Keypress to the main form, the events are not triggered upon pressing any key ... Any ideas what i am doing wrong ? - see very...more >>

Why do i a console window with some application
Posted by Sagaert Johan at 9/1/2003 1:39:57 AM

How can i find all links in html document
Posted by mozel NO[at]SPAM 012.net.il at 9/1/2003 12:05:11 AM
Hi, How can I find all links in html document ? I need c# code that search (or built in code) all links in html document and insert it to an array (or list) How can i do it? Please help me. Thanks, Dafna...more >>


DevelopmentNow Blog