قائمة المستندات الاخيرة
Amjad Moustafa :: VB6 :: Codes :: Operating system
صفحة 1 من اصل 1
قائمة المستندات الاخيرة
Private Declare Sub SHAddToRecentDocs Lib "shell32.dll" _
(ByVal uFlags As Long, ByVal pv As String)
Private Sub Command1_Click()
'Now that the function has been declared, the following code can be used to add a file to the list.
Dim NewFile As String
NewFile = "c:\newfile.file"
Call SHAddToRecentDocs(2, NewFile)
End Sub
Private Sub Command2_Click()
'It is also possible to clear the list of files by using the following code.
Call SHAddToRecentDocs(2, vbNullString)
End Sub
(ByVal uFlags As Long, ByVal pv As String)
Private Sub Command1_Click()
'Now that the function has been declared, the following code can be used to add a file to the list.
Dim NewFile As String
NewFile = "c:\newfile.file"
Call SHAddToRecentDocs(2, NewFile)
End Sub
Private Sub Command2_Click()
'It is also possible to clear the list of files by using the following code.
Call SHAddToRecentDocs(2, vbNullString)
End Sub
مواضيع مماثلة
» إضافة مستند إلى قائمة المستندات الاخيرة
» فتح قائمة ابدأ
» إزالة زر X وعنصر إغلاق من قائمة النظام للنافذة
» فتح قائمة ابدأ
» إزالة زر X وعنصر إغلاق من قائمة النظام للنافذة
Amjad Moustafa :: VB6 :: Codes :: Operating system
صفحة 1 من اصل 1
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى