This isn't specifically what you want, but it might be useful to go 
through tech note 34:
http://www.nsbasic.com/ce/info/technotes/TN34.htm

You might be able to either set up your form as a control array 
(doubtful) or read a list of control identifiers out of a file/db and 
use that to set up your arrays.

Hope that helps.

--- In [EMAIL PROTECTED], "mlagardette" <[EMAIL PROTECTED]> 
wrote:
>
> Yes it runs properly.
> 
> I only should be interested in making my code shorter if I can 
replace
> one hundred lines by a For Each statement...
> 
> --- In [EMAIL PROTECTED], "George Henne" <gh@> wrote:
> >
> > Did you say it runs properly as a .nsb file?
> > 
> > >Do you mean that there's no way to list the controls by a "For 
Each"
> > >statement ?
> > >
> > >
> > >--- In [EMAIL PROTECTED], "George Henne" <gh@> wrote:
> > >>
> > >> There is a limit on the size of exe files. It has been a long
> standing
> > >> irritation, not just for our customers.
> > >> 
> > >> I suspect you've passed the limit. You will have to use a .nsb 
file.
> > >> 
> > >> >Hi,
> > >> >
> > >> >My code runs fine with .nsb file, but after the compilation, 
which
> > >> >doesn't fire any message, when the .exe runs on the device, 
it fires
> > >> >the message : "Microsoft VBScript compilation error - line 
2199,
> char
> > >> >0 Invalid character."
> > >> >The portion of the code which contains the problem is  a set 
of ~100
> > >> >lines like, for intitialisation  :
> > >> >----------------------------
> > >> >CB01.Value=Null
> > >> >CustNumber.Text=Null...
> > >> >----------------------------
> > >> >Maybe it's the volume of the file which is the point...
> > >> >So, I should want to write something like :
> > >> >---------------------------------------------
> > >> >For each Texbox.Object in Texbox.Objects
> > >> >   Texbox.Object=Null
> > >> >Next
> > >> >For each Combobox.Object in Combobox.Objects
> > >> >   Combobox.Object=Null
> > >> >Next....
> > >> >---------------------------------------------
> > >> >But I don't know if it's possible and if yes, which is the 
right
> > >syntax.
> > >> >
> > >> >Can you help me ?
> > >> >
> > >> >Best regards
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >------------------------------------
> > >> >
> > >> >Yahoo! Groups Links
> > >> >
> > >> >
> > >> >
> > >>
> > >
> > >
> > >
> > >------------------------------------
> > >
> > >Yahoo! Groups Links
> > >
> > >
> > >
> >
>



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to