Help!!

This is a discussion on Help!! within the Tech Board forums, part of the Community Boards category; I need a little advice and help I have a very small program that was written for me by a ...

  1. #1
    Registered User
    Join Date
    Apr 2014
    Posts
    2

    Help!!

    I need a little advice and help
    I have a very small program that was written for me by a friend, and he no longer does programing, it was written in C or C++ and compiled with Make C to run in a DOS environment, and I could print 3X5" note card size reports!! I use it in my Ammunition Reloading hobby and it is Very handy. I now have to run the program in a DOS Shell and can't print my reports,, I would like to be able to run it from Windows 7 and Print my 3x5" note card reports.
    Are my wants possible?? feasible?? since I have NO programing experience or know how,, any help would be appreciated
    David
    Last edited by holeysocks; 04-19-2014 at 07:23 PM.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,443
    For future reference "Help!! is not a thread title

    Short term fix
    There is a program called DosBox which allows you to run legacy 16-bit DOS programs on a whole range of modern platforms.
    However, printing is an issue, so you need to do some more digging.
    https://www.google.co.uk/search?q=dosbox+printing

    Long term fix
    Post your requirements (perhaps offer to hand over a copy of the source code) on a job / project forum.
    This is ours -> Projects and Job Recruitment
    There are many "post work for a fee" sites, such as https://www.odesk.com/. You list your requirements, and what you're willing to pay, and then see who bids on the job.

    Alternative solution
    Create a version of your 3x5 card as a template in your favourite office application (MS-Office, or either of https://www.openoffice.org/ or https://www.libreoffice.org/)
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Apr 2014
    Posts
    2
    Thanks Salem!! I run it in DosBox now, and it gets me by, but like you said printing is an issue, I lost the source code, or I would be happy to share,, this program, if I remember right was only about 50 lines of code, very small.. maybe less. Would it be possible to decompile it??
    Last edited by holeysocks; 04-20-2014 at 08:43 AM.

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,443
    It seems to me that if it were only 50 lines, then it's not going to be doing much more than drawing a pretty outline using these characters.
    Box-drawing character - Wikipedia, the free encyclopedia

    IMO, creating a table of x rows and y columns in your office application, then use "merge cells" and "format border" to generate the outline of the 3x5 card you require.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21