Recent

Author Topic: TFileAssociation component  (Read 5221 times)

lainz

  • Guest
TFileAssociation component
« on: February 15, 2013, 11:42:13 pm »
TFileAssociation component

Wiki: http://wiki.lazarus.freepascal.org/FileAssociation

With this component you can easily register file associations for all Windows versions. This includes Windows Vista/7/8 Default Programs feature.

Test program 'Lazarus File Association'. This is for all the people using Lazarus SVN  ;)
http://sourceforge.net/projects/lainz007/files/FileAssoc/lazfileassoc_win32.7z/download

See attached screenshot.

Download package:
http://sourceforge.net/projects/lainz007/files/FileAssoc/fileassoc_package.7z/download

Installation:
- Install like anypackage. The component is under the "System" tab.

PD: you can install it or just use the FileAssociation.pas file.

Usage:
- See the 'test' folder.
« Last Edit: February 16, 2013, 07:18:18 pm by lainz »

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2660
    • My Lazarus wiki user page
Re: TFileAssociation component
« Reply #1 on: February 16, 2013, 09:02:50 am »
Please read this wiki page and create a page for the component, if you didn't do it yet. That is all you have to do for adding to Lazarus-CCR. If you wish I can upload it the SF site of Lazarus-CCR too.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: TFileAssociation component
« Reply #2 on: February 16, 2013, 09:08:43 am »
Great, Lainz, thanks a lot!
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

lainz

  • Guest
Re: TFileAssociation component
« Reply #3 on: February 16, 2013, 07:03:47 pm »
Please read this wiki page and create a page for the component, if you didn't do it yet. That is all you have to do for adding to Lazarus-CCR. If you wish I can upload it the SF site of Lazarus-CCR too.
Ok I'll create the page.
Edit: here it is http://wiki.lazarus.freepascal.org/FileAssociation

Great, Lainz, thanks a lot!

Hope you like it =)
« Last Edit: February 16, 2013, 07:21:02 pm by lainz »

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: TFileAssociation component
« Reply #4 on: February 17, 2013, 09:45:33 am »
@Lainz: I fixed some typos etc on the page.

I noticed this:
Quote
LGPL (The same as Lazarus).
Are you sure you don't want to change that to:
Quote
Modified LGPL (The same as Lazarus).
?
LCL=Modified LGPL
IDE=GPL

Thanks,
BigChimp
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

lainz

  • Guest
Re: TFileAssociation component
« Reply #5 on: February 17, 2013, 12:59:49 pm »
Thanks. Ok i've changed it to Modified LGPL.

lainz

  • Hero Member
  • *****
  • Posts: 3139
    • Lainz
Re: TFileAssociation component
« Reply #6 on: April 04, 2014, 07:51:05 pm »
Hi, I've updated TFileAssociation, now it consumes less memory and it has few options. It's all OOP now.

http://wiki.lazarus.freepascal.org/FileAssociation

Also I've tested it better and you need to compile both 32 and 64 bit executable depending on windows version.

LovelyA72

  • Newbie
  • Posts: 2
  • 私はとても好きですPascal!
Re: TFileAssociation component
« Reply #7 on: January 10, 2019, 08:36:29 am »
The lazfileassoc_win32.7z file no longer exists. Can you please re-upload it or include it as an example in the package?

Thank you!

GetMem

  • Hero Member
  • *****
  • Posts: 3470
Re: TFileAssociation component
« Reply #8 on: January 10, 2019, 08:39:06 am »
@LovelyA72
You can find it in OPM.

LovelyA72

  • Newbie
  • Posts: 2
  • 私はとても好きですPascal!
Re: TFileAssociation component
« Reply #9 on: January 10, 2019, 08:44:29 am »
@LovelyA72
You can find it in OPM.

I already installed it from OPM. But there's no example project included.

Maybe I'll just build a new program to test it... Thank you for your reply!

GetMem

  • Hero Member
  • *****
  • Posts: 3470
Re: TFileAssociation component
« Reply #10 on: January 10, 2019, 08:52:42 am »
Maybe the example at the following page helps: http://wiki.lazarus.freepascal.org/FileAssociation