Код: Выделить всё
Input #1, aКод: Выделить всё
Line Input #1, aКод: Выделить всё
Input #1, aКод: Выделить всё
Line Input #1, aКод: Выделить всё
Dim fso As New FileSystemObject ' Объявляем переменную
' типа FSO
Dim drv As Drive ' Объявляем переменную для работы с диском
Set drv = fso.GetDrive(fso.GetDriveName("C:\")) ' Получаем
' доступ к диску
With drv
Form1.Caption = .FileSystem ' Получаем и выводим в заголовке
' формы файловую систему диска C:\
End WithКод: Выделить всё
Dim fso As New FileSystemObject
Dim fil As File
Set fil = fso.GetFile("C:\1.txt")
With fil
Print .Attributes
Print .DateCreated
Print .DateLastAccessed
Print .DateLastModified
Print .Drive
Print .Name
Print .Path
Print .ShortName
Print .ShortPath
Print .Size
Print .Type
End WithКод: Выделить всё
Print fil.Attributes
Print fil.DateCreated
Print fil.DateLastAccessed
Print fil.DateLastModified
Print fil.Drive
Print fil.Name
Print fil.Path
Print fil.ShortName
Print fil.ShortPath
Print fil.Size
Print fil.Type Код: Выделить всё
With fil
Print .Attributes
Print .DateCreated
Print .DateLastAccessed
Print .DateLastModified
Print .Drive
Print .Name
Print .Path
Print .ShortName
Print .ShortPath
Print .Size
Print .Type
End With
То-есть ты хочешь, чтобы программа сама запускалась при включении компьютера?я сейчас просто работаю над такой прогой - разные глюки в компе делает. Не подскажешь, как сделать, чтобы прога сама загружалась,без
разрешения пользователя, планировщик не считается?