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# > december 2004 > threads for thursday december 23

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

Error linenumber
Posted by Le, Thanh-Nhan at 12/23/2004 10:08:26 PM
Hi, Can I retrieve the linenumber of code where current error occurs (as in Visual Basic or Java)? Thanks ...more >>


Basic questions of a new immigrant from VB6..
Posted by Geri Reshef at 12/23/2004 10:07:48 PM
I'm trying to get into C# after a long love affair with VB6.. 1. In VB I had the 'iif' and the 'isnull' functions which helped me to = easily constract dynamic SQL statements. For example: S=3D"Select * From MyTable" & iif(isnull(MyControl),""," Where = MyField=3D" & MyControl) How can I do t...more >>

secured site with public pages
Posted by CTMAx at 12/23/2004 9:20:48 PM
Hi, I am fairly new to developing web sites so please bear with me. I am attempting to have some pages accessible to the general public, while other pages are secured. Using web.config I have setup users with passwords. It works great, but I would like some pages to be accessible witho...more >>

MailMerge
Posted by Arrummzen at 12/23/2004 8:35:02 PM
Mail Merge a word document I have my mailmerge document set up. How can I use C# to perform the equivalent of 1. Open the Document (The fields and data source are already setup) 2. Clicking on “Merge” in the mail merge toolbar 3. Selecting “New Document” 4. Pushing the merge button....more >>

Finding component by name or type (Button, TextBox or other)?
Posted by Alessandro Francisco at 12/23/2004 8:32:37 PM
I can find a component in C#, searching by name or type? In the Delphi i'm use FindComponent(), ex: for I := 0 to frmMain.ComponentCount - 1 do if (frmMain.Components[I] is TButton) then TButton(frmMain.Components[I]).Visible := False; "TButton" is a component type, same to TEdi...more >>

base256
Posted by William Stacey [MVP] at 12/23/2004 8:01:57 PM
Anyone have a base256 encoder/decoder in c# or java? TIA -- William Stacey, MVP http://mvp.support.microsoft.com ...more >>

How to spend Christmass without C#?
Posted by Marcin_Grzêbski at 12/23/2004 2:52:38 PM
Hi ALL! Merry Christmass and happy Holidays for ALL C# (and not C#) believers! I've got one more suggestion for you: let your computer feel Christmass too! ;-) See You in the better 2005th! CHEERS! Marcin...more >>

is it Likely that .Net Applications will work on Mac OS?
Posted by jayderk at 12/23/2004 1:44:10 PM
just curious if there is any chance that an app developed on the .NET framework will ever run on MAC OS? I am only asking cause if so it is a very strong argument for moving to ..NET... regards, Jay ...more >>



Crystal changes from MSDE to SQL Server
Posted by Robert Schuldenfrei at 12/23/2004 1:41:00 PM
Hi NG, I have about a dozen Crystal Reports (CR) reports running in "Pull" mode on a MSDE database. I am leaving the development phase and I believed that I could easily switch from a MSDE connection to a SQL Server connection. It was a snap to change my C# code as I had placed the connec...more >>

Design Patterns Tutorials
Posted by SenthilVel at 12/23/2004 1:28:54 PM
Hi can yu let me know the details reg book/web based tutorials for Design Patterns in c#?? Thanks Senthil ...more >>

Consuming unmanaged .Exe (?) <newbie>
Posted by Mr.Baha at 12/23/2004 12:46:29 PM
Hello, I have a situation where I want to consume VC++ code that someone else has written. This C++ code compiles into a console app exe, and I have all of it's source code. For the record, this app listens to a comm port for a stream of proprietary data it is expecting. What I want to do w...more >>

Database Fetching - 1000 rows at a time
Posted by msnews.microsoft.com at 12/23/2004 12:21:22 PM
Hi All, I have to fetch a huge database. But I want to fetch records as follows like : First 1000 records Second 1001 to 2000 records Third 2001 to 3000 records and so on. How will I do this in C# and what is the SQL Syntax I should use? Thanks for your time. With kind regards A...more >>

Designtime conditional
Posted by Sagaert Johan at 12/23/2004 12:06:10 PM
Hi in my solution to the PPC2003 & toolbar icon issue i would like to have that a line is not interpreted bu the forms designer. in the InitializeComponent() i would like it to work like this. Is there a define or an attribute to get it working like this ? #if DESIGNTIME ...more >>

How to do that ... [image]
Posted by Jacek Jurkowski at 12/23/2004 12:01:14 PM
Does anybody have an idea how to do menu like that? It looks like ContextMenu but it's modal , desn't disappear after cliking outside menu area , after some module end it points to the same position in menu tree. It works like menu - module selection (module life time) - menu and so one ... How...more >>

timer problem
Posted by jam at 12/23/2004 10:09:32 AM
Dear all, I am wrtiing a console application and doing some test on timer, the below is my sample code I got from some site, but I cannot make it work... Error is 'System.Timers.Timer' does not contain a definition for 'Tick' So what should i do??? the final thing I wanna get is, I have a...more >>

How to get PreProcessMessage to work?
Posted by Alex K. at 12/23/2004 8:51:04 AM
I've got my own class inherited from DataGrid. Overriden OnMouseDown works fine, but PreProcessMessage does not seem to work: public override bool PreProcessMessage(ref Message msg) { //return base.PreProcessMessage (ref msg); return true; } I put break point at first line but it ...more >>

c# books
Posted by fshaik at 12/23/2004 8:03:03 AM
I have very solid experience in VB 6.0. I also have good knowledge about Object Oriented concepts. I want to convert myself into c# expert. Can anyone here suggest me a book to follow. Thanks fs...more >>

question
Posted by Mike at 12/23/2004 7:57:06 AM
I'm new to the C# world and i have a question. So i better understand what is what and when to use them. what is the dfferences between: Private Void Public Void and Protected Void and when should each one be used? ...more >>

'System.Data.OleDb.OleDbException' when creating a new DataSet..
Posted by brianbasquille NO[at]SPAM gmail.com at 12/23/2004 6:04:00 AM
Cheers Brian! You're a lifesaver! That last connection string you gave me worked like a charm: string strDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " +System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + @"\photoDB.MDB"; Thanks for all yo...more >>

Need App's first screen to disapper on it's own after displaying.
Posted by Trint Smith at 12/23/2004 5:44:09 AM
How can I get the main window after app starts to disappear after displaying our company logo for 10 seconds...Then go to main menu? (this is a winform). Thanks, Trint .Net programmer trintsmith@hotmail.com *** Sent via Developersdex http://www.developersdex.com *** Don't just participat...more >>

Getting the current value from a field
Posted by Paul at 12/23/2004 4:44:04 AM
I am having real difficulty trying to get the current value of a field on a webform. Using fieldname.Text doesn't work? Is there something that I need to do to pull through the current value, not the existing value. Cheers Paul *** Sent via Developersdex http://www.developersdex.com *...more >>

DateTime convert
Posted by Ha ha at 12/23/2004 2:19:10 AM
How can I convert a string like '200412240000' to a DateTime type. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Updating data in a datagrid
Posted by Paul at 12/23/2004 1:19:10 AM
Hi I am trying to add a function to the edit, update and canel buttons to my datagrid. I currenly have the following: --- string newData; TextBox aTextBox; aTextBox = (TextBox)(e.Item.Cells[1].Controls[0]); newData = aTextBox.Text; --- But this code seems to be pulling out the old val...more >>

Memory leak
Posted by Sharon at 12/23/2004 12:55:12 AM
Hi to all. My program starts at about 7000 KB memory consumption. After few hours it gets to over 200 MB. Running GC.Collect() periodically did not help, so it must be a leak. How can i find where the memory is going? Thanks, Sharon. ...more >>

HTTP request & HTTP protocol violation
Posted by Henrik at 12/23/2004 12:37:06 AM
Hi, I am trying to read some industrial webservers using the HTTP/CGI webequest like this: wrs = (HttpWebRequest)WebRequest.Create(HTTP/CGI-string); mwst = (HttpWebResponse wrs.GetResponse(); str = mwst.GetResponseStream(); This usually works fine but on some servers i get: "System.N...more >>


DevelopmentNow Blog