Creating DotNetFactory object with arguments
I'm trying to create a TimeSpan (System.TimeSpan)
the constructor gets (Hours, Minutes, Seconds)
so, how can i create something looking like that:?
Set a = DotNetFactory.CreateInstance("System.TimeSpan", ,Hours, Min....)
i tried to create array and transfer him as the arguments, but no good came out of it...
any idea what is the format of the arguments if there is more then one?
Re: Creating DotNetFactory object with arguments
You need to very certain of what types of argument you are passing and what kind of parameters the constructor accepts. For Integer you will have to CInt(Hours) and so on...