Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

MFC Program Help

Posted on 2004-04-29
6
Medium Priority
?
205 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 80 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 420 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

670 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