Consulting

Results 1 to 2 of 2

Thread: how to read properties files

  1. #1
    VBAX Newbie
    Joined
    May 2009
    Posts
    1
    Location

    how to read properties files

    Hi, I'm new to Word VBA and was wondering how to read properties files containing key-value pairs such as:

    reports.loc=\docs\reports
    results.loc=\docs\results
    username=testuser
    ...
    etc.

    Thanks.

  2. #2
    VBAX Wizard
    Joined
    May 2004
    Posts
    6,713
    Location
    I do not understand the question.

    username could mean either the Word username; or it could mean the systen login username (which of course could be different. Which do you want?

    What do you mean by "properties files"?

    What "key-value pairs" are you talking about?

    What does "reports.loc=\docs\reports" refer to? It looks like some reference to a Path location...but what file? What is the relation of "reports.loc" to the current (active) Word document? What is a .loc file anyway?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •