What I want to do is create a HTML form that allows the user to enter data
into about 10 fields, and then based on the entered data, writes out data
strings to a text file. I am attempting to create a form for entering
simple rectangle CAD data via a HTML form, which will be written to a text
file, and then imported into a CAD program.
The form would contain prompt boxes for things like length, width, radius
size, step/repeat, etc. When the user hits the "SUBMIT" button, the data
strings would be written out to the filename the user specified. Below is
an example of data strings to be ouputted. Variables are &L, &W, &R,
&STEPX, &STEPY, &XN, &YN.
FRO 0 0 BY &L 0 ATT 1 POI 2
BY 0 &W ATT 1 POI 2
BY -&L,0 ATT 1 POI 2
TO 0 0 POI 2
JOI EXT 1 2 BLE &R
JOI EXT 2 3 BLE &R
JOI EXT 3 4 BLE &R
JOI EXT 4 1 BLE &R
TRY;SEC LAYOUT;REC;LAYOUT;YRT
SUB A POS 0 0 ATT 0;FILE A INT
MER A TO A
TRY;COP 1 BY &STEPX 0 TIM &XN-1;REC;YRT
TRY;COP .. BY 0 &STEPY TIM &YN-1;REC;YRT
--------------------------------------------------------
Any help on a source of example code would be appreciated. 3 1616
Ron Smith wrote: What I want to do is create a HTML form that allows the user to enter data into about 10 fields, and then based on the entered data, writes out data strings to a text file. I am attempting to create a form for entering simple rectangle CAD data via a HTML form, which will be written to a text file, and then imported into a CAD program.
<snip> Any help on a source of example code would be appreciated.
The answer depends on context information missing from your post. In a
web page loaded from a remote server over HTTP normal security
provisions prevent any client-side script form accessing the client's
local file system. Other contexts introduce possibilities, for example,
a WSH running locally on a Windows box could employ Internet explorer to
provide an interface form defined as HTML and manipulate entered data,
saving it to the local file system.
Richard.
"Richard Cornford" <Ri*****@litotes.demon.co.uk> wrote in message
news:cf*******************@news.demon.co.uk... Ron Smith wrote: What I want to do is create a HTML form that allows the user to enter data into about 10 fields, and then based on the entered data, writes out data strings to a text file. I am attempting to create a form for entering simple rectangle CAD data via a HTML form, which will be written to a text file, and then imported into a CAD program. <snip> Any help on a source of example code would be appreciated.
The answer depends on context information missing from your post. In a web page loaded from a remote server over HTTP normal security provisions prevent any client-side script form accessing the client's local file system. Other contexts introduce possibilities, for example, a WSH running locally on a Windows box could employ Internet explorer to provide an interface form defined as HTML and manipulate entered data, saving it to the local file system.
Richard.
In the beginning, it would be soley running on an intranet within our
company. I am not sure if this is what you are referring to. I am also
unaware of what WSH is, but will do a search for it.
"Ron Smith" <rs****@qwest.net> wrote in message
news:2n************@uni-berlin.de... "Richard Cornford" <Ri*****@litotes.demon.co.uk> wrote in message news:cf*******************@news.demon.co.uk... Ron Smith wrote: What I want to do is create a HTML form that allows the user to enter data into about 10 fields, and then based on the entered data, writes out data strings to a text file. I am attempting to create a form for entering simple rectangle CAD data via a HTML form, which will be written to a text file, and then imported into a CAD program. <snip> Any help on a source of example code would be appreciated.
The answer depends on context information missing from your post. In a web page loaded from a remote server over HTTP normal security provisions prevent any client-side script form accessing the client's local file system. Other contexts introduce possibilities, for example, a WSH running locally on a Windows box could employ Internet explorer to provide an interface form defined as HTML and manipulate entered data, saving it to the local file system.
Richard.
In the beginning, it would be soley running on an intranet within our company. I am not sure if this is what you are referring to. I am also unaware of what WSH is, but will do a search for it.
Well if it's an intranet, then you can use HTA which is absent Explorers
security considerations. http://msdn.microsoft.com/workshop/a...asp?frame=true This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Robby Bankston |
last post by:
I'm working on some code and am running into brick walls. I'm trying
to write out Javascript with Javascript and I've read the clj Meta FAQ
and didn't see the answer, read many similar posts (with...
|
by: Xah Lee |
last post by:
Jargons of Info Tech industry
(A Love of Jargons)
Xah Lee, 2002 Feb
People in the computing field like to spur the use of spurious jargons.
The less educated they are, the more they like...
|
by: Yunus's Group |
last post by:
Yunus's Group May 23, 3:36 pm show options
Newsgroups: microsoft.public.dotnet.languages.vb
From: "Yunus's Group" <yunusasm...@gmail.com> - Find messages by this
author
Date: 23 May 2005...
|
by: Cerebral Believer |
last post by:
Hi all,
I am a newbie to JavaScript and am just trying to get a script going that
will write the ful date and time to each webpage as it is viewed. Can
anyone point out what mistakes there are...
|
by: Yashesh Bhatia |
last post by:
Hello:
I'm stuck with a small problem using windows created using
javascript.
Here's the code of the html file.
...
|
by: Erwin Moller |
last post by:
Hi,
Can anybody comment on this?
In comp.lang.php I advised somebody to skip using:
<script language="javascript">
and use:
<script type="text/javascript">
And mr. Dunlop gave this response:
|
by: NYXX |
last post by:
I wanna know how its possible to clone this website. www.writesomething.net
I just want the actual programming code and files. I'm going to ceate a fully interactive website for users to input...
|
by: Fuji |
last post by:
Dear Sir,
Why this code can't be ran in my Internet Explorer?
Am I doing wrong in using ActiveXObjectScripting.FileSystemObject")?
<html>
<head><title>Reading/Writing Text File in...
|
by: fulio pen |
last post by:
Hello:
I failed to display a Chinese character with javascript code in
following svg page:
http://www.pinyinology.com/test/hanzi2.svg
I guess that something is missing or wrong in the...
|
by: L. Ximenes |
last post by:
Greetings,
I've recently been struggling with the idea of writing an XML document
based on user-submitted content using javascript.
Using various instances of document.write on a newly opened...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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,...
| |