Recent

Author Topic: I under stand running an external program but...........  (Read 4081 times)

captian jaster

  • Guest
I under stand running an external program but...........
« on: May 19, 2010, 04:50:36 pm »
I want it to do something like this:
Basically when the user selects to open a .txt  file
i want to execute note pad but i want to load the txt file in note pad. how can this be done?

Troodon

  • Sr. Member
  • ****
  • Posts: 484
Re: I under stand running an external program but...........
« Reply #1 on: May 19, 2010, 05:01:30 pm »
Captian, oh captian... the titles of your postings always have some drama in them. Let's see... How would you open a .txt file manually in notepad? By launching notepad.exe with your file name as an argument. How can you launch notepad in FPC? By launching/executing an external program. But I have a question for you: why do you keep using the NEW TOPIC button of this forum instead of Google search?
« Last Edit: May 19, 2010, 05:03:04 pm by Troodon »
Lazarus/FPC on Linux

captian jaster

  • Guest
Re: I under stand running an external program but...........
« Reply #2 on: May 19, 2010, 05:46:40 pm »
Thnx

 

TinyPortal © 2005-2018