|
Hello Pascal,
You can find a white paper from Rational : "VB
and VC++ Templates in Rose2000e and Rose2001". I have try with VC++ and it's
work.
Jean-Yves Garneau
Analyste-programmeur Centre de Recherche Industrielle du Qu�bec T�l.: (418) 659-1550 Poste 2903 >>> "Pascal Lamothe" <[EMAIL PROTECTED]> 07/03 10:25 am >>> Hi everybody, I want to know if it's possible to customise visual basic template, because I try and it doesn't work. See my test below : Template name : errorhandlingexit.rvb Original content : Exit <%=MethodType(ThisItem)%> ErrorHandler: Call RaiseError(MyUnhandledError, "<%=ThisItem.Name & " " & MethodType(ThisItem)%>") New Content : Exit <%=MethodType(ThisItem)%> ErrorHandler: 'Error log into the event log of windows LogError(Err.Number, "<%=ThisItem.Name & " " & MethodType(ThisItem)%> in Class" & CLASSNAME, Err.Description) 'Error display to the user Call RaiseError(MyUnhandledError, "<%=ThisItem.Name & " " & MethodType(ThisItem)%>") I try with operation propreties for VB (in model propreties) but I can used variable like : <%=MethodType(ThisItem)%> <%=ThisItem.Name & " " & MethodType(ThisItem)%> and it's very important Pascal Lamothe System Analyst ************************************************************************ * Rose Forum is a public venue for ideas and discussions. * For technical support, visit http://www.rational.com/support * * Admin.Subscription Requests: [EMAIL PROTECTED] * Archive of messages: http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl * Other Requests: [EMAIL PROTECTED] * * To unsubscribe from the list, please send email * * To: [EMAIL PROTECTED] * Subject:<BLANK> * Body: unsubscribe rose_forum * ************************************************************************* |
