TungVan
asked on
Public Declare Function CSNull Lib "QPRO32.DLL" (ByVal Work As String) As Long
Hi all,
First, I just want to let you know that I am new in VB...And thx to any help...:)
I have 3 questions to ask:
1) I see a line of code calling CSNull(something). When I right-click on CSNull and chose Definition. It goes to Public Declare Function CSNull Lib "QPRO32.DLL" (ByVal Work As String) As Long
My question is how do I know what that function is doing? Is there a functions specification for QPRO32.DLL?
2) My second question is I see 2 things: frmMain, and Sub Main (in a module). When you run the application, the program runs frmMain first or Sub Main (function in the module)?
3) My 3rd question is sometimes i see something like frmMainMenu!mnuSettingShow
What does the sign "!" do in that line?
Thanks a lot.
ASKER
Hi Idle_Mind,
Thnx for your reply. Is there a way to convert from dll file to code? so that i can look at it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
(2) Cick on Project --> (YourProjectName) Properties. There is a "Startup Object" drop down box that determines the entry point into the application. When a Sub Main is present, it is most likely the entry point but doesn't have to be. If Main() is the entry point then somewhere in the code an instance of frmMain is being created and then shown.
(3) The ! operator isn't used in VB. Are you using VBA for Word, Excel or Access? Typically in VBA the ! operator allows you to access a control or field/cell contained within something else. It has been awhile since I have done any VBA coding so another expert may be able to give you a more precise answer.