Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX StatusBar control with OLE server application.
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
ActiveX StatusBar control with OLE server application.
Divers
Thread ID:
00180359
Message ID:
00180359
Vues:
56
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform