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# > october 2004 > threads for sunday october 17

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

Label not visible
Posted by bernardpace NO[at]SPAM yahoo.com at 10/17/2004 10:48:56 PM
Hi, I am trying to create a Label for a Windows Form, with my own code. Its not being visible. The code being used is the following. Label x = new Label(); x.Name = "node1"; x.Location = new System.Drawing.Point(200, 200); x.Text = "Hello"; x.TabIndex = 1; x.Show(); x.Refresh(); ...more >>


GetIpNetTable
Posted by James Jenkins at 10/17/2004 10:17:59 PM
does anyone know how to implement the following? - I am very new to using Marshalling and could really do with some help - it's late and I am tired - I have spent all day on this and the net comes up with very little help - I have followed lots of tutorials and looked at many peoples source - ...more >>

Pixeles / margin / printing question
Posted by Adrian at 10/17/2004 9:52:25 PM
In print programs margins are set, presumably in px. How does px convert to cm? Hope someone can tell me. Many thanks. ...more >>

Designer changing control size.
Posted by Jacob at 10/17/2004 8:16:55 PM
I'm working on custom control where a designer verb will snap the control to a preset size. I can set the control size perfectly and it will resize, however, the grip around the control dosn't resize with it. How can I get the resizing grips to adjust when my control adjusts its size in the...more >>

Doubt with reports
Posted by Alberto at 10/17/2004 8:14:36 PM
I have an stored procedure in SQL Server 2000 who has a Select. I put the result of the select in a DataReader. My question is: can I make a report with crystal reports who get the fields from the DataReader? (I only need you tell me if I can or I can't) Thank you very much. ...more >>

How to create dynamically name of object?
Posted by pkorikov NO[at]SPAM hotmail.com at 10/17/2004 5:03:36 PM
Hi everybody, I'm a new in C# and have a problem I need to create dynamically the name of object let's say "obj1", "obj2" etc. They're hashtables (Action Script objects) I'm doing like String tempStr = "obj" + i.ToString(); then ASObject tempStr = new ASObject(); this gives an problem...more >>

How to CAST string into object (hashtable)
Posted by pkorikov NO[at]SPAM hotmail.com at 10/17/2004 4:53:29 PM
Hi everybody, I'm a new in C# and have a problem I need to create dynamically the name of object let's say "obj1", "obj2" etc. They're hashtables (Action Script objects) I'm doing like String tempStr = "obj" + i.ToString(); then ASObject tempStr = new ASObject(); this gives an problem...more >>

Beep
Posted by Ricardo at 10/17/2004 4:14:21 PM
how can I make a beep on the speakers??? I found it in vb but not in c#... ...more >>



Visual Studio Editing
Posted by Ricardo at 10/17/2004 3:24:04 PM
Is there a way in visual studio .net 2k3 to find the close }?? I have an open { in a line and i want to find where the close } is... (the program is to long and complicate)... []s... ...more >>

Hotkeys stops working
Posted by Martin HjÀrtmyr at 10/17/2004 2:54:06 PM
I have a program that uses Hotkeys! And they works just fine! I use this hotkeylib: http://www.vbaccelerator.com/home/NET/Code/Libraries/Windows_Messages/Hot_Key_Form/HotKeyForm_zip_HotKeyForm_HotKeyForm_HotKeyFormLib_cs.asp But my hotkeys suddenly stops working when i use this: ShowInTas...more >>

Setting the Z-Order for forms
Posted by Jonathan Bindel at 10/17/2004 2:20:49 PM
I have an MDI app that contains several children and I have been trying to find a way to display an MDI child form behind the current active child. I don't want to have to call all of the other forms SendToBack methods because I want the user to have a more seamless experience. There must b...more >>

Interop Structure with array of Structures
Posted by Jacob at 10/17/2004 2:00:27 PM
I have an interop question: I'm trying to get the ICONDIR Win32 struct which contains an array of ICONDIRENTRY structures to marshall correctly. The problem is that the array isn't a set amount and could be any number of ICONDIRENTY structures. The good news is that the ICONDIR structure do...more >>

Replacement for postmessage
Posted by Alexander Muylaert at 10/17/2004 1:19:46 PM
Hi I need a replace for postmessage. Sometimes I would like to notify the Application thread of some action. For example, one thread is reading buffers from a socket, pushing them on a queue list and I need to notify the main thread that he can start poping buffers from this queue. i...more >>

Is a Word doc?
Posted by Darin at 10/17/2004 1:07:02 PM
I would like to check if a document is a Word document. I'm currently just checking for the "doc" extension but the extension can be changed so that's no good. Any examples or guidance on how to accomplish this? Thanks....more >>

GDI+ calendar component
Posted by David Sobey at 10/17/2004 12:13:29 PM
g'day I'm making a calendar component, ie month view, week view etc, starting basically from scratch drawing lines and strings etc with GDI+. Now after checking out the mozilla calendar sunbird, i get the suspicion that they somehow cheat and use html/css for their component. Am I right, an...more >>

Whidbey
Posted by Mark at 10/17/2004 11:56:31 AM
Currently whidbey is only available to MSDN subscribers. Is there any indication that others will get to see a Beta version before the live release date? I've got the express versions but would like to work with Visual Studio. Thanks in advance. Mark ...more >>

