Droit de dossier.
Résolu/Fermé
Exileur
Messages postés
1475
Date d'inscription
mercredi 31 août 2011
Statut
Membre
Dernière intervention
16 décembre 2022
-
Modifié par Exileur le 24/10/2012 à 11:51
Exileur Messages postés 1475 Date d'inscription mercredi 31 août 2011 Statut Membre Dernière intervention 16 décembre 2022 - 25 oct. 2012 à 01:53
Exileur Messages postés 1475 Date d'inscription mercredi 31 août 2011 Statut Membre Dernière intervention 16 décembre 2022 - 25 oct. 2012 à 01:53
A voir également:
- Droit de dossier.
- Dossier appdata - Guide
- Mettre un mot de passe sur un dossier - Guide
- Image libre de droit gratuite google - Guide
- Impossible de supprimer un dossier - Guide
- Dossier rar - Guide
1 réponse
Exileur
Messages postés
1475
Date d'inscription
mercredi 31 août 2011
Statut
Membre
Dernière intervention
16 décembre 2022
150
25 oct. 2012 à 01:53
25 oct. 2012 à 01:53
Résolu
Sub MAJ()
Dim path As String = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
If System.IO.Directory.Exists(path & "\.minecraft.yirs") = True Then
My.Computer.FileSystem.DeleteDirectory(path & "\.minecraft.yirs", FileIO.DeleteDirectoryOption.DeleteAllContents)
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/Minecraft.exe", path & "\.minecraft.yirs\bin\minecraft.exe")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/lwjgl.jar", path & "\.minecraft.yirs\bin\lwjgl.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/version", path & "\.minecraft.yirs\bin\version")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/jinput.jar", path & "\.minecraft.yirs\bin\jinput.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/minecraft.jar", path & "\.minecraft.yirs\bin\minecraft.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/lwjgl_util.jar", path & "\.minecraft.yirs\bin\lwjgl_util.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-dx8.dll", path & "\.minecraft.yirs\bin\natives\jinput-dx8.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-raw.dll", path & "\.minecraft.yirs\bin\natives\jinput-raw.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/lwjgl64.dll", path & "\.minecraft.yirs\bin\natives\lwjgl64.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/OpenAL32.dll", path & "\.minecraft.yirs\bin\natives\OpenAL32.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-dx8_64.dll", path & "\.minecraft.yirs\bin\natives\jinput-dx8_64.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-raw_64.dll", path & "\.minecraft.yirs\bin\natives\jinput-raw_64.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/lwjgl.dll", path & "\.minecraft.yirs\bin\natives\lwjgl.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/OpenAL64.dll", path & "\.minecraft.yirs\bin\natives\OpenAL64.dll")
ElseIf System.IO.Directory.Exists(path & "\.minecraft.yirs") = False Then
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/Minecraft.exe", path & "\.minecraft.yirs\bin\minecraft.exe")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/lwjgl.jar", path & "\.minecraft.yirs\bin\lwjgl.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/version", path & "\.minecraft.yirs\bin\version")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/jinput.jar", path & "\.minecraft.yirs\bin\jinput.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/minecraft.jar", path & "\.minecraft.yirs\bin\minecraft.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/lwjgl_util.jar", path & "\.minecraft.yirs\bin\lwjgl_util.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-dx8.dll", path & "\.minecraft.yirs\bin\natives\jinput-dx8.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-raw.dll", path & "\.minecraft.yirs\bin\natives\jinput-raw.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/lwjgl64.dll", path & "\.minecraft.yirs\bin\natives\lwjgl64.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/OpenAL32.dll", path & "\.minecraft.yirs\bin\natives\OpenAL32.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-dx8_64.dll", path & "\.minecraft.yirs\bin\natives\jinput-dx8_64.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-raw_64.dll", path & "\.minecraft.yirs\bin\natives\jinput-raw_64.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/lwjgl.dll", path & "\.minecraft.yirs\bin\natives\lwjgl.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/OpenAL64.dll", path & "\.minecraft.yirs\bin\natives\OpenAL64.dll")
End If
MsgBox("Mise a jour terminée", MsgBoxStyle.Information)
FormConn = 1
End Sub
Sub MAJ()
Dim path As String = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
If System.IO.Directory.Exists(path & "\.minecraft.yirs") = True Then
My.Computer.FileSystem.DeleteDirectory(path & "\.minecraft.yirs", FileIO.DeleteDirectoryOption.DeleteAllContents)
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/Minecraft.exe", path & "\.minecraft.yirs\bin\minecraft.exe")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/lwjgl.jar", path & "\.minecraft.yirs\bin\lwjgl.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/version", path & "\.minecraft.yirs\bin\version")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/jinput.jar", path & "\.minecraft.yirs\bin\jinput.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/minecraft.jar", path & "\.minecraft.yirs\bin\minecraft.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/lwjgl_util.jar", path & "\.minecraft.yirs\bin\lwjgl_util.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-dx8.dll", path & "\.minecraft.yirs\bin\natives\jinput-dx8.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-raw.dll", path & "\.minecraft.yirs\bin\natives\jinput-raw.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/lwjgl64.dll", path & "\.minecraft.yirs\bin\natives\lwjgl64.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/OpenAL32.dll", path & "\.minecraft.yirs\bin\natives\OpenAL32.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-dx8_64.dll", path & "\.minecraft.yirs\bin\natives\jinput-dx8_64.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-raw_64.dll", path & "\.minecraft.yirs\bin\natives\jinput-raw_64.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/lwjgl.dll", path & "\.minecraft.yirs\bin\natives\lwjgl.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/OpenAL64.dll", path & "\.minecraft.yirs\bin\natives\OpenAL64.dll")
ElseIf System.IO.Directory.Exists(path & "\.minecraft.yirs") = False Then
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/Minecraft.exe", path & "\.minecraft.yirs\bin\minecraft.exe")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/lwjgl.jar", path & "\.minecraft.yirs\bin\lwjgl.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/version", path & "\.minecraft.yirs\bin\version")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/jinput.jar", path & "\.minecraft.yirs\bin\jinput.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/minecraft.jar", path & "\.minecraft.yirs\bin\minecraft.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/lwjgl_util.jar", path & "\.minecraft.yirs\bin\lwjgl_util.jar")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-dx8.dll", path & "\.minecraft.yirs\bin\natives\jinput-dx8.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-raw.dll", path & "\.minecraft.yirs\bin\natives\jinput-raw.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/lwjgl64.dll", path & "\.minecraft.yirs\bin\natives\lwjgl64.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/OpenAL32.dll", path & "\.minecraft.yirs\bin\natives\OpenAL32.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-dx8_64.dll", path & "\.minecraft.yirs\bin\natives\jinput-dx8_64.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/jinput-raw_64.dll", path & "\.minecraft.yirs\bin\natives\jinput-raw_64.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/lwjgl.dll", path & "\.minecraft.yirs\bin\natives\lwjgl.dll")
My.Computer.Network.DownloadFile("http://192.168.1.2/minecraft/launcher/natives/OpenAL64.dll", path & "\.minecraft.yirs\bin\natives\OpenAL64.dll")
End If
MsgBox("Mise a jour terminée", MsgBoxStyle.Information)
FormConn = 1
End Sub