Hi ,<BR><BR>I&#039;m getting the following error when using an activex componnent "Object dosn&#039;t support this property or method".<BR>The code raises this error is:<BR>myobj.var1=1<BR>or<BR>myobj.fn(p1,p2)<BR><B R>where var1 is declared as a public variable, and fn is declared as a public function.<BR>I&#039;ve also noticed that the following url which uses com&#039;s give the same error. <BR>"http://msdn.microsoft.com/vbasic/downloads/cce/AXButton.asp"<BR><BR>can any one help.<BR><BR>thanks <BR>