ContributionsMost RecentMost LikesSolutionsRe: How declare class in one unit and create class object in other unit...?Ok, thank u.. i understand..How declare class in one unit and create class object in other unit...?Hi, I am using TestComplete7, wrritng code in VBScript. an i hav such problem. I have declare class in unit A - class MyClass 'properties and methods End Class And then in unit B i want to create instance of MyClass such way- set myinstance = new MyClass. In unit B i include unit A . When the script run, throws exception - "Class not defined: MyClass" Can't i create object instance in other unit??? Problem with * operation ??Hi all, I am using TestComplete 7 and i have such problem.. look in this simple code, e.g. b = 384.28 c = 123.5 Sum = c*b Then, when i am running this script, and looking their values - c*b =47458.58, Sum = c*b ->true, BUT Sum =47458.58 -> FALSE !! Can u ask me why??? and when i am wrintting Sum =CCur(47458.58), it's return TRUE......, what does that mean?How can i check that word document is read only?Hi I am doing some work, an then i want to check that i can not change word document. i want to know if my word document is read only. how can i do it??? Is there any attribute for word document that i can use? Thanks in advance.Re: can i declare array with one element?sooo, can't i have an array with one element?? i always must have min 2 elements in array....? MyStruct = DLL.DefineType("TemplateCodesStruct", VT_VARIANT, "Value") Set TemplateCode = DLL.New("TemplateCodesStruct",1) Re: can i declare array with one element?Heeyy.. :( can u help me? Thanks in advance.. can i declare array with one element?Hi ! I have declared array, and now i want to add one item in array, and when i execute, i get en error! can't i declare array with 1 length,? i mean can't i have array with one element? For example MyStruct = DLL.DefineType("TemplateCodesStruct", VT_VARIANT, "Value") Set TemplateCode = DLL.New("TemplateCodesStruct",1) TemplateCode.Item(0).Value = "AEdit" And the error was "Objecy doesn't support this property or method TemplateCode.Item:" Re: How get all rows count from grid ?Thanks for advance, but i have already done it! How get all rows count from grid ?Hi all, I have a Grid, and i want to get all rows count ftom there, but not all rows ara visible.I need to scroll to see that rows. Now i can get only the visible rows count with visibleRows option. Can you tell me if there is any way to get all rows count from Grid without scrolling or even with scrolling?