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.

Fehler bei dem Befehl AxWinsock1.SendData(TextBox1.Text)

Empfohlene Antworten

Hallo,

ich versuche mich an einem Tool das einen Text an einen anderen Client schickt.

Die Anmeldung an dem anderen Client funktioniert.

Beim senden mit dem Befehl AxWinsock1.SendData(TextBox1.Text)

kommt immer folgende Fehlermeldung HRESULT: 0x800A9C46

Hier der Quellcode des Senders

Private Sub AxWinsock1_ConnectionRequest(ByVal sender As Object, ByVal e As AxMSWinsockLib.DMSWinsockControlEvents_ConnectionRequestEvent) Handles AxWinsock1.ConnectionRequest

AxWinsock1.Accept(sender)

End Sub

Private Sub BUT_SENDEN_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BUT_SENDEN.Click

AxWinsock1.RemoteHost = "FW01LXBR"

AxWinsock1.Connect("FW01LXBR", "1234")

AxWinsock1.SendData(TextBox1.Text)

End Sub

Hab ich noch etwas vergessen oder ist das so total falsch.

Bitte um Hilfe

Bin Anfänger

Danke

was spricht gegen das nativ unterstützte System.Net.Sockets und für das veraltete COM/ActiveX?

s'Amstel

Hallo Amstelchen,

war eine gute Idee.

Hab ich gemacht und jetzt habe ich es auch hinbekommen.

Danke

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.