How to solve the problem that the VB project cannot load the report designer.
The displayed class is:
In the morning, Open VB to modify myProgramCodeThe following information suddenly appears: "XXXX. DSR cannot be loaded. For details, see XXXXX. Log File ".
Open the log file shown in
Line 2: Class of control dataenvtitemdiff was not a loaded control class.
Line 0: The file D: \ XXXXXXXX. DSR cocould not be loaded.
I felt strange in my heart. Why can't I use it today? I thought about it. I tested the installation package of the program last night and uninstalled it. I gave some DLL libraries to unregister. But which file is it? Only the class code is provided in the log, and no file name is written.
Try to re-install the test installation package, no effect. open the VB call Project, ignore the error message, open references... reference menu. After reading it, it seems that no reference file is missing. after searching on Google, I finally found a clue. find that the dll library file corresponding to this class is msderun. DLL.
After finding the desired file, the file exists in my system. Use the regsvr32.exe command to re-register the file. use VB to call my project again and solve the problem.
However, I still have some questions. Refer to the data environment of the designer.
Msderun. dll, MSDE. dll, and deext. TLB must be fully registered before report designer can be used properly.