Importing


To iimport a file into a project highlight the project in the Project Explorer window and select (File > Import File).
Alternatively you can use the shortcut key (Ctrl + M).
You can only import a file that has been exported with the (File > Export) command.


Public Function ImportFiles(ByRef objComponents As VBIDE.VBComponents, _ 
                                   ByVal sImportPath As String, _
                                   ByVal bDeleteCodeFiles As Boolean)

Dim lCount As Long
Dim sFullName As String
Dim sComponentName As String

   For lCount = all the items

       sComponentName =
       sFullName = sImportPath & sComponentName

       objComponents.Import sFullName

End Function




© 2018 Better Solutions Limited. All Rights Reserved. © 2018 Better Solutions Limited TopPrevNext