Page 1 of 1

TextItem.Position = Array (100,100) doesn't work with CS3

Posted: Tue Jul 22, 2008 5:54 am
by Widgets19
why Textitem.Position = Array (100,100) on vb 2005... error point the Array as cause of error always..

TextItem.Position = Array (100,100) doesn't work with CS3

Posted: Thu Jul 24, 2008 9:40 am
by Widgets19
vb.net or vb 2005 doesn't support a variant nor currency data type.. which use by array (,) in vb 6... what i've done is I use object data type in exchange of variant... it goes like this....



Dim Location() As Object = {100,100}
wText.TextItem.Position = Location




i hope this thing helps other...