>I'm a little confused about when I would want to use _vfp versus _screen. Is there a difference when you're developing a single application? Thanks in advance.
>Marcus.
Marcus,
_vfp is an object reference to the Visual FoxPro object while _screen is a reference to the main window. To better explain this here's a difference that is clear. You can _VFP.Visible = .t. and you can _screen,visible = .t. they both show _screen. However, you can
_vfp.DoCmd("USE Customer")
_vfp.DoCmd("BROWSE")
and you will open the customer file and browse it. _screen doesn't have a DoCmd Method. All of this is in the help file under _VFP and _SCREEN. While looking at either ch3eck out the top of the help screen and look at the properties and methods of each. You find they are quite different.