Check if module is added

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

Check if module is added

Postby Karel Broer » Wed May 04, 2005 10:51 am

It would be nice to have some method that returns the names of the attached modules.
Something like:

Code: Select all
//Get the names of the attached modules from current solution (as strings in array)
var array = application.getModuleNames();


This would be great for:
- calculating license codes
- check if the module is availabe
- show module names somewhere :wink:
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Postby patrick » Wed May 04, 2005 1:30 pm

Yes! Good idea!
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Check if module is added

Postby Karel Broer » Mon Oct 30, 2006 9:22 pm

- check if the module is availabe

Ehm.. quoting myself here... :roll:
How to check if module is attached to solution?
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Postby Harjo » Mon Oct 30, 2006 9:35 pm

You can check if a specific form is present.
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Postby Karel Broer » Mon Oct 30, 2006 10:32 pm

Thanks Harjo, works great!
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 12 guests

cron