Реферат: Конфигурация аппаратных средств персонального компьютера
i = i + 1: mDDir(i) = mDTMP
End If
End If
mDTMP = Dir
Loop
On Error GoTo EndFindINF
For j = 1 To i
mDir1 = Dir("C:\Windows\INF\" + mDDir(j) + "\*.inf")
While mDir1 <> ""
a = a + 1
mDir(a) = mDDir(0) + mDDir(j) + "\" + mDir1
mDir1 = Dir()
Wend
Next j
mDir1 = Dir("C:\WINDOWS\INF\*.inf")
While mDir1 <> ""
a = a + 1
mDir(a) = mDDir(0) + mDir1
mDir1 = Dir()
Wend
EndFindINF:
Err.Clear
dX = (X2 - X1) / a
For i = 1 To a
On Error GoTo 0
Open mDir(i) For Input As #1
XE = X1 + (dX * i)
Progress.Line (X1, Y1)-(XE, Y1), &H8000000D
f = 0