1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349
|
''' Projet1.vbp
Form=Mémoire.frm
Form=Mémoire2.frm
Form=Mémoire3.frm
Object={6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0; comctl32.ocx
Object={FAEEE763-117E-101B-8933-08002B2F4F5A}#1.0#0; DBLIST32.OCX
Object={00028C01-0000-0000-0000-000000000046}#1.0#0; DBGRID32.OCX
Reference=*\G{BEF6E001-A874-101A-8BBA-00AA00300CAB}#2.0#0#C:\WINDOWS\SYSTEM\olepro32.dll#Standard OLE Types
Reference=*\G{00025E01-0000-0000-C000-000000000046}#3.0#0#C:\PROGRAM FILES\FICHIERS COMMUNS\MICROSOFT SHARC:\PROGRAM FILES\F#Microsoft DAO 3.0 Object Library
ProjWinSize=55,866,194,128
ProjWinShow=2
IconForm="Form2"
Title="Mémoire"
ExeName32="Mémoire.exe"
Path32="I:\"
Name="Projet1"
HelpContextID="0"
StartMode=0
VersionCompatible32="0"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
VersionComments="Mémoire de restauration du globe céleste de Coronelli"
VersionCompanyName="Mouilleron Mathilde"
VersionFileDescription="Page d'accueil"
VersionLegalCopyright="Mouilleron Mathilde"
VersionLegalTrademarks="prodmov"
VersionProductName="Mémoire"
''' Mémoire.frm
VERSION 4.00
'ici : des BEGIN sans intérêts (tailles et positionnements)
Attribute VB_Name = "Form1"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Dim LE As Integer
Dim HE As Integer
Dim DH As Integer
Dim DL As Integer
Dim acro As Variant
Dim acr As Variant
Dim ac As Variant
Dim chemin As Variant
#If Win32 Then
Private Declare Function ShellExecute Lib _
"shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long
#Else
Private Declare Function ShellExecute Lib _
"shell.dll" (ByVal _
hwnd As Integer, ByVal lpOperation _
As String, ByVal lpFile _
As String, ByVal lpParameters _
As String, ByVal lpDirectory _
As String, ByVal nShowCmd _
As Integer) As Integer
#End If
Private Const SW_SHOWNORMAL = 1
Private Sub Form_Load()
If App.PrevInstance Then End
Form1.Width = 8200
Form1.Height = 6270
LE = Screen.Width / 2
HE = Screen.Height / 2
DH = Form1.Height / 2
DL = Form1.Width / 2
With Form1
.Top = HE - DH
.Left = LE - DL
End With
Form1.Visible = True
Form2.Visible = False
Form3.Visible = False
End Sub
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture6.Visible = True
End Sub
Private Sub Picture1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
chemin = CurDir
acro = Dir("c:\Progra~1\Adobe\Acrobat*", vbDirectory)
If acro = "" Then
Form1.Visible = False
Form2.Visible = False
Form3.Visible = True
Picture6.Visible = False
Else
Dim iret As Long
iret = ShellExecute(Me.hwnd, _
vbNullString, _
chemin + "\Mémoire\" + "Mémoire.PDF", _
vbNullString, _
chemin, _
SW_SHOWNORMAL)
Picture6.Visible = False
End If
End Sub
Private Sub Picture2_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture7.Visible = True
End Sub
Private Sub Picture2_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim iret As Long
chemin = CurDir
iret = ShellExecute(Me.hwnd, _
vbNullString, _
chemin + "\Diaporama\" + "Diapo.exe", _
vbNullString, _
chemin, _
SW_SHOWNORMAL)
Picture7.Visible = False
Unload Me
End
End Sub
Private Sub Picture3_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture8.Visible = True
End Sub
Private Sub Picture3_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim iret As Long
iret = ShellExecute(Me.hwnd, _
vbNullString, _
chemin, _
vbNullString, _
chemin, _
SW_SHOWNORMAL)
Picture8.Visible = False
Unload Me
End
End Sub
Private Sub Picture4_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture9.Visible = True
End Sub
Private Sub Picture4_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Form1.Visible = False
Form3.Visible = False
Form2.Visible = True
Picture9.Visible = False
End Sub
Private Sub Picture5_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture10.Visible = True
End Sub
Private Sub Picture5_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Unload Me
End
End Sub
''' Mémoire2.frm
VERSION 4.00
'ici : des BEGIN sans intérêts (tailles et positionnements)
Attribute VB_Name = "Form2"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Dim chemin As String
Private Sub Form_Load()
chemin = CurDir
Form2.Height = Form1.Height
Form2.Width = Form1.Width
Form2.Left = Form1.Left
Form2.Top = Form1.Top
End Sub
Private Sub Form_LostFocus()
Picture1.Visible = True
End Sub
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture6.Visible = True
End Sub
Private Sub Picture1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture6.Visible = False
Form3.Visible = False
Form2.Visible = False
Form1.Visible = True
End Sub
''' Mémoire3.frm
VERSION 4.00
'ici : des BEGIN sans intérêts (tailles et positionnements)
Attribute VB_Name = "Form3"
Attribute VB_Creatable = False
Attribute VB_Exposed = False
Dim chemin As String
#If Win32 Then
Private Declare Function ShellExecute Lib _
"shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, _
ByVal lpOperation As String, _
ByVal lpFile As String, _
ByVal lpParameters As String, _
ByVal lpDirectory As String, _
ByVal nShowCmd As Long) As Long
#Else
Private Declare Function ShellExecute Lib _
"shell.dll" (ByVal _
hwnd As Integer, ByVal lpOperation _
As String, ByVal lpFile _
As String, ByVal lpParameters _
As String, ByVal lpDirectory _
As String, ByVal nShowCmd _
As Integer) As Integer
#End If
Private Const SW_SHOWNORMAL = 1
Private Sub Form_Load()
Form3.Height = Form1.Height
Form3.Width = Form1.Width
Form3.Left = Form1.Left
Form3.Top = Form1.Top
Picture1.Visible = True
Picture2.Visible = False
Picture3.Visible = True
Picture10.Visible = False
End Sub
Private Sub Picture1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture2.Visible = True
End Sub
Private Sub Picture1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim iret As Long
iret = ShellExecute(Me.hwnd, _
vbNullString, _
chemin + "\Adobe\" + "ADBERDR60_FRA.EXE", _
vbNullString, _
chemin, _
SW_SHOWNORMAL)
Picture2.Visible = False
Form3.Visible = False
Form1.Visible = True
Form2.Visible = False
End Sub
Private Sub Picture3_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Picture10.Visible = True
End Sub
Private Sub Picture3_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim iret As Long
iret = ShellExecute(Me.hwnd, _
vbNullString, _
chemin + "\Mémoire\" + "Mémoire.PDF", _
vbNullString, _
chemin, _
SW_SHOWNORMAL)
Form1.Visible = True
Form2.Visible = False
Form3.Visible = False
Picture10.Visible = False
Unload Me
End
End Sub |
Partager