Admin Production rocket
Current Publication

VBAReferenceException

Reflection Desktop .NET API Guide V18.0
Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
VBAReferenceException Class
In This Topic

This exception is thrown when adding the file name of an invalid session file to the VBA References settings. (These settings reference session files that contain macros you want to share with the current terminal instance.) The session file is invalid if has an invalid file name, does not exist, is not a valid file, or contains VBA projects that conflict with existing VBA projects.

It is also thrown when security settings prevent adding or removing VBA references.

Syntax

                     
                     
'Declaration
 

                     
                     
<SerializableAttribute()>
Public Class VBAReferenceException 
   Inherits System.Exception

                  

                     
                     
'Usage
 

                     
                     
Dim instance As VBAReferenceException

                  

                     
                     
[Serializable()]
public class VBAReferenceException : System.Exception 

                  
Inheritance Hierarchy

System.Object
System.Exception
Attachmate.Reflection.Framework.VBAReferenceException

See Also