473,396 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

calling another module

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
Jul 3 '06 #1
2 1368
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?

Jul 3 '06 #2
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
"Chris Dunaway" <du******@gmail.comwrote in message
news:11*********************@m79g2000cwm.googlegro ups.com...
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?

Jul 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Marc Shapiro | last post by:
I am relatively new to python (I have used it on and off for a few small projects over the last few years) so I imagine that what I am trying to do has already been done, but practical experience,...
10
by: Kyler Laird | last post by:
I need to submit C/C++ code for a class. (It's not a programming class. The choice of language is inertial. I think that it mostly serves to distract students from the course subject.) I'm...
1
by: Stephen Kellett | last post by:
Hello everyone, I'm trying to do something in C calling Python and its failing. I'd be grateful if you could take a look and hopefully you have an answer. What I'm trying to do is determine...
5
by: Pekka Niiranen | last post by:
Hi there, I have two scripts. The first "main.py" sets some variables and then imports another called "gen.py". The idea is to provide "main.py" that defines some paths, variables etc. without...
6
by: jchao123 | last post by:
Dear All, I have an MDB file (Access 2000/XP) which contains generic routines I use in various apps (eg, API calls, File access classes etc). I have compiled into an MDE file which I reference...
1
by: Pete Straman Straman via AccessMonster.com | last post by:
Hey: I have created a module that runs fine. I am trying to put all my modules on a form. I cannot get the modules to run from the command buttons. The error I get is Compiler error: ...
1
by: Nick | last post by:
I have read many postings regarding the above thread but don't seem to have found the exact problem I am experiencing. I am using VS.NET and have 2 projects within the 1 solution. First project...
5
by: Amit | last post by:
I tried calling a subroutine in a fortran module from C ,but couldn't.I always get the error: undefined reference in the main.o file (main is in C calling the subroutine). for calling the...
6
by: johnf401 | last post by:
I've got a VB .NET Web application that has several frames (for discussion sake, let's call them Form1.aspx and Form2.aspx). I want to be able to call a code module in Form2.aspx.vb from code...
4
by: MLH | last post by:
I have the following saved UNION query named qryPeople2NameInNPaperAd: SELECT & " " & & " " & & " " & & ", " & & " " & AS Item, tblVehicleJobs.VehicleJobID FROM tblVehicleJobs INNER...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.