N
Neville Lang
Hi all,
During installation of my PPC app (C#), I install a custom font file (TTF)
into the \Windows\Fonts directory on the PPC. This is achieved in the .INF
file by specifying its location as %CE15%, a macro string.
However, in my C# code, I hard-code this path in one of my global strings,
as follows:
public static string strFontPath = @"\Windows\Fonts\";
I have now found that international versions of Windows do not use the
English name "Fonts" as a folder name. Are there macro-like strings in C#
that I can use to access the specific Font folder without the need to
hard-code it? Or is there a more "international" standard of accessing these
folders without knowing the local language?
In fact, this question will apply to all sub-folders under \Windows. I
understand that the word "Windows" is used as a folder for all languages but
I am not 100% sure of this.
Regards,
Neville Lang
During installation of my PPC app (C#), I install a custom font file (TTF)
into the \Windows\Fonts directory on the PPC. This is achieved in the .INF
file by specifying its location as %CE15%, a macro string.
However, in my C# code, I hard-code this path in one of my global strings,
as follows:
public static string strFontPath = @"\Windows\Fonts\";
I have now found that international versions of Windows do not use the
English name "Fonts" as a folder name. Are there macro-like strings in C#
that I can use to access the specific Font folder without the need to
hard-code it? Or is there a more "international" standard of accessing these
folders without knowing the local language?
In fact, this question will apply to all sub-folders under \Windows. I
understand that the word "Windows" is used as a folder for all languages but
I am not 100% sure of this.
Regards,
Neville Lang