Solved

Java version of vba's - Run('Function', startParams)

Posted on 2008-10-29
4
316 Views
Last Modified: 2012-05-05
Hi all

In vba it is possible to call a function via the Run('Function', startParams) command where 'Function' is a string variable containing the name of a function to be run.

Is it possible to do this in java? I.E. i want to be able to create a method that takes in a string of the name of the method to call and calls this one!

Thanks in advance
0
Comment
Question by:billyleo
  • 3
4 Comments
 
LVL 24

Expert Comment

by:sciuriware
ID: 22833189
Yes by "reflection".

;JOOP!
0
 
LVL 24

Accepted Solution

by:
sciuriware earned 500 total points
ID: 22833199
0
 

Author Closing Comment

by:billyleo
ID: 31511273
Thanks - had come to that solution myself, not looking forward to it though!
0
 
LVL 24

Expert Comment

by:sciuriware
ID: 22833638
:))
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This video teaches viewers about errors in exception handling.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question