General information
Category:
Coding, syntax & commands
With NewObject, you can specify the path/filename of a VCX file in the second argument. So, you can do this:
oFoo = NewObject("fooclass","c:\temp\foo.vcx")
This obviates the need to do Set ClassLib. Now, you can explicitly determine which class definition to use.
>Hi,
> What is the differences between NEWOBJECT() and CREATEOBJECT()? As noticed in MSDN, NEWOBJECT() allow to createobject without opening it. What does it mean? If I use it to automate word.application, what is the different between both of the commands?
>
>Thank you
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only