What is the purpose of CLS files and DLL files in VB?

青春壹個敷衍的年華 提交于 2020-01-23 05:22:10

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!