Name
GetObject Function — Microsoft. VisualBasic.Interaction
Synopsis
GetObject([pathname
] [,class
])
pathname
optional; StringThe full path and name of the file containing the COM (or ActiveX) object.
class
optional; StringThe class of the object. The
class
argument has these parts:Appname
required; StringThe name of the application.
Objecttype
required; StringThe class of object to create, delimited from
Appname
by using a period ( . ). For example,Appname.Objecttype
.
Return Value
A reference to an ActiveX object
Description
Accesses an ActiveX server held within a specified file.
Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.