Re: CreateObjectWithEvents
From: Brian Burgess (bburgess66_at_hotmail.com)
Date: 05/19/04
- Previous message: Ayman: "Re: disable hardware buttons"
- In reply to: Chris Tacke, eMVP: "Re: CreateObjectWithEvents"
- Next in thread: Chris Tacke, eMVP: "Re: CreateObjectWithEvents"
- Reply: Chris Tacke, eMVP: "Re: CreateObjectWithEvents"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 19 May 2004 12:01:40 +0800
Tried that first actually. Once the timer event fires, the form that this
Timer control is on likes to display. So I then coded for this .. to
ensure that the form stays hidden whenever the event fires. Then however,
on the form that IS displayed, when its OK button is clicked, the whole app
closes. Not what I want to occur in this case.
Any other thoughts?
thx again,
-BB
"Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
news:e7atNbOPEHA.1620@TK2MSFTNGP12.phx.gbl...
> I'd just create a form that I never show with a Timer on it. A kludge
yes,
> but it would work.
>
> --
> Chris Tacke, eMVP
> Co-Founder and Advisory Board Member
> www.OpenNETCF.org
> ---
> ---
> Principal Partner
> OpenNETCF Consulting
> www.OpenNETCF.com
>
>
>
> "Brian Burgess" <bburgess66@hotmail.com> wrote in message
> news:%23ikRO%23IPEHA.3264@tk2msftngp13.phx.gbl...
> > Tried that already :-( .. Nothing at all with a string 'timer' in
> it.
> >
> > You would think that the design-time control (for the desktop) would
have
> > the same progid .. right? I would, but it doesn't work either ...
> >
> > Guess I will start 'trial-and-error'..
> >
> > -BB
> >
> > "Chris Tacke, eMVP" <ctacke[at]Open_NET_CF[dot]org> wrote in message
> > news:e8yQNPAPEHA.628@TK2MSFTNGP11.phx.gbl...
> > > It might be TimerLib or TimerCtl - there's a lot of that in eVB. The
> best
> > > route is to use the remote registr editor and look through the
> registered
> > > clsid's on the device and see exactly what it looks for.
> > >
> > > -Chris
> > >
> > >
> > > "Brian Burgess" <bburgess66@hotmail.com> wrote in message
> > > news:Og2srU9OEHA.2580@TK2MSFTNGP09.phx.gbl...
> > > > Still having trouble getting this to work. Now it says the it
> 'Cannot
> > > > create ActiveX object'. Would you happen to know the correct
ProgID
> > to
> > > > use for the Timer control?
> > > >
> > > > Thx
> > > >
> > > > -BB
> > > >
> > > > "Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
> > > > news:ua9F4scOEHA.2844@tk2msftngp13.phx.gbl...
> > > > > It should work with any object. Make sure you're calling it in a
> Sub,
> > > not
> > > > a
> > > > > Form. For whatever reason CreateObjectWithEvents rarely works
from
> > Form
> > > > > code.
> > > > >
> > > > > --
> > > > > Chris Tacke, eMVP
> > > > > Co-Founder and Advisory Board Member
> > > > > www.OpenNETCF.org
> > > > > ---
> > > > > ---
> > > > > Principal Partner
> > > > > OpenNETCF Consulting
> > > > > www.OpenNETCF.com
> > > > >
> > > > >
> > > > >
> > > > > "Brian Burgess" <bburgess66@hotmail.com> wrote in message
> > > > > news:%237BqhGWOEHA.2920@tk2msftngp13.phx.gbl...
> > > > > > Hi all,
> > > > > >
> > > > > > Does anyone know if this eVB function works only with certain
> > objects?
> > > > > >
> > > > > > I'm trying to get a Timer control created this way .. but it
does
> > not
> > > > > >
> > > > > > create.
> > > > > >
> > > > > > Thanks in advance..
> > > > > >
> > > > > > -BB
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
- Previous message: Ayman: "Re: disable hardware buttons"
- In reply to: Chris Tacke, eMVP: "Re: CreateObjectWithEvents"
- Next in thread: Chris Tacke, eMVP: "Re: CreateObjectWithEvents"
- Reply: Chris Tacke, eMVP: "Re: CreateObjectWithEvents"
- Messages sorted by: [ date ] [ thread ]