December 18, 2014
Hot Topics:

Add a File to the Current Project

  • November 19, 2002
  • By Sam Huggill
  • Send Email »
  • More Articles »
When making an add-in, you may want this functionality. This tip shows how:
'// Requires a reference to the_
 VB Extensibility Type Library 

Public Sub AddFile_
(VBInst As VBIDE.Application) 
Dim AP As Object 
Set AP = VBInst.ActiveProject 
AP.AddFile (App.Path & "\y.xxx") 
Set AP = Nothing 
End Sub





Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Sitemap | Contact Us

Rocket Fuel