Font load for when application first time running….

string FontPath = System.Windows.Forms.Application.StartupPath.ToString(); ////put a file into bin
string Des = Environment.GetFolderPath(Environment.SpecialFolder.Personal);  //get drive Name
string[] f = Des.Split(‘\\’);
string dES = f[0] + “\\WINDOWS\\Fonts\\3OF9.TTF”; //Join with the drive name
if (File.Exists(dES))  //check file already their or nor
// MessageBox.Show(“File Exists”);

File.Copy(FontPath + “\\3OF9.TTF”, dES, true); // copy and paste the specific place


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: