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.

WebBrwoser1 Control

Empfohlene Antworten

Hallo Leuts...

ich stehe mal wieder vor einem Problem, welches ich im Inet nicht googeln konnte. Zumindest habe ich keine zufriedenstellende Antwort gefunden!

Ich habe im VB.net ein WebBrowser1 Controll, in dem ich mir ein Exceldokumet "test.xls" lade. Im Brosercontrol kann ich jetzt arbeiten und in dem Dokument auch schreiben etc. ! Dieses Dokument möchte ich dann zum Schluß speichern und eine Kopie davon als test1.xls in einem anderen Pfad ablegen. Meine bisherigen Versuche sind alle gescheitert!

Hat jemand eine Idee? Wäre mehr als dankbar!!!

Im WebBrowser läuft ja nicht Excel, sondern das Excel-ActiveX. Wenn dieses das speichern nicht erlaubt, kann man nicht speichern. Du musst mal danach suchen, das ist (galube ich) eine Einstellung des ActiveX.

Grüße, JasonDelife.

Im WebBrowser läuft ja nicht Excel, sondern das Excel-ActiveX. Wenn dieses das speichern nicht erlaubt, kann man nicht speichern. Du musst mal danach suchen, das ist (galube ich) eine Einstellung des ActiveX.

Grüße, JasonDelife.

Thx für die Antwort!

Habe deinen Gedanken aufgegriffen und es klappt!!!


        ' Es wird eine Toolbar zum dazugehörigen Dokument eingeblendet

        Dim temp1 As Object

        temp1 = "D:\Quelle\test.xls"

        'Die eingegebenen Daten werden im Formular gespeichert

        Try

            Dim MyWeb As Object

            MyWeb = Me.WebBrowser1.ActiveXInstance

            'MyWeb.ExecWB(Exec.OLECMDID_HIDETOOLBARS, ExecOpt.OLECMDEXECOPT_DONTPROMPTUSER)

            MyWeb.ExecWB(Exec.OLECMDID_SAVE, ExecOpt.OLECMDEXECOPT_DONTPROMPTUSER, temp1)

            'MyWeb.ExecWB(Exec.OLECMDID_CLOSE, ExecOpt.OLECMDEXECOPT_DONTPROMPTUSER, temp1)

        Catch ex As Exception

            MsgBox("Error:" & ex.Message)

        End Try



Bearbeitet von PowerLooser

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.