Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object required
Message
From
08/12/1997 11:44:02
 
 
To
All
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Object required
Miscellaneous
Thread ID:
00064463
Message ID:
00064463
Views:
64
When I execute my OCX in another environment, I have an error saying "Object required". It gives a Run-time error '424'.

In my VB code, the line causing the error, is really simple. I just try to assign a value to a property.

Basically, my OCX is showing a form to display a progress bar. In that form, I have a property called lnCurrent. To create the object, I use this syntax:

Set loProgressBar = CreateObject("Thermo")
loProgressBar.Show

Later in the code, I use this code to assign a value to lnCurrent property:

loProgressBar.lnCurrent = 4

As soon as I try to assign a value to this property, it makes the OCX crashes in another environment.
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
Next
Reply
Map
View

Click here to load this message in the networking platform