Hey,
I am using .net Framework 3.0 at home, and my program works successfully, no problems to launch.
However at my school where they are using .net Framework 2.0 it fails to launch
Here is a screenshot:
Here is my Program.cs
using System;
using System.Collections.Generic;
using System.Windows.Forms;namespace FilmScript
{
static class Program
{
public static Form1 form = null;
public static newProject newProj = null;public static String ProjectTitle = String.Empty;
public static String ProjectAlreadyLoaded = "NO";
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);form = new Form1();
newProj = new newProject();
Application.Run(form);
}
}
}
I do not know why this is happening, as I have no code that could trigger a system exception, I use System.IO and XML read and saving, but do not know if that is also causing the error.
If you believe this might be the cause I will be happen to share that code with you.
Many Thanks
Andrew Swallow