النتائج (
العربية) 1:
[نسخ]نسخ!
Here, you directly declare olApp to be an Outlook.Application type. The other Dim statements alsodeclare object variables of the type you need. If the same object name is used in more than one objectlibrary, you can precede the object name by the name of the application, rather than depend on the priorityof the type libraries. You did this with Outlook.NameSpace to illustrate the point. The New keyword isused when assigning a reference to Outlook.Application to olApp to create a new instance of Outlook.The fact that you declare the variable types correctly makes VBA use early binding. You could use theCreateObject function to create the olApp object variable, instead of the New keyword, without affectingthe early binding. However, it is more efficient to use New.
يجري ترجمتها، يرجى الانتظار ..