Help with inheritence and properties
Posted by Jack Addington at 10/17/2004 11:12:07 AM
I have a base form and a base logic class. Each has to know of the other. I'm then inheriting to create descendant form and descendant logic which extend both objects and again have to know of each other. I'm getting mixed up in the syntax/technique on how to refer to the references generica...more >>

com dll object[] to int[]
Posted by Jesper Nilsson at 10/17/2004 10:59:04 AM
I have a com dll with following method: System.Object ComGetLocalBatchNumbers ( System.Int32 pn_errorcode , System.Int32 maxBatchNumbers ) I use this code to call the method: int errCode; object batchNumbers = kit.ComGetLocalBatchNumbers(out errCode, 1024); I need to convert object "ba...more >>

can't override paint.
Posted by Craig at 10/17/2004 10:57:02 AM
I've tried to override the paint method and I can't get the overriden paint method to get called. I put the the method below within the class, but it never gets called when I open up my form. By the way, the class is extends DataGridTextBoxColumn, so I wanting to paint the DataGrid. Than...more >>

sqlserver stored procedure
Posted by aditya pathak via .NET 247 at 10/17/2004 3:13:24 AM
I have created this stored procedure but it give a runtime error ==Invalid object name '@v3'===. please help me what to do? ------------------------------------------------- CREATE proc updateLangRow @id int, @des text, @fl1 text, @fl2 text as set nocount on declare @v1 varchar(200) ...more >>

Indexof problem, or what?
Posted by How Gee via .NET 247 at 10/17/2004 3:13:12 AM
Hi All! Please help me. Here is a very simple C# code: string text="asdasdC4C81A9CCsdfsdf"; Console.WriteLine(text.IndexOf("C4C81A9CC").ToString()); The result is -1, but why? A little bit change: string text="asdasdC4C81A9CBsdfsdf"; Console.WriteLine(text.Inde...more >>

How to make a control unfocusable
Posted by namra tayyab via .NET 247 at 10/17/2004 3:10:59 AM
Can any body help me on how to make a control unfocusable, while staying enabled and visible?? (Type your message here) -------------------------------- From: namra tayyab ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>B8bfnHP6aU6pgQX1EAeNug==</Id>...more >>

Capturing Console output and displaying on web page in C#dotnet
Posted by Hema Rayapati via .NET 247 at 10/17/2004 3:10:02 AM
(Type your message here) I have a console application which runs all the time=2E The main= purpose of the console application is there is a filewatcher in= the program which watches for the files in a directory, and= whenever a new file comes i rename the file , and i'm displaying= some con...more >>

'System.ObjectDisposedException' : Cannot access a disposed object
Posted by Oliver Ballarin via .NET 247 at 10/17/2004 3:07:31 AM
Hi gurus!!! I have a winform Application that starts with a Connection Form and then instanciates the Main Form. When closing the main form by clicking the famous top right cross, it works fine but when i use the disconnect button (to go back to the connection form), i have the exception Syst...more >>

Copy the contents from richtextbox to another richtextbox with diff. font, style,collor backcolor etc.
Posted by shafiqul amin via .NET 247 at 10/17/2004 3:07:29 AM
(Type your message here) Hi, I am developing a instant messanger.But I can not transfer the text of different font and sytle from user richtextbox to conversation richtextbox. plz help me providing guidelines and code if possible.thanx -------------------------------- From: shafiqul amin ----...more >>

English Word stemmer in .NET?
Posted by Viji Pal via .NET 247 at 10/17/2004 3:07:07 AM
Hi, Can some one provide me the links/samples in .NET the stem English words to create keyword list for search engines? I guess there are many out there, but couldn't find any. Thanks for your help. I really appreciate it. ----------------------- Posted by a user from .NET 247 (http://www.dotne...more >>

Why doesn't ImportRow() work?
Posted by Michael Van Altena via .NET 247 at 10/17/2004 3:05:14 AM
Why doesn't the following add a row to the table dtTemp1? System.Data.DataTable dtTemp1 = new System.Data.DataTable("Test1"); dtTemp1.Columns.Add("ColumnA", System.Type.GetType("System.String")); dtTemp1.Columns.Add("ColumnB", System.Type.GetType("System.Decimal")); System.Data.DataRow o...more >>

Iterating through an enumeration?
Posted by Jamie Winder via .NET 247 at 10/17/2004 3:03:35 AM
Is it possible to iterate through all of the possible values of an enumeration? (with foreach, maybe?) What I need to do is fill a ComboBox with all possible values for an enumeration. e.g foreach ([value] in [enumeration]) { comboBox1.Items.Add (value.ToString ("G"); } Is this pos...more >>

circular dependency
Posted by Rimma Meital via .NET 247 at 10/17/2004 3:03:06 AM
(Type your message here) -------------------------------- From: Rimma Meital I have 2 DLLs (Class Libraries). Both defines single-ton objects - logger object (writes to logger) and application_management object (stores paths and other things, reads ini file of the application). Both needs to r...more >>

SQL INSERT syntax error, but the statement is correct!
Posted by kosta at 10/17/2004 2:12:48 AM
hello! one of my forms communicates with a database, and is supposed to add a row to a table using an Insert statement... however, I get a 'oledb - syntax error' exception... I have double checked, and the insert works fine (tried to use it from access)... im using visual C# express 2k5... what...more >>


DevelopmentNow Blog