Hi, I've benn given some code to have a look and try to fix if i can, but im pretty new vb. When i run the code i keep getting the below error. does anyone have any ideas? any help or advice welcome
***Error
Runtime error 429
ActiveX component can't create object
***Bit of Code where i get error*******
Dim objRegistry As cRegistry
Set objRegistry = New cRegistry
With objRegistry
.AppName = "Jason Plastics"
.Section = "PolyBag Works Orders"
.Key = "AllowChanges"
End With
**********************************
***Error
Runtime error 429
ActiveX component can't create object
***Bit of Code where i get error*******
Dim objRegistry As cRegistry
Set objRegistry = New cRegistry
With objRegistry
.AppName = "Jason Plastics"
.Section = "PolyBag Works Orders"
.Key = "AllowChanges"
End With
**********************************