That's right, you need to create a EXE if the COM object will display any type of dialog on screen.
To define a form as Top level, you need to change the property ShowWindow to 2 - As Top-Level Form. You don't need _Screen.Visible = .T.
HTH
>I've heard on German DevCon that I have to create a COM-Exe to implement a Server that can show forms. Also I've heard, that this form must be defined as "As Top-Level-Form", to become visible. I implemented a COM-Server-class, that has the statement _SCREEN.VISIBLE = .T. in its Init-Event. This makes popup the FoxPro Screen. In this screen I can put forms in the way I usually do in FoxPro, the forms are defined as "In Screen". Did I do anything wrong, that will result any problems in the future, or can I go forward this way?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only