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 > dotnet general > february 2004 > threads for monday february 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

How to save changes to datagrid from a Windows form in vb.net
Posted by HomeyDaClown at 2/23/2004 11:31:05 PM
I'm new to the VB.net world and have been reading alot of books and threw newsgroups Is it even posable to save user input from a form to a data grid. I could just edit the data gri but would prefer useing the user form to import the data Any help would be greatly appreciated Thanks Homey...more >>

.net information
Posted by Varun at 2/23/2004 10:16:06 PM
What is the use of trace utility What is different between User Control and Web Control and Custom Control? New features of Framework 1.1 ? Can any one help me out in answering my questions? Thank you in advance Varun...more >>

Visual Studio .Net Designer
Posted by gnat at 2/23/2004 9:49:29 PM
Hello microsoft.public.dotnet.languages.csharp, I have run into a problem (for the second time now). I have been able to use the designer to put together a gui, but now it seems that the compiler won't listen to the designer and does not take new changes into account. The first time i ran...more >>

encode string in Windows service
Posted by Bar Elimelech at 2/23/2004 9:36:37 PM
Hi, I'm trying to encode a string in a windows service that should be past to a asp.net web application in the querystring. I know that in order to do it in asp.net I should use the Server.HtmlEncode from the system.web namespace but I can't find a way to do it in a windows service or w...more >>

WebControls
Posted by wadeh at 2/23/2004 9:31:05 PM
Hi Is it possible to install the dotnet WebControls on v1.1?...more >>

help on "continue" - C#
Posted by Harman Sahni at 2/23/2004 6:08:06 PM
As per this URL http://msdn.microsoft.com/library/en-us/vjref98/html/14_14.asp?frame=true conitnue works on for, while, do... I know it works for foreach as well as I'm using it somewhere. My question is how do I "continue" (jump an iteration) of an outermost loop from an inner loop. So I ...more >>

Inheriting From An Enum?
Posted by Dan Thompson at 2/23/2004 5:11:17 PM
I am developing a class that inherits the Event Log Class. I want to make the EventLogEntryType enum available as part of the same namespace as the class I am writing but I don't think I can inherit from an enum. Any way to make this happen so that the client doesn't have to use the System.Diagnos...more >>

Idea for Reader optimisation for reading
Posted by <.> at 2/23/2004 4:37:40 PM
Hi, I was using the Reader class to read a binary file and I noticed that there is no PeekByte and also its not optimised when using Peek and Read in sequence. If the .Peek is called its read the next char, and then .Read after its reading twice, why cant the .Read use the stored Peek i...more >>



I know this should be easy but...
Posted by Shaun at 2/23/2004 4:23:25 PM
Please could someone tell me why I cannot get a listbox to list products in an access database, i have connected to the data base and connected it to a data grid ok but what am I missing in trying to list a tables column in a listbox. Shouldn't --- listBox1->DataSource = dataSet1 --- be correc...more >>

Destructon of .NET objects
Posted by <.> at 2/23/2004 3:03:12 PM
Hi, Why doesnt the runtime set the object to null when the finalizer has been called? Wouldnt this prevent a slew of bugs? I just called the obj.__dtor(); from a MC++ wrapper class I made and its still referencing the type even tho its "destructed". Why do I have to set it to null in m...more >>

Making a copy of an object
Posted by jusovsky NO[at]SPAM anotherretarded.com at 2/23/2004 1:36:05 PM
I'm using an Adobe COM object and most of the classes aren't exposed - just the interfaces. This has made development with C# a pain in the ass since I can't just use the new keyword- I have to initialize the variables (of the interface type) to the value of a corresponding object existing within ...more >>

Is 'Mutex' the only machine-wide sync mechanism?
Posted by David Sworder at 2/23/2004 12:34:46 PM
Hi there, I'm looking for something like a ReaderWriterLock, but machine-specific instead of process-specific. Does such a class exist? I can think of various ways to roll my own but am reluctant to do so if there is already a .NET class that accomplishes this. David ...more >>

