Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6087853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:55:03+00:00 2026-05-23T11:55:03+00:00

I want to edit some .LAN files with Delphi 7. I can open them

  • 0

I want to edit some .LAN files with Delphi 7. I can open them using notepad. My question is can i do the same using Delphi also? Or is there some in-built functions like TIniFile,TRegistry etc. which has inbuilt functions?

Ideas would be appreciated.
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:55:03+00:00Added an answer on May 23, 2026 at 11:55 am

    If you can open a .LAN file in Notepad (and the content makes sense), it means that a .LAN file is just a plain-text file. And, of course, plain-text files can be easily opened in Delphi. Just open it the way you would open a ‘normal’ .TXT file (using TStringList, for instance). It doesn’t matter that the extension is different, as long as it is a plain-text file.

    Now, I have no idea what a .LAN file contains. It most definitely is not a common file format, so I am pretty sure that the RTL/VCL has no parser for it.

    However, if a .LAN file has the structure of an .INI file, then — of course — you can treat it like an .INI file and use the TIniFile (or the TMemIniFile).

    One word of caution, however. You are using an old version of Delphi. Delphi 7 doesn’t support Unicode in its VCL, so if the .LAN files are Unicode, then you need to apply some trix when reading and writing it.

    (If it is UTF-8 without a BOM, you might lose special characters, but that is it. If there is a BOM, just remove it. If the file is using two bytes per character, it will look strange to you e v e n   i f   i t   d o e s n ‘ t   c o n t a i n   a n y   s p e c i a l   c h a r a c t e r s. In any case, some trix will do it for you.)

    ☂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to learn some JVM language, but there are so many EDIT :
How can i get the LAN IP-address of a computer using Java? I want
It's not really a programming question, but I want to edit some of the
I am using sqlite in my app, i want to edit some data in
I want to copy my NSDictionary's data into plist and also edit some data
I want to display and edit some objects in a WPF data grid and
I have some labels that I want to allow users to edit. Is it
have downloaded Orca to edit an MSI file. I want to remove some banner
I want to edit .vimrc file from Vim and apply them without restarting Vim.
I have a text file that I want to edit using Java. It has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.