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 saturday january 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 31

Migration from MFC to C# Windows Forms
Posted by baylandpark NO[at]SPAM hotmail.com at 1/10/2004 11:44:09 PM
I have written windows applications using MFC for several years and have frequently used MFC techniques. Now I'm moving to C# .NET WinForm. Mostly C# books describes C# language (sometimes compared with C++) and then how to use Windows Forms but without comparison with MFC. Would you recom...more >>


Migration from MFC to C# Windows Forms
Posted by baylandpark NO[at]SPAM hotmail.com at 1/10/2004 11:43:11 PM
I have written windows applications using MFC for several years and have frequently used MFC techniques. Now I'm moving to C# .NET WinForm. Mostly C# books describes C# language (sometimes compared with C++) and then how to use Windows Forms but without comparison with MFC. Would you recom...more >>

Datagrid scrolling
Posted by Eyal at 1/10/2004 11:26:36 PM
Hello, i have a datafrid with more rows then can be seen in it,i know how to select the row with the 'currentRowIndex' but it doesnt move the row into the visible section ,can anyone help me with how to make the selected row come into display in the datagrid visible rows (scrolling). thank...more >>

Xml Append
Posted by Peter at 1/10/2004 11:06:50 PM
I have an Access database and it has several tables, I would like to = export some of the data from those tables into one XML file.=20 Is there a way to append data to XML file or merge all the data from all = the tables into one XML file I am using the following code, but it overwrites data f...more >>

SelectionList Control - Mobile Web Forms
Posted by Dmitri Shvetsov at 1/10/2004 10:54:11 PM
Hi, Did somebody play with SelectionList Control - Mobile Web Forms ? I found a problem with this control if it runs in a DropDown list mode. First of all the Selected item sometime is 0, sometimes is -1 when I skip a selection moving to a next page. So it returns me a wrong selection when I...more >>

openFileDialog beginner's problem
Posted by Bonzo at 1/10/2004 9:56:42 PM
Hi, How do I simply open a text file into a textbox? I know that in C++ I'd use something like: if(OpenDialog1->Execute()) Memo1->Lines->LoadFromFile(OpenDialog1->FileName); How can I do it in vsnet c#? THX Libor(Czech rep.) ...more >>

Adding page events
Posted by jay NO[at]SPAM allardworks.com at 1/10/2004 9:50:28 PM
Greetings I'm using C# in VS.Net 2002. Whenever I need a page PRE_RENDER event, I add it manually. That involves going into the "do not touch section" to add the handler. This is probably something really obvious that I'm missing, but is there a way to add the event via the gui, or to see wha...more >>

One instance only
Posted by Aaron at 1/10/2004 9:31:40 PM
I created a simple exe program in c#. I would like to run one instance of the program at a time. if i click the exe after the program is already opened it should NOT start a new instance of the program it should set focus to the currently running program. Thanks Aaron ...more >>



SSL in C#
Posted by sam williams at 1/10/2004 9:29:34 PM
To all, I am need to connect to a secure socket( not an http service ). I am new to c# sharp/.NET but it looks like sockets namspace is unable to connect via ssl. Is the only way to import some win32 dll that suports ssl connections. I've seen some 3rd party libraries that support sll. I wa...more >>

ToString Help
Posted by Maxime at 1/10/2004 9:17:33 PM
Hi i have a fonction who check word in dictionnaire but when i use = ToString he convert my word of 4 char in a string of 13 char ? Why string[] dic; // Dictionnairy in memory public void isDic(char[] aWord) { Array.Sort(aWord); for(int i=3D0;i<dic.Length;i++) { if(aWord.Le...more >>

what's this problem, you will be my leader if you could answer
Posted by wowpicker at 1/10/2004 8:40:39 PM
hi, Dear Leader(i think you are enough for my project leader), I have a very fancy question and I need your help: I use C#.net to develop a Point of Sales system, use Epson Tm-t88 printer( POS printer), connected w/ :LPT1, and now: I have following problem: when i finished installing the ...more >>

