Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX StatusBar control with OLE server application.
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00180359
Message ID:
00180603
Views:
27
Greg, Have you been following thread # 179438, Automation Server? There has been some very interesting discussion on visible controls in OLE Automation.

HTH
Barbara

>I have an OLE server-type .exe created in Visual FoxPro 5.0a (build 415) which is essentially a basic top-level form with some controls on it. I wanted to attach the ActiveX StatusBar control to it (from COMCTL32.OCX) to be used for relaying status information to the user (eg. the status bar in Internet Explorer at the bottom).
>
>Now, when the client FoxPro application does something like:
>
>ox = createobject("oleserver.mediaform")
>ox.visible = .T.
>
>The first thing I notice is that the status bar is not showing up at all on this Visual FoxPro form. The second thing that I notice happening when the StatusBar control is placed on my form is that running "release ox" no longer works as it used to. The OLE server EXE (oleserver.exe) does *NOT* disappear from the process list (NT Workstation 4.0 sp4), the form remains visible and somewhat functional (buttons still press) but I cannot get the form/exe to disappear as it should.
>
>This problem does not occur when I use the ActiveX control from within a plain simple form within Visual FoxPro and without using OLE stuff so I believe there is something buggy with this control when running in an OLE initiated environment.
>
>Any suggestions or obvious problems that I might be doing?
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform