using visio 2003 and vb6

O

Olivier

Hello,

I am using the follwoing code in vb 6 to automate Visio 2003

Private Sub oli()
Dim oli As Boolean
Dim appobj As Visio.Application
Set appobj = Visio.Application
End Sub

I get an error :run time 429 ActiveX component can't create object.

Any help would be appreciated,

Olivier
 
A

Alex [MS]

Hi Oliver,

If you want to create a new Visio application, try

Set appOb = new Visio.Application

Otherwise you will want to use VB's GetObject()

Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top