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.

VB: http formulardaten mit vb versenden

Empfohlene Antworten

Veröffentlicht

Hallo

ich würde gern wissen wie ich ein Formular auf einer Website ohne diese, mit einem VB Programm abschicken kann.

zB:

diesen link: <a href=abbrechen.php?abbruch=ja>

oder

<form method=POST action=test.php>

<input type=hidden name=quit value=ja>

<input type=submit class=warning value='OK'>

</form>

wie schaffe ich es also diese informationen per vb an eine website zu senden?

thx im vorraus,

Gruß Pico

Per CGI

dazu brauchst du aber einen eigenen Web-Server, da wohl fast alle, das ausführen von *.exe dateien verbieten...

Dann kannt du mit method=post einen aufruf in dein VB Programm machen, dieses kann dir dann alles an die Website schicken, was du willst..

hoffe, das war es, was du meinstest..

gruß Taz

  • Autor

naja war nicht ganz das was ich meine, habe aber jetzt eine lösung gefunden, die zwar ned schön aber praktisch ist :D

Option Explicit

Private Sub cmdFill_Click()

With WebBrowser1

.Document.Forms(0).username.Value = txtName.Text

.Document.Forms(0).password.Value = txtPass.Text

End With

End Sub

Private Sub cmdSend_Click()

WebBrowser1.Document.Forms(0).submit

End Sub

Private Sub Form_Load()

WebBrowser1.Navigate ("http://test.de/test/test.php")

txtName.Text = "User"

txtPass.Text = "Pass"

End Sub

das formular wird einfach ausgefüllt und abgeschickt

ursprünglich habe ich einfach etwas gesucht was mir die formular infos in klartext an den webserver sendet aber so gehts auch :D

Gruß Pico

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.