Error?? DataTable
Posted by Kelvin Nguyen at 1/10/2004 6:16:02 PM
Would anybody please help me out? I think my code is correct but it gave me an error I don't know what it is please correct me. using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using S...more >>

moving to C# from VC++ 6 - how does app speed compare?
Posted by mt at 1/10/2004 5:26:42 PM
Hi, W H A T I am considering moving my windows app written in Visual C++ 6.0 to C# .NET. Q U E S T I O N I was wondering if application speed will be a problem in .NET when compared to a VC++6? Am I going to take a big performance hit? W H Y My main reason for doing this is to simpl...more >>

ASP.NET C# separate, how to paint a web form without knowing it in advance
Posted by Hai Nguyen at 1/10/2004 4:19:07 PM
I'm using Visual Studio .NET 2003. I keep ASP.NET code and C# code separate. Since I have to work with database to extract several questions to ask from users. I don't know if it's possible after I query and use C# code behind to generate a form. If there is please give me a tutorial or link T...more >>

Filtering Datasets
Posted by JJBean at 1/10/2004 4:11:53 PM
Hi, I am trying to use the select method in Dataset that filters using a string. sFindEmp = "LastName = 'Jones'"; dsEmployWC.Tables[0].Select(sFindEmp); This runs without error but when I assign this tbEmpNum.Text = dsEmployWC.Tables[0].Rows[0] ["Employee#"].ToStri...more >>

measuring memory usage
Posted by Kovan Akrei at 1/10/2004 4:06:09 PM
Hi, I have a multithreaded console program package. I would like to check it's peak memory usage. When I check the cmd windows process in task manager I allayes get something like 6 or 7 Mb, but I know that the program uses more than that My questions is: Are there any utilities that tells h...more >>

Recomended books
Posted by Jawahar Rajan at 1/10/2004 3:56:22 PM
All, What are good books the folks would recomemded for C# beginers developing inC# for a web based project. I have a VB background. Jawahar ...more >>

Problems with Windows Service
Posted by Jesper Stocholm at 1/10/2004 3:03:06 PM
I have created a simple service which just copies a fil to a new file with a new name on certain intervals (the service implements a timer). I have no problems installing the service and the log-entries I have created on stop() and start() in the eventlog works fine as well. However - the actual...more >>

Filtering Datasets
Posted by JJBean at 1/10/2004 2:38:18 PM
Hi, I am trying to use the select method in Dataset that filters using a string. sFindEmp = "LastName = 'Jones'"; dsEmployWC.Tables[0].Select(sFindEmp); This runs without error but when I assign this tbEmpNum.Text = dsEmployWC.Tables[0].Rows[0] ["Employee#"].ToSt...more >>

How do I call a function from an <asp:LinkButton> ?
Posted by Fresh_Air_Rider NO[at]SPAM Hotmail.com at 1/10/2004 2:32:28 PM
Hi Could anyone please give me the syntax for calling a function with more than one parameter from an <asp:LinkButton> ? Many thanks John...more >>

