hallo,
Möchte ein Calc-Instanz löschen. Dies funktioniert klaglos, wenn 
kein Base- oder Help-Fenster offen ist.
Dann maults, für mich sinnlos:
<Property or method not found> und
die Zeile <sURL=oDocRm.getURL()> hat Trauer 
(Base- oder Help-Fenster haben keine URL und ich habe keine Idee wie 
sie ausschliessen).


oComponents = StarDesktop.getComponents()
oDocs = oComponents.createEnumeration()
Do While oDocs.hasMoreElements()
  oDocRm = oDocs.nextElement()
  if NOT isNull(oDocRm)then
    sURL=oDocRm.getURL()                '<==
    if(sURL=fnAbschlussSav)then oDocRm.dispose()
    endIf
Loop

Bug? | Workaround? | Idee?

Grüsse
Wolfgang

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Antwort per Email an