Why are some parameters not correct initialized when creating a new calculation?
Gespeichert von Andreas Vogt am 11. März 2016 - 11:19
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)
…
- Zum Verfassen von Kommentaren bitte Anmelden oder Registrieren.