Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject from a form
Message
From
14/04/1998 15:37:34
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
CreateObject from a form
Miscellaneous
Thread ID:
00091898
Message ID:
00091898
Views:
75
I have a button on a forum which need to create and object. However, after this object is created, I can only access the base object properties and not the usual properties we have like Visible, Top, Left, Width and Height.
Dim Calendar As Object
Set Calendar = CreateObject("MSCal.Calendar")
Calendar.Day = 21
Calendar.Visible = True
Calendar.Left = 100
The last 2 lines will fail.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Reply
Map
View

Click here to load this message in the networking platform