Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Zeitverzögerung beim Drucken

Empfohlene Antworten

Hallo Leute,

ich will über meine VB.net-Anwendung eine Excel-Datei ausdrucken. Das funktioniert auch, allerdings muss diese bevor gedruckt wird aktualisiert werden. Da kommt mir dann die Print-Funktion zuvor und schließt das Dokument, dabei erscheint eine Abfrage. Diese sollte der Benutzer natürlich nicht sehen.

Meine Überlegung war es einen Timer einzubauen. Also das Dokument öffnen, warten bis er aktualisiert hat und dann erst drucken.

Hier mein Code zum drucken:

Dim psi As New ProcessStartInfo(test4)

psi.Verb = "Print"

Process.Start(psi)

Ich hoffe jemand hat eine Idee für mich.

Viele Grüße

informatikerin

Ich habe mein Problem selbst gelöst.

Nicht mit VB.net sondern in Excel.

Falls es jemanden interessiert: Ich habe in Excel beim laden ein makro laufen das erst aktualisiert und dann abspeichert. Dann ist diese lästige Abfrage weg und Excel kann von der Print-Methode wieder wunderbar geschlossen werden. Die Aktualisierung läuft auch!

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.