Author Topic: how to disable the "Open Project" pop up  (Read 6589 times)


  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
how to disable the "Open Project" pop up
« on: December 02, 2003, 10:40:01 am »
I recently upgraded from EA 3.51 to EA 3.6

Now when I use the automation interfaces through my VB Code the "Open Project" dialog in EA pops up (inspite of me passing the repository fiilename and path)

Any suggestions as to how can I prevent that from happening ?

Here is the relevant piece of code that I have

'Repository objects and strings
Public EAProject As EA.Project
Public EARepository As EA.Repository

If EAProject Is Nothing Then

       Dim bresult As Boolean
       Set EAProject = CreateObject("EA.Project")
       Set EARepository = CreateObject("EA.Repository")
       bresult = EARepository.OpenFile(<filename.eap>)
       EAProject.ShowWindow (0)
    End If