This is something that's not really feasible with the .NET Compact and there
are a number of reasons why. The first being that the .NET Compact Framework
does not support CodeDOM or Reflection.Emit, so there is no way to
dynamically parse or generate IL instructions on the fly. Another being that
the .NET CF does not support drag & drop, so even if you did have a UI
designer running on the device, it would be cumbersome to work as there
would be no easy way to lay out the controls.
As a suggestion, you may want to propose to your client that they should use
templated forms. By that I mean construct a set of fairly generic UIs that
the user can choose from at runtime. These could include a single data row
UI, a tabular UI using the datagrid, or a master/detail view using a
combination of the previous two UIs.
--
Neil Cowburn
Principal Partner
OpenNETCF Consulting, LLC.
http://www.opennetcf.com/
"iKiLL" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
>
> Hi all
>
>
>
> I have been asked to develop a solution that is customisable by our
> clients.
>
> It is supposed to run on the Windows Mobile 5.0 CF2.0 environment using
> Merge Replication.
>
>
>
> I have looked into allowing the creation of Addin's but that has been
> rejected as it would require to much programming knowledge of a Dot.Net
> Language.
>
>
>
> Ideally what I would like is to store the user interfaces and logical code
> in a Database and then almost compile it at runtime to display the screens
> and perform logical tasks.
>
> Then build a WYSIWYG designer for creating the PDA entry screens that can
> then almost be data bound.
>
> What I am looking for is something like how an MS Access Database does
> where you can do simple data bound screens or you can get into the thick
> of it and write VB code.
>
>
>
> My questions are:
>
> 1.. How do I store logical code in the database and then us it at
> runtime?
> 2.. Any ideas about how to build a WYSIWYG designer with a code editing
> window?
>
>
> If you know of any examples that would lead me in the right direction I
> would be most great full.
>
> The primary language I want to use for development is C#.
>
>
>
> Thanks for any help.
>
> ink
>
>