calling another module

  • Thread starter Thread starter Sydney
  • Start date Start date
S

Sydney

Hi there

I know this should be simple but I cant work out how to call a procedure
from another module in .NET.
I keep getting an error (Argument not specified for the parameter)
Im using Projectname.Module.Macroname

Thanks in advance
 
I keep getting an error (Argument not specified for the parameter)
Im using Projectname.Module.Macroname

Without knowing what method you are calling, it's difficult to say, but
the error you refer to seems to indicate that you are not passing in a
required parameter. What is the method signature that you are trying
to call?
 
Hi Chris

Im very new to this and not sure what your asking.

I am using the Visio com add-in wizard in vb.net and following the SDK
sample code to create a toolbar.
The project add-in wizard creates a Connect.vb module.
I created another module called Createmenu.vb
Createmenu.vb holds :
Module CreateMenu
Public Sub AddMenuItemToMenuBar()

I just dont know what to write in Connect.vb to call the code in
CreateMenu.vb

Hope this makes sense
 
Back
Top