Open Designer through VBA

I need some help. I can not open Designer through VB5. I used the same code provide by the guidelines:
Dim dsgnr As Designer.Application
Set dsgnr = CreateObject(“Designer.Application”) dsgnr.Visible = True

But I get a compile error, “user-defined type not defined”. What else do I need to do to make this code work?

Kurt Kerchner
Southwestern Bell
(314)340-9853
Fax#(314)235-4679


Listserv Archives (BOB member since 2002-06-25)

Question:
I need some help. I can not open Designer through VB5. I used the same
code provide by the guidelines:
Dim dsgnr As Designer.Application
Set dsgnr = CreateObject(“Designer.Application”) dsgnr.Visible = True

But I get a compile error, “user-defined type not defined”. What else do I
need to do to make this code work?

In VB5 you’ll need to make sure you have provided a reference to Business Objects. You can add a reference by going under the “Tools” menu and selecting references.

Hope this helps.

Kent


Listserv Archives (BOB member since 2002-06-25)

Have you looked at the references you are including in the project? Make sure that Business Objects Designer 5.0 Object Library is included.

Lauren


Listserv Archives (BOB member since 2002-06-25)