Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - kunmun23

Pages: [1]
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

Pages: [1]