Can anyone tell me how to auto load data content from a file (primarily containing rtf)
when the file is opened. I want to create a system like Microsoft word where you create
docx/doc files and double clicking them opens word software and loads the files.

I know file associations so just help me with the auto load context

Recommended Answers

You should check for command line parameters passed to your program.
Read here for an example on cmd line params:

Jump to Post

All 3 Replies

You associate the file type with your program and your program has to check for command line parameters on load. If the command line param is there then you load the file specified by the param.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.