473,507 Members | 8,022 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating .txt file

Hello,

I was wondering if it was possible to create simple program that will
create .txt (or .html) files based on information provided via
prompts.

For instance, if I wanted to create a file called 01.20.07.html based
off of a specific date (01 is MM, 20 is DD, 07 is YY) that looked like
this:

<html>
<body>
<table>
<tr><td><img src="http://www.mywebsite.com/01.20.07/1.JPG">
<td><img src="http://www.mywebsite.com/01.20.07/2.JPG">
<td><img src="http://www.mywebsite.com/01.20.07/3.JPG">
</tr>
<tr><td><img src="http://www.mywebsite.com/01.20.07/4.JPG">
<td><img src="http://www.mywebsite.com/01.20.07/5.JPG">
<td><img src="http://www.mywebsite.com/01.20.07/6.JPG">
</tr>
</body>
</html>

I would like to be able to enter the following information when
prompted by the program:

MM
DD
YY
Number of images

If possible, I would like to have the code know how many table rows to
create (in intervals of 3) based on the number of images.

Is this something someone here can assist with?

May 10 '07 #1
3 2072
On May 10, 1:23 pm, jdblackf...@gmail.com wrote:
Hello,

I was wondering if it was possible to create simple program that will
create .txt (or .html) files based on information provided via
prompts.
All of what you describe is possible/not difficult. However, it will
be difficult to get someone in this group to write such an application
for you.

May 10 '07 #2
On May 10, 12:39 pm, faceman28...@yahoo.com wrote:
On May 10, 1:23 pm, jdblackf...@gmail.com wrote:
Hello,
I was wondering if it was possible to create simple program that will
create .txt (or .html) files based on information provided via
prompts.

All of what you describe is possible/not difficult. However, it will
be difficult to get someone in this group to write such an application
for you.
Fair enough. Is there somewhere I can go to get this done? I am not
trying to clutter up the group with requests that aren't supposed to
be here. Any help you can provide with guiding me in the right
direction is appreciated! I have a family website with pics of my kid
(soon to be 2 kids) and need a quick easy way to do pic updates for
family who don't live near me.

Thanks

May 10 '07 #3
On 2007-05-10 19:52, jd*********@gmail.com wrote:
On May 10, 12:39 pm, faceman28...@yahoo.com wrote:
>On May 10, 1:23 pm, jdblackf...@gmail.com wrote:
Hello,
I was wondering if it was possible to create simple program that will
create .txt (or .html) files based on information provided via
prompts.

All of what you describe is possible/not difficult. However, it will
be difficult to get someone in this group to write such an application
for you.

Fair enough. Is there somewhere I can go to get this done? I am not
trying to clutter up the group with requests that aren't supposed to
be here. Any help you can provide with guiding me in the right
direction is appreciated! I have a family website with pics of my kid
(soon to be 2 kids) and need a quick easy way to do pic updates for
family who don't live near me.
There are a number of ways to do that, the simplest is to download that
does this already, they can usually generate thumbnails and such as well.

If you still want to write a program it might be easier using a
scripting language like perl since it's lots of string handling
involved. But if you really want to do it in C++ then read up on strings
and iostreams, you might also have some uses for the following from the
FAQ: http://www.parashift.com/c++-faq-lit...al-issues.html,
the first one on the page.

--
Erik Wikström
May 10 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
7006
by: Jeremy Langworthy | last post by:
Hi I am trying to create a MS Excel format CSV but I can't figure out how to get the line feed/carriage return/new record working properly. I am nding each line/record with these characters:...
1
1859
by: Inpreet | last post by:
Hello I am using: ************************************************************************* header("Content-Type:application/force-download",false); header("Content-Disposition: attachment;...
1
7986
by: dave | last post by:
I first started using HCW.exe to compile .rtf filew created with MS Word a couple of weeks ago. I used the file | new menu then selected New project in the dialog box and everything worked as...
1
1791
by: C-man | last post by:
Basically I have this little program that will look through directories and rename any file it finds. The renaming that takes place is like removing of dashes or Caps the first letter from each...
2
2864
by: George Marsaglia | last post by:
I have a set of, say, 2000 points in the 8-dimensional simplex S={(x_1,x_2,...,x_8),x_1+x_2+...+x_8=1, x's>=0}. To help analyze that 8-dimensional set, I wish to project the set of points onto...
15
6719
by: Carlos Lozano | last post by:
Hi, What is the right way to create an OCX COM component. The component is already registerred, but can't create an instance. I am using the reference to the interop module created. If I use...
1
1972
by: MT | last post by:
We have a .NET dll that we are deploying to our customers using a deployment project in VS .NET 2003. There is a lot of information about creating publisher policies on the web, but we have not...
12
3139
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without...
5
3482
by: Sam777 | last post by:
I was under the impression that creating the app_offline.htm file at the root of the webapp would cause all handles to be closed so that the app could be removed. Unfortunately, this isn't the...
15
2789
by: David Thielen | last post by:
Hi; My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a subdirectory to display as part of the created page. However, the bitmap will not display due to a security violation. ...
0
7220
marktang
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,...
0
7105
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...
1
7023
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7479
tracyyun
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...
0
5617
agi2029
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,...
1
5037
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3188
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...
0
1534
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
410
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.