TextBox Query
Posted by Patrick De Ridder at 1/10/2004 2:00:54 PM
Sorry, this must be very elementary: When writing line 1 to a textBox, pressing return writing line 2 to same tetBox. Saving that to disc. using (StreamWriter sw = new StreamWriter ("memo.txt")) { sw.WriteLine(textBox1.Text); } Reading that from disk. using (StreamReader sr = new Str...more >>

Referencing web.config from another assembly
Posted by giarcmirt NO[at]SPAM yahoo.com at 1/10/2004 1:13:47 PM
Hi, I have a class in an assembly that references a value in web.config like this: <appSettings> <add key="mykey" value="myvalue"/> </appSettings> string temp = System.Configuration.ConfigurationSettings.AppSettings.Get("mykey"); This call works properly as is. However, if I call t...more >>

TextBox Problems
Posted by Travis at 1/10/2004 1:00:25 PM
Please excuse my ignorance but I am trying to take text from one text box and display it in anohter like so: SearchResults.Text = TextToSearchFor.ToString(); but I get back this display if I enter "test" System.Windows.Forms.TextBox, Text: test How do I get rid of the System.Windo...more >>

run from clientt?
Posted by happysoft at 1/10/2004 12:22:44 PM
thanks,I had used sharpziplib at server to compress files,but how can i run unzip from client(IE) side? ...more >>

Send fax using platform SDK
Posted by Wilson at 1/10/2004 12:17:59 PM
Hi, Would help to send fax using C# ? I have found some example in MS using VB. It requires Platform SDK. Does Studio .Net include Platform SDK ? Thanks Wilson...more >>

unzip file automated at client(IE) by c sharp
Posted by happysoft at 1/10/2004 11:20:51 AM
somebody: How can I unzip file automated at client(IE) by c sharp? thanks! ...more >>

GetFileld fails - ReflectionPermission problem?
Posted by dan at 1/10/2004 10:40:34 AM
Hi all, I have a reflection-problem I'm totally stuck with. Maybe someone has a hint... I want to get a fieldinformation of an event from the Control class, e.g. "TextChanged". FieldInfo fi = typeof(Control).GetField("TextChanged", System.Reflection.BindingFlags.Instance | System.R...more >>

CheckedListBox - ValueMember
Posted by Tonya at 1/10/2004 9:59:05 AM
Hi! I have a CheckedListBox, bound to a DataSet using DisplayMember and ValueMember. I need to have the ValueMember of all checked items in run time. the only way to receive ValueMember is through the SelectedValue, which is not useful in my situation. what is the best way to have t...more >>

Transparant icons
Posted by Jesper at 1/10/2004 9:07:09 AM
Hi, The ImageList class holds a property named TransparentColor and the Color class defines a color named Transparent. Where are these colors in the bitmap editor. I cant see how I can correlate colors in the bitmap editor to colors in the color class in order not to get the background ...more >>

Drag and drop operations
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 1/10/2004 9:02:48 AM
I put two picture boxes on my main form. I was not able to drag and drop on any of them. Also, the AllowDrop property is not available at design time for the picture box. Any advice on an easy way to implement drag and drop for picture boxes? Thanks Edi....more >>

How do I call a function from a hyperlink ?
Posted by Fresh_Air_Rider NO[at]SPAM Hotmail.com at 1/10/2004 8:31:02 AM
Could anyone please tell me how I can call a function from a hyperlink in C# ? Examples of scenarios where this would be useful include :- Loop through a set of records in a repeater and have a hyperlink to edit each record by passing it's record id to another page. Loop through a set of ...more >>

Annoying Console Window
Posted by Steve Scott at 1/10/2004 5:37:58 AM
I've got an app that uses windows "net send" command, and the console window keeps flickering up to run the command when I execute the function. Is there anyway to prevent it from showing up? Thanks ...more >>

convert VB source code to C# code
Posted by mike at 1/10/2004 4:19:46 AM
Is there any easy way to translate source code in VB into code in c#? Thanks a lot....more >>

[REPOST] OpenFileDialog and Thumbnails view
Posted by anonymous at 1/10/2004 2:36:39 AM
the dotnet OpenFileDialog brings up a window that looks similar to a File Explorer window, and indeed depending on some user settings may list files in a details view, thumbnails view etc. Is there any way to guarantee that the dialog comes up in a particular state-- for instance showin...more >>

Help regarding listview & progressbar
Posted by jomargon NO[at]SPAM hotmail-dot-com.no-spam.invalid at 1/10/2004 1:08:45 AM
Hi! does anyone know how to insert progressbar within a listview? the purpose of the progressbar is to show a graphical representation of a percaentage. thanks! ----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeed.com The #1 Newsgroup Service i...more >>

FormBorderStyle = None, resize window?
Posted by Kristofer Gafvert at 1/10/2004 12:24:54 AM
What would be the best way to resize a window (form) when FormBorderStyle is set to None? -- Regards, Kristofer Gafvert - IIS MVP Reply to newsgroup only. Remove NEWS if you must reply by email, but please do not. www.ilopia.com - FAQ and Tutorials for Windows Server 2003 ...more >>


DevelopmentNow Blog