اذهب الي المحتوي
أوفيسنا
بحث مخصص من جوجل فى أوفيسنا
Custom Search

اضافة الصوت للبرنامج


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

السلام عليكم و رحمة الله و بركاتة

اخواني الخبراء هل يمكن اضافة الصوت WindowsMediaPlayer1 فى UserForm2و UserForm3

Sub View_images()

Application.Visible = False
On Error Resume Next
        Login_screen.Show
        Application.Wait Now + TimeValue("00:00:3")
        Login_screen.Hide
        
        
        UserForm1.Show
        UserForm1.Repaint
        Application.Wait Now + TimeValue("00:00:3")
        UserForm1.Hide
        
        UserForm2.Show
        UserForm2.Repaint
        Application.Wait Now + TimeValue("00:00:9")
        UserForm2.Hide
        
        UserForm3.Show
        UserForm3.Repaint
        Application.Wait Now + TimeValue("00:00:9")
        UserForm3.Hide
      
        
        Application.Visible = True
        
       End
   On Error GoTo 0
    
 End Sub

 

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

اخواني الخبراء كيف اجعل  WindowsMediaPlayer1 الصوت يعمل و يوقف اتوماتيكيا عند فتح يوزرفورم مهما كان عدد اليوزرفورم

Private Sub OptionButton1_Click()
WindowsMediaPlayer1.URL = ThisWorkbook.Path & "سورة الإخلاص\"
Application.Wait (Now + TimeValue("0:00:45"))
WindowsMediaPlayer1.Controls.Play
End Sub

 

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

السلام عليكم و رحمة الله و بركاتة

اخواني الخبراء هل يمكن دمج كودين فى UserForm1 اضافة الصوت WindowsMediaPlayer1

هذا كود يوزرفورم
Private Sub CommandButton5_Click()
Application.Visible = False
On Error Resume Next
        Login_screen.Show
        Application.Wait Now + TimeValue("00:00:3")
        Login_screen.Hide
        
        
        UserForm1.Show
        UserForm1.Repaint
        Application.Wait Now + TimeValue("00:00:3")
        UserForm1.Hide
        
        
        Application.Visible = True
        
       End
   On Error GoTo 0
End Sub


هذا كود الصوت

Private Sub CommandButton13_Click()
WindowsMediaPlayer3.Controls.Play
End Sub

 

تم تعديل بواسطه husain alhammadi
رابط هذا التعليق
شارك

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.

  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information