Solved

MFC Program Help

Posted on 2004-04-29
6
197 Views
Last Modified: 2013-11-20
  Does anyone know how i can create a program in MFC that will take a collection of image names and instert those names in a certain part of a text file and will save a file for each one of those images into .tplt files
0
Comment
Question by:Geoffism
  • 2
  • 2
  • 2
6 Comments
 
LVL 4

Assisted Solution

by:r2far
r2far earned 20 total points
ID: 10959341
Do you have Any more specific questions?  

Dialog/SDI/MDI?  How do you collect the image names?  Is all this app does is what you list, or does this fit into a larger app?  what is the content of the files being saved?

These facts are designed to help people with specific problems, it seems that you are asking for an entire app.  If you are new to MFC and unable to create and manage an application project, then let me know and I would be happy to get you started.  But this is a lot to ask for the points offered.
0
 

Accepted Solution

by:
geoffism00 earned 105 total points
ID: 11001132
yes i do need help getting started i will give u as many points as you want as long as it is a resonable amount.

i would perfer it to be in sdi or mdi im not sure how i would collect image names and it does what i list
0
 

Author Comment

by:Geoffism
ID: 11001216
yes i do need help getting started i will give u as many points as you want as long as it is a resonable amount.

i would perfer it to be in sdi or mdi im not sure how i would collect image names and it does what i list
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 4

Expert Comment

by:r2far
ID: 11001240
- They make entire courses for these kinds of questions, but I'll try to get you started.

First of all... any help i give is based on VS6.  Dialog is the easiest to start out with... but SDI is the next best, so try creating an SDI project with all options set to defaults.

Before you go to far, you really need to plan what you want (or if you have already, at least explain it to me)
- Will the user input the image names, or is the program to automatically find them?
- What is the overall purpose of the application?  is it just handling the names of the images, or the actual content of them?
- what will the '.tplt' files contain?  and please realize that extensions are to be 3 characters long exactly... (eg, '.tpt')
- what is the text file in which the image names are placed?  and where is 'certain parts' of the text file?


>> and it does what i list
what do you mean by this?



Realize that each app type has it's purpose, SDI's are used to display more complicated information that dialogs would have difficulties displaying.  If the displayed information is not to complicated for a dialog, you may wanna try starting with them first (but I have no idea where your knowledge base of programming in general or MFC stands).
0
 

Expert Comment

by:geoffism00
ID: 11001450
the program will automatically find the images

the program will take the image name and place it in a specific spot in html code then the file with the image name and html code in it will be saved as a name the user types in with the .tplt file extension

the .tplt files contain html code with the chosen image name in it

This is the line of Html code that has the image name in it
 
<table width=100% BACKGROUND="HTTP://pics.Greg.com/FORAIE/GRAPH/background/The image name goes here.jpg">
0
 

Author Comment

by:Geoffism
ID: 11001604
my name is also geoffism00

and i ment to give r2far 120 pnts not 20 but i screwed up i will still give u 125 pnts...sorry
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Perl Awk Need Help 3 109
haveThree challenge 22 114
pre4 challenge 19 94
My project did see openJDK that I installed. What could be the problem 7 124
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now