Jump to content
Tuts 4 You

NetBox - the secret beyond!


Recommended Posts

1. First build the program!
The most important code is this:
        Process process = new Process();
        process.StartInfo.FileName = FileName;
        process.StartInfo.WorkingDirectory = Path.GetDirectoryName(FileName);
        process.StartInfo.UseShellExecute = true;
It is very important to set UseShellExecute to true else won't work!
And finaly the code which start the process:
        public List<Process> processes;
        void RunSelectedToolStripMenuItemClick(object sender, EventArgs e)
        if (assemblieslist.Items.Count>0&&assemblieslist.SelectedIndices.Count!=0)
        if (File.Exists(processes[assemblieslist.SelectedIndices[0]].StartInfo.FileName))
        }2. The final step is to virtualize our program
For this we use XenoCode Postbuild - the recent version
is called Spoon Studio.
This program will virtualize our program: registry and files.
Basically you should take a snapshoot before and after installing
.NET Framework.

Source code:



  • Like 2
Link to comment
  • 5 months later...

Source code of NetBox35SP1 and NetBox40 attached!


I hope is this what you want!

I could also update the NetBox35SP1 and NetBox40 made package exe! If you want!


Edited by CodeCracker
  • Like 9
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...