Solved

MFC Program Help

Posted on 2004-04-29
6
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need to retreive data from .TFS file exported by DVR 8 244
Prevent this page from creating additional dialogs. 3 717
canBalance challenge 34 104
I could not set window to top 4 42
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 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