Re: [DOTNET] CssClass for HtmlButton?

2002-04-20 Thread Nikhil Kothari
button.Attributes["class"] = your_class_name Nikhil Kothari -Original Message- From: Mark A. Gregory [mailto:[EMAIL PROTECTED]] Sent: Sat 4/20/2002 9:18 PM To: [EMAIL PROTECTED] Cc: Subject: [DOTNET] CssClass for HtmlButton?

Re: [DOTNET] Problems creating a basic extended usercontrol

2002-04-20 Thread Peter Stephens
I have never tried to make an extended control using the user control first. I have made one by just creating a simple code file and setting up my own class. This code works fine: > [ToolboxItem(true)] public class VrTextBox : TextBox { private Boolean _selectOnEntry = true;

[DOTNET] problem in data set type casting.

2002-04-20 Thread george antony
We are using the Data Access Application blocks of .Net for getting data from Database. This has a method for retrieving a dataset . We have a custom class which inherits from a DataSet and builds its own DataTables .We are trying to use the ExecuteDataSet method of the data Access Application b

[DOTNET] CssClass for HtmlButton?

2002-04-20 Thread Mark A. Gregory
I want to set styles in my StyleSheet for my HtmlButtons. I don't want them all to be the same. How do I apply CSSClass to a HtmlButton? Cheers Mark You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-20 Thread Steve Loughran
- Original Message - From: "Thomas Tomiczek" <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 09:49 Subject: Re: Finding out the IP-Address of a PC >Ok, lets turn this around. >You have computer running an internal NIC, no DNS configured, and an >external one - from your provider. You l

Re: [DOTNET] Can someone recommend an ADO.NET book

2002-04-20 Thread Steve Loughran
- Original Message - From: "John Sands" <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 11:06 Subject: Re: Can someone recommend an ADO.NET book > "now I just try to avoid the 'red' part of the bookstore shelves!" > > I agree; but there are exceptions. I have Michael Kay's XSLT book on

Re: [DOTNET] Fill Strongly Typed DataSet

2002-04-20 Thread Shawn Wildermuth
MyTypedDS dataSet = new MyTypedDS(); dataSet.ReadXml("MyUrl.xml"); Thanks, Shawn Wildermuth [EMAIL PROTECTED] > -Original Message- > From: dotnet discussion [mailto:[EMAIL PROTECTED]] > On Behalf Of David B. Bitton > Sent: Saturday, April 20, 2002 8:16 PM > To: [EMAIL PROTECTED] > Subje

Re: [DOTNET] Waiting for multiple Threads

2002-04-20 Thread Mike Woodring
See http://staff.develop.com/woodring/dotnet/#ThreadWaitHandle for a complete sample that's cleaned up a bit and does the handle duplication I was referring to earlier. Be sure to read the caveats described in the comments if you want to actually use the ThreadWaitHandle class in your code... -M

[DOTNET] Fill Strongly Typed DataSet

2002-04-20 Thread David B. Bitton
How do I deserialize XML into a Strongly Typed DataSet that I created using the an XSD schema desfcribing the XML structure. The DataSet derived class was created with xsd.exe. I know how to do this with a DataReader from a DB, but not XML. -- David B. Bitton [EMAIL PROTECTED] www.codenoevil.c

Re: [DOTNET] To Frame or Not to Frame

2002-04-20 Thread Brian G. Vallelunga
Alright, the bug was fixed a couple of days ago. I think we're sufficiently OT enough to kill this thread. If anyone wants to comment on my photo section, please email me separately. In the near future, I will be releasing the code that does all of the image processing for it though, if anyone is

Re: [DOTNET] To Frame or Not to Frame

2002-04-20 Thread Mike Johnston
It works fine for me. Mike Johnston -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of Reggie Burnett Sent: Thursday, April 18, 2002 10:05 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] To Frame or Not to Frame Nice site. I especially like the javascript

Re: [DOTNET] ReaderWriterLock in Multi Process Environment

2002-04-20 Thread Pablo Castro
I've used an implementation taken from an MSDN article "Compound Win32 Synchronization Objects", and it works great. It uses mutexes and events, which all are multi-process capable. You'll have to port it to .NET using P/Invoke or something, because it's writen for C programmers, but it should by

[DOTNET] Problems creating a basic extended usercontrol

2002-04-20 Thread Jeff Smith
I am trying to create a basic textbox control similar to the Masked Edit Control that was in VB. I create a new c# windows application, add a new user control called "TestUserControl" and then I go into the code and change it to inherit from System.Windows.Forms.TextBox instead of UserControl. It

Re: [DOTNET] To Frame or Not to Frame

2002-04-20 Thread Reggie Burnett
Nice site. I especially like the javascript error dialog that pops up when I click on a picture (IE 6.0). How did you emulate that? :-D Reggie -Original Message- From: dotnet discussion [mailto:[EMAIL PROTECTED]]On Behalf Of Brian G. Vallelunga Sent: Thursday, April 18, 2002 10:24 AM

Re: [DOTNET] Collections Editor question

2002-04-20 Thread Reggie Burnett
By collections editor I mean the dialog that pops up, for example, when you are editing the tabs of a tab Control. You get this on any User Control that where you have a property that returns a Collection of something. This really touches on the absence of template types in C#. To get strongly

Re: [DOTNET] Use of unassigned local variable

2002-04-20 Thread Curtis Koppang
Larry, take the following example... public long Divide( long x) { long i = 0; try { i = x / i; } finally; { i = 1; } return i; } The way this code is written you are guarenteed to throw an exeption in the try block. If I do, what does the caller see? Doe

[DOTNET] ReaderWriterLock in Multi Process Environment

2002-04-20 Thread Saar Carmi
Hi. System.Threader.ReaderWriterLock is only for inprocess sync. Can anyone think of such solution for more than one process? Thanks, Saar You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] Finding out the IP-Address of a PC

2002-04-20 Thread Thomas Tomiczek
And tese were not realyl convincing IMHO - as I answered. I am actualyl thinking the best way would go into the registry and find the deposited IP addresses there, or? Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -Original Message- From: Christian Weyer [mai

[DOTNET] Loading remote assemblies

2002-04-20 Thread JP Hamilton
I am trying to use Assembly.LoadFrom to load an assembly from a remote machine using a URL. I pass the appropriate evidence and the assembly is loaded fine. I am able to create objects and call methods at runtimeif the methods take no parameters or the parameters are .NET data types. What do

Re: [DOTNET] Waiting for multiple Threads

2002-04-20 Thread Mike Woodring
I forgot to mention that the code works as-is without doing anything where the TODO comment is in the code I posted. Since I just whipped this up, I left a note to the reader that you'd probably want to do a proper DuplicateHandle to bump up the ref count on the underlying thread handle once you'

Re: [DOTNET] Waiting for multiple Threads

2002-04-20 Thread Mike Woodring
I did a little poking around in the debugger and came up with some "working code" that you might want to take and run with. Obviously, solutions like this are highly coupled to the current build of the runtime, so always remember that you get what you pay for; and that this is free code :-) The