Hello Martin,

        Are you specifying the "*.ebx" extension in your path to the script 
that you want loaded? If so, try it without specifying the extension; For 
example:

Dim scriptPath As String
'' getting the path to "My2ndScript.ebx"
scriptPath = RoseApp.PathMap.GetActualPath("$SCRIPT_PATH") & "\" &
"My2ndScript"
RoseApp.LoadScript scriptPath



Thank you,

Shaquille Asghari
Senior Support Engineer
Rational Customer Service - Committed to Service Excellence
SCP Certified:- http://www.rational.com/support/scp.jsp
Rational
the software development company

==========Original Messege==========



-----Original Message-----
From: Dolog, Martin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 07, 2002 5:03 AM
To: '[EMAIL PROTECTED]'
Subject: (ROSE) AddIn and RoseApp.LoadScript



Hello,

I have done my Add In at last and I wanted to include it into rose's menu.
Everything is all right except my main script can not load another scripts
via RoseApp.LoadScript
main script runs fine but not subs defined in other modules.
I haven't got any error messages, empty log file, nothing.

I placed all ebx files into c:\program files\rational\rose directory with my
"menu" file as well.
my script_path points into that directory.

any idea?

cheers,

Martin

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*    To: [EMAIL PROTECTED]
*    Subject: <BLANK>
*    Body: unsubscribe rose_forum
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Post or Reply to: [EMAIL PROTECTED]
* Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
*    http://www.rational.com/support/usergroups/rose/rose_forum.jsp
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*    To: [EMAIL PROTECTED]
*    Subject: <BLANK>
*    Body: unsubscribe rose_forum
*************************************************************************

Reply via email to