问题
Does anyone have a good explanation of what the different meaning of the CLS, DLL, and VBP files in a VB project are?
回答1:
- CLS file is a class file containing the source code for one class.
- VBP file is a project file. You open a VBP in the VB6 IDE to browse or edit the code for that project.
- Projects can also be included in groups (VBG files), roughly equivalent to what .Net calls solutions.
- DLL file is a compiled executable library built from your VB6 source code. See Wikipedia
The VB6 manual explains many of the file extensions, including CLS and VBP.
回答2:
In pre .Net days .cls files were where your class modules lived. Dll's stand for Dynamic Link Libraries and is a compiled assembly. VBP stands for Visual Basic Project and is the master file for the whole project.
回答3:
cls - class file
dll - Dynamic Link Libraries/Assembly
vbp - Visual Basic Project
Have a look at Visual Basic File Types
来源:https://stackoverflow.com/questions/4384210/what-is-the-purpose-of-cls-files-and-dll-files-in-vb