Application property question...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MLH

    #1

    Application property question...

    This example returns the application in which the command bar named
    "Documents" was created.

    Set Appobj = CommandBars("Do cument").Applic ation

    The above is an A97 HELP blurb. I'm trying to get to the correct
    syntax for the following statement:

    Set obj = CreateObject("M ozillaFireFox.A pplication")

    I get an error when it runs. I think it has to do with the argument
    I'm trying to furnish to the CreateObject command. Can I even
    use CreateObject in A97. I cannot find out anything about it in
    HELP. But, as with the Application Object, it may be one of those
    undocumented thing-a-ma-bobbers.
  • salad

    #2
    Re: Application property question...

    MLH wrote:
    This example returns the application in which the command bar named
    "Documents" was created.
    >
    Set Appobj = CommandBars("Do cument").Applic ation
    >
    The above is an A97 HELP blurb. I'm trying to get to the correct
    syntax for the following statement:
    >
    Set obj = CreateObject("M ozillaFireFox.A pplication")
    >
    I get an error when it runs. I think it has to do with the argument
    I'm trying to furnish to the CreateObject command. Can I even
    use CreateObject in A97. I cannot find out anything about it in
    HELP. But, as with the Application Object, it may be one of those
    undocumented thing-a-ma-bobbers.
    The example code I provided you works fine in A97. With IE.

    Does FireFox have an application model VBA can exploit? I know Netscape
    doesn't.

    Comment

    Working...