ActiveX VB
-
Hello I had created an Activex component I try to create it dynamically with : Set MyTotoObject = CreateObject("TotoViewOCX.TotoView") In this cas I can only acces the function of my object I can not access the extender functions. So I can not displaying it. I try another method: Set MyTotoObject = MMI.Controls.Add("TotoViewOCX.TotoView", "MyToto") With this mode I can only acces the extender methods, And I can displaying it. but I need to use the function I have created. Is it possible to create the object and displaying it with the possibility to Use the functionnality i add inside Thanks a lot Michael
-
Hello I had created an Activex component I try to create it dynamically with : Set MyTotoObject = CreateObject("TotoViewOCX.TotoView") In this cas I can only acces the function of my object I can not access the extender functions. So I can not displaying it. I try another method: Set MyTotoObject = MMI.Controls.Add("TotoViewOCX.TotoView", "MyToto") With this mode I can only acces the extender methods, And I can displaying it. but I need to use the function I have created. Is it possible to create the object and displaying it with the possibility to Use the functionnality i add inside Thanks a lot Michael
Do you have to use late binding? Can you just add it to the Components list of your project? -- David Wengier TAC ad gone wrong: "Don't fool yourself, you're a bloody idiot." Sonork ID: 100.14177 - Ch00k
-
Do you have to use late binding? Can you just add it to the Components list of your project? -- David Wengier TAC ad gone wrong: "Don't fool yourself, you're a bloody idiot." Sonork ID: 100.14177 - Ch00k
hi, I need to work without adding the component to the project. And i'm not able to display it
-
hi, I need to work without adding the component to the project. And i'm not able to display it
Michael.Weiss wrote: I need to work without adding the component to the project. In that case, you should be able to do the following:
Set MyTotoObject = MMI.Controls.Add("TotoViewOCX.TotoView", "MyToto")
MyTotoObject.Object.YourFunction()Where "YourFunction" is whatever you want to do. -- David Wengier TAC ad gone wrong: "Don't fool yourself, you're a bloody idiot." Sonork ID: 100.14177 - Ch00k
-
Michael.Weiss wrote: I need to work without adding the component to the project. In that case, you should be able to do the following:
Set MyTotoObject = MMI.Controls.Add("TotoViewOCX.TotoView", "MyToto")
MyTotoObject.Object.YourFunction()Where "YourFunction" is whatever you want to do. -- David Wengier TAC ad gone wrong: "Don't fool yourself, you're a bloody idiot." Sonork ID: 100.14177 - Ch00k
Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!¨ it's working
-
Hello I had created an Activex component I try to create it dynamically with : Set MyTotoObject = CreateObject("TotoViewOCX.TotoView") In this cas I can only acces the function of my object I can not access the extender functions. So I can not displaying it. I try another method: Set MyTotoObject = MMI.Controls.Add("TotoViewOCX.TotoView", "MyToto") With this mode I can only acces the extender methods, And I can displaying it. but I need to use the function I have created. Is it possible to create the object and displaying it with the possibility to Use the functionnality i add inside Thanks a lot Michael