It is required to generate a HTML page given a list of the following:
1. field Name
2. Field type
If the field is a checkbox, additional field attributes are:
a. Field Checked (TRUE/FALSE)
b. Read-only (TRUE/FALSE)
If the field is a TEXTBOX, additional field attributes are:
a. Field width
b. Max width
c. Read-only (TRUE/FALSE)
If the field is a Text paragraph, additional field attributes are:
a. Size
b. Bold
c. Italics
The data is to be stored in an array of structure or array of union or
list.
You are expected to do the following:
A. Design the structure or union or list element
B. Design and populate the required array.
C. Write an inteligent HTML code generator that is modular
and can iterate over the array from (B) above and output
to a HTML file. The HTML page will be a FORM and have a
"OK" and a "CANCEL" button. You can have a hard coded
output file name.
As usual, The code should be modular. I expect that it should be easy
to add
new field types to the above list of three.
2 1112
It is required to generate a HTML page given a list of the following:
1. field Name
2. Field type
If the field is a checkbox, additional field attributes are:
a. Field Checked (TRUE/FALSE)
b. Read-only (TRUE/FALSE)
If the field is a TEXTBOX, additional field attributes are:
a. Field width
b. Max width
c. Read-only (TRUE/FALSE)
If the field is a Text paragraph, additional field attributes are:
a. Size
b. Bold
c. Italics
The data is to be stored in an array of structure or array of union or
list.
You are expected to do the following:
A. Design the structure or union or list element
B. Design and populate the required array.
C. Write an inteligent HTML code generator that is modular
and can iterate over the array from (B) above and output
to a HTML file. The HTML page will be a FORM and have a
"OK" and a "CANCEL" button. You can have a hard coded
output file name.
As usual, The code should be modular. I expect that it should be easy
to add
new field types to the above list of three.
hi there,
i think you should post your questions on the HTML forum.....
regards,
hi there,
i think you should post your questions on the HTML forum.....
regards,
the code for the HTML generator can be written in any language i e C or C++ or JAVA ETC
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Roy Riddex |
last post by:
I'm trying to apply the XP look to a small VB6 program by using info from:
http://www.vbaccelerator.com/home/VB/Code/Libraries/XP_Visual_Styles/Using_XP_Visual_Styles_in_VB/article.asp
I've created the manifest file and located it in the same folder as the exe
of my program but it wont work. Can someone please look at the code from
this link which I pasted into the genaral section of my code. Is this the
correct area to paste the code?...
|
by: Mike Chirico |
last post by:
Interesting Things to Know about MySQL
Mike Chirico (mchirico@users.sourceforge.net)
Copyright (GPU Free Documentation License) 2004
Last Updated: Mon Jun 7 10:37:28 EDT 2004
The latest version of this document can be found at:
http://prdownloads.sourceforge.net/souptonuts/README_mysql.txt?download
|
by: Randell D. |
last post by:
Folks,
I'm sure this can be done legally, and not thru tricks of the trade - I
hope someone can help.
I'm writing a 'tool' (a function) which can be used generically in any
of my projects. When it completes, it can call a success, or a failure
function. The names of these success, or failure functions will differ,
and I'd like to know how I can pass the name of a function to my tool,
and how my tool can call the function, using that...
|
by: Jozef |
last post by:
Hello,
I have forms in my database that use grey as the back color. When I convert
them to XP, They all look goofy. The grey becomes two tone. The grey used
in the controls are dark, the grey used in the form detail is light, almost
white. I can change the back color on the forms to match the controls, but
on controls like tabs etc, it still looks goofy (since I can't change the
backcolor on a tab control or button etc.).
Is there...
|
by: Nick |
last post by:
Hi,
I am wondering what people do to achieve a consistent look and feel for
their websites? Does anybody here do anything similar to the Composite View
design pattern, where a view renderer effectively reads a configuration and
builds up the HTML by choosing particular views based on state and other
factors? I am working on an ecommerce site, and there are quite a few
different screens. In the vanilla fashion, the HTML in the aspx forms...
| |
by: K. Naga Kiran Kumar |
last post by:
I am working on a VB.NET project
The main requirement of this project is to get XP look and
feel to the application.
All controls should look like XP controls.
The form control also.
I am able to get this XP style to all controls except Form
control.
I want this form contol also look like XP form.
If we run the application in win2000, then also it should
|
by: clintonG |
last post by:
Every single time neophytes or converts ask about naming and style
conventions what are they told by the majority consensus? The answer is "do
what you prefer but do so consistently" right? Yes, that's right, that's
exactly what is said. People joining a team of developers are also
encouraged to cooperate with their peers and adopt what has already been
established right? Yes, that's exactly what is encouraged.
Teamwork and cooperation...
|
by: intrader |
last post by:
The regular expression is /(?!((00000)|(11111)))/ in oRe. That is
oRE=/(?!((00000)|(11111)))/
The test strings are 92708, 00000, 11111 in checkStr
The expression used is checkStr.search(oRE). The values returned are
are 0,1,1 - the values should be 0,-1,-1.
The positive lookahead expressiono RE=/(?=((00000)|(11111)))/ returns
-1, 0, 0 respectively - this is correct
|
by: Dave |
last post by:
Hello All,
These one may be a bit tricky, and what I'd like to do may not even be
possible. I would love to hear any ideas you guys have for solving
this.
Here is the situation: I have a form that displays the high-level data
for a set of records in continuous forms mode. I have a simple command
button that will open another form with the details of the selected
record.
|
by: lorlarz |
last post by:
Here, let's see what you JavaScript programmers have got
Here is a place to share your large or larger full-blown JavaScript
applications:
real.comp.lang.js.apps (a new google group)
Here is the description of this open public newsgroup:
A place where good full-length, full-featured, pure (or near-pure)
JavaScript large and larger applications are described and their code
shared and explained. The language used for browser programs...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |