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.

Probleme mit MCISENDSTRING unter VB.NET 2010

Empfohlene Antworten

Imports System.IO

Public Class Form1

Private Declare Function mciSendString Lib "winmm.dll" _

Alias "mciSendStringA" ( _

ByVal lpstrCommand As String, _

ByVal lpstrReturnString As String, _

ByVal uReturnLength As Integer, _

ByVal hwndCallback As Integer) As Integer

Public Declare Function GetShortPathName Lib "kernel32" _

Alias "GetShortPathNameA" ( _

ByVal lpszLongPath As String, _

ByVal lpszShortPath As String, _

ByVal cchBuffer As Integer) As Integer

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

mciSendString("open " & TextBox1.Text & " alias TempMCI", Nothing, 0, 0)

mciSendString("play TempMCI", Nothing, 0, 0)

End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

mciSendString("stop TempMCI", 0, 0, 0)

mciSendString("close TempMCI", 0, 0, 0)

End Sub

End Class

habe folgenden Quelltext geschrieben um eine MP 3-Datei abspielen zu können, aber es funktioniert nicht und ich findet einfach den Fehler nicht habt dir vielleicht eine Idee wo der Fehler liegen könnte.

Danke für eure Hilfe

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.