
Creating an .EXE file from a VB .EXE ????
Quote:
>Looks like my best choice is to write a driver program (.EXE) to drive
>the screens that the users build. Any ideas on how to store these
>forms other than through a database.
>I think VB does this as an .FRX file which is binary data? Would ADO
>and Universal Data Access (UDA) make this easier? Do I need to find a
>C++ programmer to help me on this one?
The FRX contains extra data. The main form description is in the FRM
file.
The info you need to store depends on the controls that the user can
create. If you don't want to go to a database you could use and INI file
or even a CSV.
The structure might look like this:
As an INI:
[Control1]
Type=Textbox
Top=100
Left=100
Height=10
Width=200
DEfaultText="Hello"
[Control2]
Type=Image
Top=300
Left=100
Height=300
Width=300
Picture="logo.bmp"
[Command3]
Type=Button
Top=300
Left=100
Height=300
Width=300
Caption="&OK"
etc.
As a CSV:
Textbox,100,100,10,100,Hello
Image,300,100,300,300,logo.bmp
Button,300,100,300,300,&OK
You need to decide what properties and controls the user is to have
access to. A prototype of the control with an index of 0 must be
included on the form so that more of them can be loaded based on that
and the properties set from the data file.
I don't think you are necessarily going to need a C programmer, it can
all be done in VB.
--
David Sinfield (Surrey, UK)