Autor Beitrag
RedArcus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34

Win Vista; Windows7; Win10
D5 Prof; Delphi XE5; Delphi Tokyo
BeitragVerfasst: Mi 08.08.07 09:27 
Einen schönen guten Morgen an alle (auch wenn es gerade regnet),

hat jemand einen Tip wie ein PDF-Dokument, das ich im WebBrowser anzeige, wieder geschlossen werden kann? Habe eine Funktion geschrieben mit der PDF-Dokumente in ein anderes Verzeichnis kopiert oder verschoben werden können. Daher lasse ich diese Dokumente vorher mit dem WebBrowser anzeigen. Vor dem Verschieben des Dokuments darf es natürlich nicht mehr geöffnet sein. Mit dem Befehl WebBroser.Stop funzt das ganze zwar unter Win-XP, jedoch Win-Vista ignoriert den Befehl. Tante Google konnte mir auch nicht weiter helfen.

Gruß
arj
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 378

Win XP/Vista, Debian, (K)Ubuntu
Delphi 5 Prof, Delphi 7 Prof, C# (#Develop, VS 2005), Java (Eclipse), C++, QT, PHP, Python
BeitragVerfasst: Mi 08.08.07 09:36 
Wenn du im Webbrowser noch auf die Seite about:blank wechselst könnte es gehen.

P.s. Frag doch mal Onkel Vivisimo(.com) *g* ;)
RedArcus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34

Win Vista; Windows7; Win10
D5 Prof; Delphi XE5; Delphi Tokyo
BeitragVerfasst: Mi 08.08.07 10:58 
Danke, das funzt leider auch nur unter XP, Vista ist da hartnäckig.

Noch eine weitere Idee?

Danke