GetObject CATIA

LS Wang

GetObject CATIA

I was creating an automation using VB.Net.

Try

    CATIA = GetObject(,"CATIA.Application")

Catch ex as Exception

  CATIA = CreateObject("CATIA.Application")

End Try

I got an error message saying cannot create activeX component.Any idea what could cause the problem?