error in class - basic.visual
This is a discussion on error in class - basic.visual ; Hello,
in MSDN it says in err.source property:........ For errors in a class
module, Source contains a name with the project.class form.
But I don't get that .class. Is MSDN wrong or am I doing something wrong?
Thanx
Frank...
-
error in class
Hello,
in MSDN it says in err.source property:........ For errors in a class
module, Source contains a name with the project.class form.
But I don't get that .class. Is MSDN wrong or am I doing something wrong?
Thanx
Frank
-
Re: error in class
Some code for example....
"Frank" <frank@frank.com> wrote in message
news:bs6hp1$cmn$1@news3.tilbu1.nb.home.nl...
> Hello,
>
> in MSDN it says in err.source property:........ For errors in a class
> module, Source contains a name with the project.class form.
> But I don't get that .class. Is MSDN wrong or am I doing something wrong?
>
> Thanx
>
> Frank
>
>
-
Re: error in class
"Frank" <frank@frank.com> wrote in message
news:bs6hp1$cmn$1@news3.tilbu1.nb.home.nl...
> Hello,
>
> in MSDN it says in err.source property:........ For errors in a class
> module, Source contains a name with the project.class form.
> But I don't get that .class. Is MSDN wrong or am I doing something
wrong?
>
> Thanx
>
> Frank
>
>
MSDN is describing what well behaved classes should do, especially if
you create classes in activex dlls or exes. Most of the MS classes will
behave that way. However, your own classes won't unless you make them do
so by raising errors yourself and setting the err.source appropriately.
The wording in MSDN is not very clear about this.
Similar Threads
-
By Application Development in forum c++
Replies: 3
Last Post: 11-07-2007, 07:31 AM
-
By Application Development in forum C
Replies: 2
Last Post: 11-06-2007, 08:20 AM
-
By Application Development in forum xharbour
Replies: 6
Last Post: 10-07-2007, 03:07 AM
-
By Application Development in forum ADO DAO RDO RDS
Replies: 3
Last Post: 09-12-2007, 07:58 AM
-
By Application Development in forum CSharp
Replies: 4
Last Post: 09-10-2007, 11:23 PM