MFC Program Help

Posted on 2004-04-29
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
Question by:Geoffism
  • 2
  • 2
  • 2

Assisted Solution

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.

Accepted Solution

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

Author Comment

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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!


Expert Comment

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).

Expert Comment

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:// image name goes here.jpg">

Author Comment

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

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

23 Experts available now in Live!

Get 1:1 Help Now