>I have this in the INIT of a form, but it is not in scope in another method of the form. That's because it's local to the INIT, I would guess, so that tells me I need to probably use a form property to hold it, but can I do this with an object? I could put it in the other method, but then it would recreate it each time that method is run. I was looking for it to only be created once.
>
>
>oShellApp = CreateObject("Shell.Application")
>
Jay,
put this in the init of the form
local oShellApp
oShellApp = CreateObject("Shell.Application")
=m.this.AddProperty('oShellApp', m.oShellApp)
Gregory