• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class Project

Represents the VBA project hosted by a workbook.

Inheritance
object
Project
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet.Vba
Assembly: DRIT.Spreadsheet.dll
Syntax
public class Project
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

Constructors

Project(string)

Initializes a new Project for the supplied workbook data.

Declaration
public Project(string defaultDocumentModuleName)
Parameters
Type Name Description
string defaultDocumentModuleName
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

Properties

CodePage

Codepage for encoding. Default is current regional setting.

Declaration
public int CodePage { get; }
Property Value
Type Description
int
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

Constants

Conditional compilation constants

Declaration
public string Constants { get; set; }
Property Value
Type Description
string
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

Description

A description of the project

Declaration
public string Description { get; set; }
Property Value
Type Description
string
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

HelpContextID

Context if refering the helpfile

Declaration
public int HelpContextID { get; set; }
Property Value
Type Description
int
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

HelpFile1

A helpfile

Declaration
public string HelpFile1 { get; set; }
Property Value
Type Description
string
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

HelpFile2

Secondary helpfile

Declaration
public string HelpFile2 { get; set; }
Property Value
Type Description
string
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

Modules

Code Modules (Modules, classes, designer code)

Declaration
public ModuleCollection Modules { get; set; }
Property Value
Type Description
ModuleCollection
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

Name

Name of the project

Declaration
public string Name { get; set; }
Property Value
Type Description
string
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

Protection

VBA protection

Declaration
public ProtectionState Protection { get; }
Property Value
Type Description
ProtectionState
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

References

Project references

Declaration
public ReferenceCollection References { get; set; }
Property Value
Type Description
ReferenceCollection
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

Signature

The digital signature

Declaration
public VbaSignature Signature { get; }
Property Value
Type Description
VbaSignature
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

SystemKind

System kind. Default Win32.

Declaration
public SysKind SystemKind { get; set; }
Property Value
Type Description
SysKind
Remarks

The project vocabulary is shared across products; the workbook host owns the project stream and controls how it is preserved during save operations.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX