Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Library Files Calling Ways
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
Following are the few differences:

1. We have a Library File with following Functions One Public and another Private:

Public Function myPublicFun()
msgbox "I am a public function"
End Function

Private Function myPrivateFun()
msgbox "I am a Private function"
End Function


If we use ExecuteFile method to load the library file, we will be able to access the private function directly. But if the same file is associated we won't be able to access private functions directly (Type Mismatch Error will be thrown).
Please Note that the functions are not inside a class.

2. With ExecuteFile method debugging of your class/Functions become difficult as F11/Step into feature does not work properly.

Regards,
Rajeshwar
Reply


Messages In This Thread
Library Files Calling Ways - by bfakruddin - 10-13-2010, 09:35 PM
RE: Library Files Calling Ways - by supputuri - 10-13-2010, 11:27 PM
RE: Library Files Calling Ways - by bfakruddin - 10-14-2010, 03:48 PM
RE: Library Files Calling Ways - by rajeshwar - 10-14-2010, 07:29 PM
RE: Library Files Calling Ways - by bfakruddin - 11-02-2010, 07:11 PM
RE: Library Files Calling Ways - by rajeshwar - 11-02-2010, 08:51 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)