When you tap the function of a combination query, you need to use the form's inheritance, but when you create a new inherited form, an error occurs (there is no generated assembly that contains the component you want to inherit from). Such as:
The problem arises: at that time did not pay attention to, also do not know how to make, finally anyway is inherit on, result today hand to clean up a bit of system garbage, on the wrong "the class in the file cannot be designed, so the designer could not be displayed for the file." The designer examines the following classes in the file: Frmxxx.vb---Cannot load the base class "Frmbase.vb". Make sure that the assembly has been referenced and that all projects have been built. "At first did not react to this is what is wrong, and later found that as long as the form is inherited, there is this error, when thinking of not to re-do an inherited form, the results appear again (do not contain the components to inherit from the generated assembly), there is no way to start Baidu this problem resolution.
solution to the problem: Check to find out, and some said to regenerate the form, but regenerated also useless ah, finally saw this sentence: in order to inherit from a form using the Inheritance Selector dialog box, the project containing the form must have been made executable or DLL. To build your project, choose Build from the Build menu. This sentence does not directly provide the most fundamental solution, but look at the red words, executable files or DLLs, I suddenly understand that the focus is not to regenerate the file, but to generate the executable file, that is, after the build, to run. After running the executable file or DLL can be generated, after running, sure enough to inherit, this time, double-click the problem of the form, will return to normal.
Thoughts: Master said I have a problem to find someone to help, this is in fact hinder their progress, recall, in fact, a lot of problems are to ask someone to help, look at others when the operation and then I suddenly figured out, their own procedures to understand the most, So there are problems, first of their own efforts to solve it!
VB.net room charge system does not contain the generated assembly to inherit from the component