Every single time I try to use a control from components on vb6, I put the code, I run the program, then when I try to open the same program in another day, its not working, its giving me the error :

Line 13: Class MSAdodcLib.Adodc of control Adodc1 was not a loaded control class.
Line 18: The property name _ExtentX in Adodc1 is invalid.
Line 19: The property name _ExtentY in Adodc1 is invalid.
Line 20: The property name ConnectMode in Adodc1 is invalid.
Line 21: The property name CursorLocation in Adodc1 is invalid.
Line 22: The property name IsolationLevel in Adodc1 is invalid.
Line 23: The property name ConnectionTimeout in Adodc1 is invalid.
Line 24: The property name CommandTimeout in Adodc1 is invalid.
Line 25: The property name CursorType in Adodc1 is invalid.
Line 26: The property name LockType in Adodc1 is invalid.
Line 27: The property name CommandType in Adodc1 is invalid.
Line 28: The property name CursorOptions in Adodc1 is invalid.
Line 29: The property name CacheSize in Adodc1 is invalid.
Line 30: The property name MaxRecords in Adodc1 is invalid.
Line 31: The property name BOFAction in Adodc1 is invalid.
Line 32: The property name EOFAction in Adodc1 is invalid.
Line 33: The property name ConnectStringType in Adodc1 is invalid.
Line 37: The property name Orientation in Adodc1 is invalid.
Line 39: The property name Connect in Adodc1 is invalid.
Line 40: The property name OLEDBString in Adodc1 is invalid.
Line 41: The property name OLEDBFile in Adodc1 is invalid.
Line 42: The property name DataSourceName in Adodc1 is invalid.
Line 43: The property name OtherAttributes in Adodc1 is invalid.
Line 44: The property name UserName in Adodc1 is invalid.
Line 45: The property name Password in Adodc1 is invalid.
Line 46: The property name RecordSource in Adodc1 is invalid.
Line 47: The property name Caption in Adodc1 is invalid.
Line 57: The property name _Version in Adodc1 is invalid.

Why is like this and how can I make these unloaded controls class, loadable, do I have to upgrade my vb6, I searched online, there are not so many good answers about this problem, which i find effective is that when I try to open a form which contains one or more controls from the components area, i should try to put the control in the tollBox before opening the form, I tried its function, but I want to know if there is a permanent solution about this problem.

Edited 2 Years Ago by alina.nazchowdhury

I found the solution on my own, I want to share this with others who may look here for an answer themselves too, Open the Visual Basic, and then go to Add-Ins, then Add-In Manager , find the vb6 Add-In Toolbar click on it, then on the load behavior, check the loaded/unloaded,and load on startup, the same find also Visual Component Manager 6.0 do the same check the loaded/unloaded and load on startup, now you can open any form which did not open before, and showed that nasty error
Line 13: Class MSAdodcLib.Adodc of control Adodc1 was not a loaded control class.

Edited 2 Years Ago by alina.nazchowdhury

This question has already been answered. Start a new discussion instead.