So, if you check the PS3 Forums you may see that I made a mod menu named Project FaZe. That mod menu also has a custom program. The problem is that I made the custom program in such a way that it contains the actual mod menu inside the Resources and I would like to make a way to add any mod menu file to Resources using OpenFileDialog1. Easy just throw some code together and... error. Can any of you talented people help me find the error?
Code:
private void materialFlatButton4_Click_1(object sender, EventArgs e)
{
openFileDialog1.Title = "Open GSC File";
openFileDialog1.Filter = "GSC|*.gsc";
string fileName = "_development_dvars.gsc";
fileName = openFileDialog1.FileName;
openFileDialog1.FileName = "";
openFileDialog1.InitialDirectory = System.Environment.GetFolderPath(Environment.SpecialFolder.Personal);
openFileDialog1.ShowDialog();
openFileDialog1.FileName = Project_FaZe_Injector.Properties.Resources._development_dvars;
}