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
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
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_
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" <[
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
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
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
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
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
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
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
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
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.
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
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
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
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
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.
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
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
> >
> >
> >
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
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
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
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.
24 matches
Mail list logo