You've quickly exceeded the capabilities of eVB. eVB does not allow dynamic
control creation, at least not natively. To compond the problem, since eVB
is interpreted, you have no Address Of operator, so even if you create the
controls with CreateWindow, you have no way of setting the control's
WindowProc, so you have no way of capturing its events.
At this point, you're probably better off writing the app in HTML and
running the entire thing through PIE, but the challenge there is that PIE
doesn't support control creation, so you have no custom controls available.
With all that said, there may still be hope. A little ingenuity goes a long
way. If you give a little more info on your requirements, we might be able
to provide suggestions for work arounds.
-------------------------------
Christopher Tacke, MCSD
> -----Original Message-----
> From: Saga Mailing Lists [mailto:kk8877@y...]
> Sent: Thursday, August 30, 2001 2:40 AM
> To: professional vb
> Subject: [pro_vb] RE: embedded Visual Basic for Pocket PC
>
>
> Im trying to develop an app which will be installed on a Compaq iPAQ PDA,
> using eVB.
>
> The forms controls have to be dynamically created at run-time,
> depending on
> user-input/requirements. So, it would have to a be a sort of a shell
> application that allows its user to specify how many controls
> s/he wants on
> the hand-held. There are some APIs that are supposed to be able
> to do this,
> , like CreateWindowEx(), etc. But they dont seem to be working.
>
> Have you guys faced this situation before. I have tried to use
> HTML/JScript/XML to get around this problem of dynamic creation of text
> boxes/checkboxes etc. But I got stuck at the point where I needed to store
> the data into a text file (XML, CSV, etc)
>
> This app. must allow the user to choose as many parameters as
> s/he wants to
> use the application.
>
> thanks,
> Karthik
>
>
> ----- Original Message -----
> From: J. Trevor Harris <tharris@r...>
> To: professional vb <pro_vb@p...>
> Sent: Wednesday, August 29, 2001 7:45 PM
> Subject: [pro_vb] RE: embedded Visual Basic for Pocket PC
>
>
> > Go ahead and ask.
> >
> > -----Original Message-----
> > From: Saga Mailing Lists [mailto:kk8877@y...]
> > Sent: Wednesday, August 29, 2001 10:12 AM
> > To: professional vb
> > Subject: [pro_vb] embedded Visual Basic for Pocket PC
> >
> >
> > Hello All,
> >
> > Is there anybody out there who has developed applications on embedded
> Visual Basic for PocketPC devices?
> >
> > If yes, then I have a few questions to ask you guys.
> >
> > thanks,
> > Karthik