Book a Demo

Author Topic: LoadProject & Add-In  (Read 2877 times)

darkwa

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
LoadProject & Add-In
« on: July 17, 2007, 07:45:53 am »
Hi,

I have a Problem and couldn't find a solution. I tried to start EA directly with the following code:

Private Sub Button1_Click(...) Handles Button1.Click
   Project = CreateObject("EA.Project")
   Project.LoadProject("2") 'open last Project
   Project.ShowWindow(1)
End Sub

This works fine, but my AddIn is not running in EA and the "Manage Add-ins" menu only shows "ERROR" at Status.
If I start EA normaly my Addin works great.

Is there a way to start EA with working Add-In's? ???

Thanks (Sorry for the bad english :-[).