Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object required
Message
De
08/12/1997 11:44:02
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Titre:
Object required
Divers
Thread ID:
00064463
Message ID:
00064463
Vues:
69
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform