locked
getobject name string for bcparserlib RRS feed

  • Question

  • I'm working with a client whose previous programmer used early binding for an object....

    Dim Parser As BCPARSERLib.Parser 
    Set Parser = New BCPARSERLib.Parser

    The Tools > Reference in VBA says it is BCParser 4.3 Type Library

    I prefer to use early binding but have not been able to find the correct string name for

    Dim Parser As Object
    Set Parser = CreateObject("xxx")

    where xxx will be the correct string

    Does anyone have experience with that object or know how I can dig out the string name please?

    Thanks

    Ananda


    • Edited by AnandaSim Thursday, February 7, 2019 3:50 AM
    Thursday, February 7, 2019 3:47 AM

All replies

  • I'm not familiar with this library, but did you try 

        Set Parser = CreateObject("BCPARSERLib.Parser")

    If that doesn't work, can you open the Object Browser (in the VB editor environment, by pressing F2), select the BCPARSERLib library, and look at the list of displayed classes for a likely candidate?


    Dirk Goldgar, MS Access MVP
    Access tips: www.datagnostics.com/tips.html

    Monday, February 11, 2019 6:51 PM