Bild des Benutzers Andreas Vogt

Why are some parameters not correct initialized when creating a new calculation?

Forums: 

This issue raises e.g. in the context of DN / PN. The corresponding lists are empty then. The issue is based on a timing issue whn starting the COM server. As a workaround you can just wait for about a second after initializing the COM server. To do this in VBA you can use the following code:

Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

    Set CV = New Conval9
    Sleep 1000
    Set CCV = CV.NewCalculation(1)