Re: [DOTNET] Anyone currently using ACT or WAST to test webservices?

2002-05-02 Thread Curtis Koppang
We tried touse WAST, but had some issues because it ~seemed~ to be choking on the mime type (XML) we were specifying. Unfortunately, I did not pursue it any further because something else came up. It's my intent to though, so I would be very interested in anything you found out with regard to WA

Re: [DOTNET] Close() in mainform constructor

2002-05-06 Thread Curtis Koppang
I don't find this suprising. We use a two phase construction pattern to work around issues like this. The constructor does stuff which gets the class up an running (at a system level) but does not depend on many (as close to zero as possible) external dependencies. Then you call a custom constr

Re: [DOTNET] Close() in mainform constructor

2002-05-06 Thread Curtis Koppang
d method OnLoad (page > 312) for doing this type of work. This method is called before the form is > visible on screen, you can successfully call the Close method as well. > > Pete > > [1] > http://www.amazon.com/exec/obidos/ASIN/0735613702/qid=1020704369/sr=8-1/ref= > sr_8_67_

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-10 Thread Curtis Koppang
For a look at what Microsoft is doing around this in the future check out this presentation from the 2001 PDC on Object Spaces. Kind of out there, but its cool. The Object Spaces part of the presentation is the last 35 minutes. Later, curt - Original Message - From: "Scott Densmore" <[

Re: [DOTNET] OT: Relational to Object mapping.

2002-05-11 Thread Curtis Koppang
Sometimes I think that if my head was not attached to my shoulders I would forget that too. Here is the URL I never pasted into the email. http://www.microsoft.com/Seminar/en/Developers/2002211AdvADONet/demo001.htm - Original Message - From: "Curtis Koppang" <[EMAIL P

Re: [DOTNET] OT:Attacked again (---

2002-05-12 Thread Curtis Koppang
This is OT so if you are going to post this type of msg please include something in the subject. But since you did... I read your weblog entry and while I did not find it insulting, it was a little narrow minded. Not every programmer is a plumber like yourself - I mean that as a compliment to b

Re: [ADVANCED-DOTNET] Help Architecting A Middle Tier

2002-05-21 Thread Curtis Koppang
Craig, I agree with everything you stated. What if I change one of your assumptions - and it only took .006 seconds to open (and close) a database connection. Would that change your architecture? I was just doing some testing of un-pooled connections and I was suprised to find that I was able t

Re: [DOTNET] Catch 22... (Recordset to Dataset issue...)

2002-05-24 Thread Curtis Koppang
Not sure if this helps, but I will toss it out there. We had a similar issue with Recordsets and trying to pass them around using a home grown web service. To work around the issue we would get the RS XML and modify the schema to take out the non-null stuff. Then pass it to the remote app who h

Re: [DOTNET] Array addresses

2002-05-24 Thread Curtis Koppang
I don't understand. How is your code different than the code I posted below (which behaves "correctly")? using System; namespace ArrayAssignment { class Foo // some class to put in the array { private long myId; public Foo( long aId) { myId = aId; } pu

[DOTNET] Quickly copy data out of SQLDataReader

2002-05-29 Thread Curtis Koppang
Is there a way to quickly copy the data out of SQLDataReader like into a Stream or an Array? I seem to recall something like this on the Recordset which copied all the data into a VT. Thanks, curt You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other De

[DOTNET] Custom compile step in VS.NET

2002-05-29 Thread Curtis Koppang
I remember in VC there was a way to specify custom compile steps for = MIDL. Can you do the same in VS.NET? I found some docs which say that = there is an INI file where you specify Custom Tools and there is a = property in VS.NET for specifying one, is this what I need to do? Do = have to swit

[DOTNET] What do I need to implement to support DataBinding

2002-05-30 Thread Curtis Koppang
Say I have a simple class which represents a single data entity, like the following: class Author { public FirstName; public LastName; public Dedication; } Do I need to implment any specific interfaces to support data binding? I checked the archives and most of the information has

Re: [DOTNET] What do I need to implement to support DataBinding

2002-05-30 Thread Curtis Koppang
I would like to facilitate binding to a WinForm or ASP.net user control. curt You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [DOTNET] What do I need to implement to support DataBinding

2002-05-30 Thread Curtis Koppang
t;} > >For complex binding (like the data grid), yes you need to implement one or >more interfaces. I haven't done it, so I can't help you. Look at >IBindingList... > >Now would be a great time for Mark Boulter to post his complex data binding >sample that he men

Re: [DOTNET] Using DataSets as an IMDB

2002-06-07 Thread Curtis Koppang
I think there is a .NET alpha on their web site. It's not native .NET, but rather a Java to .NET byte code translation. curt - Original Message - From: "Justin Harrell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 07, 2002 10:45 AM Subject: Re: Using DataSets as an IMD

[DOTNET] ADO.NET: Current row for a DataView?

2002-06-10 Thread Curtis Koppang
Sorry for the cross-post from DOTNET-CLR, not sure how many folks are over there yet... If I am passed in a DataView, is there any way to tell what the current row is? Here is what I want to be able to do (semi psuedo code)... class Foo { ... public string GetName(DataView dv) { lon

Re: [ADVANCED-DOTNET] Streaming via Web Services

2002-06-10 Thread Curtis Koppang
To Aaron's point, it is my recollection that the demo of DIME at the last PDC was streaming video. Since I didn't check out the code it may have just been a file transfer. Later, curt - Original Message - From: "Aaron Skonnard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, J

Re: [DOTNET] String Bug or somethig I missunderstood?

2002-06-12 Thread Curtis Koppang
Are you a C programmer? ;-) A char-zero is not used as the null terminator in a string. Most string implementations (besides C) use some sort of length descriptor to determine the length of the string. To reinforce this point, check out the constructor for string - one takes an array of chars.

[DOTNET] Use of unassigned local variable

2002-04-19 Thread Curtis Koppang
I get the "use of unassigned local variable 'author'" error on the following line of code... try { cn.Open(); dr = cmd.ExecuteReader(CommandBehavior.SequentialAccess); author = new Author(dr); } finally { cn.Close(); } return author; But

Re: [DOTNET] Use of unassigned local variable

2002-04-19 Thread Curtis Koppang
d you should be fine. > > Jim > > > -Original Message- > > From: Curtis Koppang [mailto:[EMAIL PROTECTED]] > > Sent: 19 April 2002 15:01 > > To: [EMAIL PROTECTED] > > Subject: [DOTNET] Use of unassigned local variable > > > > > >

Re: [DOTNET] Use of unassigned local variable

2002-04-20 Thread Curtis Koppang
you probably would want to put the return statement inside of the Try block. HTH Larry -Original Message- From: Curtis Koppang [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 8:10 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Use of unassigned local variable I guess it's too

Re: [DOTNET] [OT] eBooks (was Wrox)

2002-04-26 Thread Curtis Koppang
I don't know why technical publishers (i.e. Wrox, MSPress, etc) have not bought into the eBook thing yet. I don't know about everyone else, but I am rarely in the same physical location as my library. I would love to have a drive (HD, DVD, CD...) which contained my favorite references so I alway

Re: [DOTNET] Best way to pass object between tiers

2002-04-29 Thread Curtis Koppang
Remember a while back - before there was .NET? We passed around Recordsets. The nice thing about a Recordset was that it was the container which the data was returned to you in and it marshaled itself, if necessary. If you want to follow a similar model, then you have two choices. As Graeme poi

[DOTNET] [OT] Anyone else getting repeated repeated messages?

2002-04-29 Thread Curtis Koppang
Is it just me or are many of the messages being repeated? I want to know if I need to do something other than just deleted them. Tx, curt You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.