i'm not really sure what you're trying to do, but you could set a timer,
(timer control) so that every 5 seconds, it will show another form (form2)
using form2.show, and show that form as modal (which will keep it on top)
then you'd have to have a timer on the second form to tell it when to hide
itself using form2.hide
lemme know if that helps or not, i'm kind of in a hurry right now, i have to
leave for ohio for the weekend, i can be of more help monday
Will
----- Original Message -----
From: <nayan_vora@...>
To: <webvb@yahoogroups.com>
Sent: Friday, June 08, 2001 7:30 AM
Subject: [webvb] Help me otherwise I will die
> Respected Sir,
>
> I am facing some programming problem and regarding that i need your
> help if you become helpful me in that , i will be thankful to you.
>
> I have two different application in Visual Basic 6.0.
>
> In one application :
>
> One movie file running Window Media Player Activex control, that form
> is transparent ,so any other control on that form cannot be displayed.
>
> Now after the duration of sometime I want to invoked another
> application , which must be stay on top of the first one application.
>
> When another application invoked the first application still run ,
> but windows media player's screen go away , that means only sound can
> be listened but video is not displayed.
>
> My problem is that how can i keep both application active and work
> perfectly. That means after every 5 sec. or sometime duration another
> application invoked and at that time the first application must be
> worked perfectly.
>
> I tried : setwindowpos in second application to set the position
> properly. ( IF setwindowpos not used then also it create problem ,
> the second application never be seen in front of first application).
>
> I also tried object.zorder 0 method.
>
> I also tried BringWindowToTop method.
>
> I tried to add another exe in my first project as Related Documents
> or In Resource Editor , but I have no idea how to use throuht it.
>
> Plz. guide me if you have any idea , or give me reference who can
> become helpful to me.
>
> Plz. send me email at : nayan_vora@....
>
> Nayan Vora ,
> Sr. Programmer ,
> Kadvani ITech ,
> Rajkot - India.
> www.nayanvora.com
> nayan_vora@...
>
>
>
>
>
>
> Visit:
>
> WebVB at http://www.CoSeCo.com/WebVB
>
> Free Web Stuff at http://www.CoSeCo.com/WebStuff
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>