اذهب الي المحتوي
أوفيسنا

كود عمل شورت كت لقاعد البيانات من داخل القاعده الى سطح المكتب


ابو جودي

الردود الموصى بها

وعليكم السلام، تفضل سويت لك مشروع صغير.

 

Dim Shell
Set Shell = CreateObject("WScript.Shell")
DesktopPath = Shell.SpecialFolders("Desktop")
Set link = Shell.CreateShortcut(DesktopPath & "\" & CurrentProject.Name & ".lnk")
link.Description = "shortcut"
link.TargetPath = CurrentDb.Name
link.WindowStyle = 3
link.Save

 

يأخذ الاسم للقاعدة الحالية ثم يعمل لها اختصار الى سطح المكتب بنفس الاسم والايقونة

 

حسنين

shortcut_SEMO_Pa3x.accdb

  • Like 2
رابط هذا التعليق
شارك

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

زائر
اضف رد علي هذا الموضوع....

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • اضف...

Important Information