Brian
Brian

Reputation: 27412

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

Does anyone have a good explanation of what the different meaning of the CLS, DLL, and VBP files in a VB project are?

Upvotes: 9

Views: 31727

Answers (3)

MarkJ
MarkJ

Reputation: 30408

  • 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.

Upvotes: 19

NoAlias
NoAlias

Reputation: 9193

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.

Upvotes: 6

Adriaan Stander
Adriaan Stander

Reputation: 166576

cls - class file
dll -  Dynamic Link Libraries/Assembly
vbp - Visual Basic Project

Have a look at Visual Basic File Types

Upvotes: 4

Related Questions