Mein Problem:
Ich will das meine Datei sofort beim Start überprüft ob eine Datei vorhanden ist Also so:
so hatte ich mir das ungefair vorgestellt ;D aber klappt net -.-
Ich will das meine Datei sofort beim Start überprüft ob eine Datei vorhanden ist Also so:
Quellcode
- Form1.Load
- Dim File As String = IO.Path(Application.ExecutablePath)
- If IO.File.Exists(Application.StartupPath & "\" + File + ".dll") Then
- Do nothing
- End If
- If If IO.File.No.Exists(Application.StartupPath & "\" + File + ".dll") Then
- Msgbox ("Fatal Error: Wichtige datei ist nicht Vorhanden bitte starten sich den Helper um den Fehler zu behben")
- End If
so hatte ich mir das ungefair vorgestellt ;D aber klappt net -.-