Passing text file to SQL Server
Posted by Chris at 2/23/2004 12:06:06 PM
Hi I need to pass the entries in a text file to corresponding tables in a database. Can I pass the entire text file to a stored procedure or can I write a VB.NET procedure to pharse the file and pass the data to the database? This is a sample of the text fil 1120,011522169050,01,+0000001,031221,...more >>

App.Config
Posted by Bar Elimelech at 2/23/2004 11:12:59 AM
Hi All, I've wrote a windows service, and I'm trying to find a way to reload the app.config <add> tags at runtime. It looks like the dot net framework does not support it in any way. Please replay if you know how can I do it. Thanks Bar ...more >>

Singleton lockouts and cleanup
Posted by Marty McDonald at 2/23/2004 10:08:55 AM
public static object GetInstance(Type type, object[] args) { object o = _hashObjects[type]; if (o == null) { lock (_hashObjects) { //Still null? Need to check again because someone may //have added it right before the lock. o = _hashObjects[type]; if (o == null) //Now ...more >>

.NET assembly
Posted by George at 2/23/2004 9:47:23 AM
Hi. I know that in JAVA it's possible to decompile a .class file to get the original code. There are applications called obfuscator (or sth similar) that tries to avoid it. My question is: Is it the same for .NET? How can I avoid getting the source code from an exe I compile? TA...more >>

With
Posted by ae at 2/23/2004 9:36:07 AM
Is there anything similar to "WITH" ? i.e. a replacement or a substitute similar that I can use? ...more >>

uninstall and reinstall trial version
Posted by Ann at 2/23/2004 8:31:09 AM
Can I use visual studio .net cd again to reinstall it after 60 days expiration Thanks for any suggestions...more >>

client side directory browsing from a web form
Posted by Chuck Farah at 2/23/2004 8:21:08 AM
I would like to provide a file explorer from a web form, that looks at the clients pc file directory (not the iis servers). So in other words i would like to either call the api to bring up "explorer.exe" and get the selected file back to my web form or some version of getdirectories/getfiles that w...more >>

Comma Delimited File & Microsoft.Jet.OLEDB.4.0 provider
Posted by faridt NO[at]SPAM coned.com at 2/23/2004 6:33:01 AM
Hi, I have to access data from a comma delimited file in .net windows application (VB.net or C#). I am using Microsoft.Jet.OLEDB.4.0 provider for this purpose. Now the problem is when i extract data from a file with extension csv or txt it works fine but as soon as i change the extension, like ...more >>

COM+ SecureMethod attribute issue
Posted by David at 2/23/2004 5:51:07 AM
To give some background....I'm using COM+ security in my C# classes by applying the ComponentAccessControl, and SecureMethod attributes at class level. I also use the SecurityRole attributes for any roles that I want to have access to the whole class. I then also use the SecurityRole attribute at ...more >>

excel application does not shut down after program exit
Posted by G.D at 2/23/2004 5:36:05 AM
hi i create an excel application (MS Excel 2000 installed) in vb.net. At the end, i close all workbook and quit from excel aplication. I also set them nothing and call garbage collection. But excel application does not end, stays resident in memor so my applications gives memory error. Thanks fo...more >>

controlling the input into a textbox
Posted by Massy at 2/23/2004 5:11:05 AM
Does anyone know how can ensure that the only input that is accepted into a textbox is a numeric (only digits 1-9 accepted) Is this possible I am using vb.net to create a windows app thx folks...more >>

EventArgs( ) in customEventArgs( )
Posted by skjagini NO[at]SPAM rediffmail.com at 2/23/2004 12:16:27 AM
Hi, When we create customEventArgs, we derive the classes from eventArgs( ) and I dont understand the advantage of this inheritance. This is neither an interface nor applied as attribute. I have seen similar stuff in remoting also where we derive from marshallByRef object in SAO to create ...more >>


DevelopmentNow Blog