Same here, and I've never taken the time to fully understand the ins and outs of this issue, events, whether a .PRG is required...etc...
However my workaround is to use the VB statement MacroRun:
MacroRun "D:\XX\renumber.BAS" should work fine.
This is a pretty cool command because you can also pass arguments to it, which opens many possibilities. We have a bunch of "API building blocks" that we can put together to create bigger, more complexe tools.
Checkout the WinWrap help for complete details.
Sub Main Dim App As femap.model Set App = feFemap() App.feAppMessage(FCM_ERROR,CStr(Command$)) End Sub
and then this "API which calls another API":
Sub Main MacroRun "C:\tmp\test.BAS", "wOOt!" End Sub