News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

open file

Started by 03.jose, June 03, 2012, 02:30:00 PM

Previous topic - Next topic

03.jose

hello
I need to do a program in masm32 I open files with extention txt and let me copy their contents if the file is too long I put a scroll bar, so as does the acrobat with pdf (for example)

another question, using the theme, any know how to run an exe file from masm32?, I do not want to open it in binary

dedndave

that's a lot to swallow for a new asm programmer   :P
opening the file and reading it is pretty easy
starting another program is pretty easy, too
displaying the text in a scroll window takes a little work

i suggest you start by installing the masm32 package
read the install page, first, though...
http://masm32.com/installation.htm
http://masm32.com/masmdl.htm

once you have it installed, there are many examples in the \masm32\examples folder

Vortex

Quote from: 03.jose on June 03, 2012, 02:30:00 PM
another question, using the theme, any know how to run an exe file from masm32?, I do not want to open it in binary

Hi Jose,

Welcome to the forum.

Could you be a little more specific?

hutch--

Jose,

I get the idea that you do not have a background in low level programming and sad to say writing Windows applications in MASM is not entry level stuff but reasonably advance programming by people who already have experience in writing Windows software. To give you some chance of succeeding it would be better for you to learn a simpler language format with a compiler than to try and learn MASM as your first language.

If you need it later you can always return to it but at the moment you would not succeed as you don't know enough about writing ow level Windows code.

dedndave

well - he may have prior experience - hard to say from his post
Iczelion's tutorials will get him through a scrolling text window
probably cover everything else he wants to do, too
but - there are something like 30 tutorials

if he understands bits and bytes, memory and registers, he can get there with some effort

03.jose

thanks for your answers, yes i can read/open the file txt but not can select the text in that file to the copy.

@hutch-- is true i don't have a background in low level programming, but I am a student and my teacher asked me in MASM32

@dedndave yes i have seen Iczelion's tutorials in which I have relied for my homework and i will review the examples of the program