Solved

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

Posted on 2008-10-29
4
325 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ejb mdb examples 1 39
Need help aligning JRadioButton that put in a box using GridBagLayout 2 42
spring maven example issues 3 103
ArrayList Adding/settign data 3 37
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

734 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