vb@rchiv
VB Classic
VB.NET
ADO.NET
VBA
C#
TOP-Angebot: 17 bzw. 24 Entwickler-Vollversionen zum unschlagbaren Preis!  
 vb@rchiv Quick-Search: Suche startenErweiterte Suche starten   Impressum  | Datenschutz  | vb@rchiv CD Vol.6  | Shop Copyright ©2000-2025
 
zurück

 Sie sind aktuell nicht angemeldet.Funktionen: Einloggen  |  Neu registrieren  |  Suchen

Visual-Basic Einsteiger
Re: Fehler meldung! 
Autor: Malte
Datum: 01.04.03 21:40

Hem jetzt habe ich nicht so viel verstanden aber ich zeige dir mal den ganzen Quelltext:
'------------------------------------------------------------------------------
' ---
'Aufbau von resMid.rc :
'//**
'1001    CUSTOM  DISCARDABLE     "test.mid"
'------------------------------------------------------------------------------
' ---
'Kompilierung der Resource-Datei erfolgt durch : compile.bat
'Aufbau Compile.bat: RC.EXE + RCDLL.DLL müssen sich im Kompilierungspfad 
' befinden.
'RC /fo resMid.res resMid.rc
'------------------------------------------------------------------------------
' ---
'
'N.G.:15.03.03.do.(c)
Private Declare Function mciSendString Lib "winmm.dll" _
                                Alias "mciSendStringA" _
                                (ByVal lpstrCommand As String, _
                                ByVal lpstrReturnString As String, _
                                ByVal uReturnLength As Long, _
                                ByVal hwndCallback As Long) _
                                As Long
 
Private Declare Function mciGetErrorString Lib "winmm.dll" _
                                Alias "mciGetErrorStringA" _
                                (ByVal dwError As Long, _
                                ByVal lpstrBuffer As String, _
                                ByVal uLength As Long) _
                                As Long
'The GetShortPathName function obtains the short path form of a specified input 
' path.
'Return Values:
'           If the function succeeds, the return value is the length, in 
' characters, of the string
'           copied to lpszShortPath, not including the terminating null 
' character.
'
'           If the function fails due to the lpszShortPath buffer being too 
' small to
'           contain the short path string, the return value is the size, in 
' characters,
'           of the short path string. You need to call the function with a 
' short path
'           buffer that is at least as large as the short path string.
Private Declare Function GetShortPathName Lib "kernel32" _
                                Alias "GetShortPathNameA" _
                                (ByVal lpszLongPath As String, _
                                ByVal lpszShortPath As String, _
                                ByVal cchBuffer As Long) _
                                As Long
 
Private Declare Function FindFirstFile Lib "kernel32" _
                                Alias "FindFirstFileA" _
                                (ByVal lpFileName As String, _
                                lpFindFileData As WIN32_FIND_DATA) _
                                As Long
 
Private Declare Function FindClose Lib "kernel32" _
                                (ByVal hFindFile As Long) _
                                As Long
 
Private Type FILETIME
    dwLowDateTime           As Long
    dwHighDateTime          As Long
End Type
 
Private Const MAX_PATH = 260
 
Private Type WIN32_FIND_DATA
    dwFileAttributes        As Long
    ftCreationTime          As FILETIME
    ftLastAccessTime        As FILETIME
    ftLastWriteTime         As FILETIME
    nFileSizeHigh           As Long
    nFileSizeLow            As Long
    dwReserved0             As Long
    dwReserved1             As Long
    cFileName               As String * MAX_PATH
    cAlternate              As String * 14
End Type
Nächste Seite!....
alle Nachrichten anzeigenGesamtübersicht  |  Zum Thema  |  Suchen

 ThemaViews  AutorDatum
Fehler meldung!86Malte01.04.03 20:05
Re: Fehler meldung!244unbekannt01.04.03 20:23
Re: Fehler meldung!45Malte01.04.03 21:40
Re: Fehler meldung!43Malte01.04.03 21:40
Re: Fehler meldung!31Malte02.04.03 17:45

Sie sind nicht angemeldet!
Um auf diesen Beitrag zu antworten oder neue Beiträge schreiben zu können, müssen Sie sich zunächst anmelden.

Einloggen  |  Neu registrieren

Funktionen:  Zum Thema  |  GesamtübersichtSuchen 

nach obenzurück
 
   

Copyright ©2000-2025 vb@rchiv Dieter Otter
Alle Rechte vorbehalten.
Microsoft, Windows und Visual Basic sind entweder eingetragene Marken oder Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Weitere auf dieser Homepage aufgeführten Produkt- und Firmennamen können geschützte Marken ihrer jeweiligen Inhaber sein.

Diese Seiten wurden optimiert für eine Bildschirmauflösung von mind. 1280x1024 Pixel