Trish,
When you run the form from the command window you automatically get a public scoped memvar named sendconfirm, you don't get that when you are running from code. Another way of coding it would be to use _screen.ActiveForm.Method() as the program to run in the popup code you have defined.
>I open a form with DO FORM sendconfirm
>
>I have a shortcut menu that can be accesses with a right mouse click. When the user accesses the popup and selects and option it should call a method in the form (sendconfirm.removefax). It works fine in the development environment running straight from the screen.
>
>If I run it was the main program or app, it says that sendconfirm is not available. I look in the debugger and the reference to the object is unavailable.
>
>Is there a way around this?