Welcome! Log In Create A New Profile

Advanced

How to assigned a Null value to a dynamic Object

Posted by Mitchell 
Mitchell
How to assigned a Null value to a dynamic Object
August 17, 2008 06:45PM
dear windev coders,
need help pls... this line below is a .net code . assigning a null value to the class:

public BRIReader brdr = null;

========================
Note: BRIReader is a .net class (an object)
brdr is the new assigned variable.

My problem :
how to make it in Windev ? how to convert that code in Windev? or How to assigned a null value to a .net object.

my code below is giving an error message " value cannot be null "

gpclBrdr is object BRIReader dynamic = new BRIReader(Null);


Help please

regards
mikz
Hi Mikz,

To assign a null value try

object..null = True

rather than object = null

I found that worked with dotNet

Milton
Mitchell
Re: How to assigned a Null value to a dynamic Object
August 18, 2008 08:26AM
hi milton,
thanks, but unfurtunately it is still not accepted

gpclBrdr is object BRIReader dynamic = new BRIReader(BriReader..Null=True); <<<<--- this line is not accepted.

or even this line below :

gpclBrdr..Null = true; ------> not accepted in windev because the newly assigned object "Brdr" is still not initiated or no instance created.

the syntax for this constructor class BRIReader is :
BRIReader(this,int) or BRIReader(this,null)
the line above, i don't know how to make it in windev :-(

help please :-(

mikz



Mitchell
Re: How to assigned a Null value to a dynamic Object
August 23, 2008 09:03AM
anybody has this issue before? please help.

" How to assigned a Null value to a .net object or .net assemblies.."


:-(
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: