Coolman, je n´ai pas de réponse précise!
Vérifie bien ton bios et ton OS car les disques de 200 Go ne sont pas bien supportés.
Et de plus, partitionne le en au moins 5 disques de 40GO chacun.
Pete, alors serait-ce cela la solution pour toi?
Sample Project
Start a new Standard EXE project in Visual Basic. Form1 is created by default.
Add two CommandButtons to Form1.
Copy the following code to the Code window of Form1: Option Explicit
Private Declare Function GetModuleFileName Lib " kernel32" _
Alias " GetModuleFileNameA" _
( ByVal hModule As Long, _
ByVal lpFileName As String, _
ByVal nSize As Long) As Long
Private Sub Form_Load()
´Set the command button names
Command1.Caption = " Different Project and Executable Names"
Command2.Caption = " Similar File Names"
End Sub
Private Sub Command1_Click()
´Click this button if the project name and the compiled file
´name are different.
MsgBox VB.App.EXEName
End Sub
Private Sub Command2_Click()
´Click this button if the project name and the compiled file
´name are the same.
Dim strFileName As String
Dim lngCount As Long
strFileName = String(255, 0)
lngCount = GetModuleFileName(App.hInstance, strFileName, 255)
strFileName = Left(strFileName, lngCount)
If UCase(Right(strFileName, 7)) < > " VB5.EXE" Then
MsgBox " Compiled Version"
Else
MsgBox " IDE Version"
End If
End Sub
Save the project with the IDEApp project name.
Compile two different executable files from this project. Use the default file name, IDEApp.exe, for the first executable file. For the second executable file, use the file name EXEApp. To compile the project, complete the following steps:
From the File menu, click Make IDEApp.exe. The Make Project dialog box appears.
Use the default file name or type your file name in the File name text box.
Click OK to create the executable file and to close the Make project Dialog box.
On the Run menu, click Start or press the F5 key to start the program. Click the Different Project and Executable Names button. A message box displays with the message, " IDEApp," to indicate that the program is running from the IDE. Click the Similar File Names button. A message box displays with the message, " IDE Version," to indicate the program is running from the IDE. Close down the project.
Run either executable file and click the CommandButtons. A message box is shown indicating the program is running from an executable file.