I changed the build type to internet application to see what its like, gave me a .ccn file? tried opening it with a web browser and that dosnt work. so what do i do with this ".ccn" file?
I changed the build type to internet application to see what its like, gave me a .ccn file? tried opening it with a web browser and that dosnt work. so what do i do with this ".ccn" file?



Internet applicationzs are file that can be run with the Viliatize plugin, a plugin made by Clickteam. It is a little out of date now that the Flash plugin is out (people are reductant to install an unknow plgin on their machines). So I suggest you look at Flash...
very interestng. the main project im working on now consists of more than one application. when i build everything all the other applications become an .EXE however i only want it so that only one the "main" application becomes an exe, and all the other applications just "support" the main one. i dont want users to be able to execute the other supporting applications. just the main one. is there anyway to achive this using the build type?
Yeah, that is the other purpose of the Internet Application *.ccn. This type of program can be run externally from another MMF2 made program through a sub-app.
So yes, change all of your Supporting programs to the Internet application format. Then they should all build in that format, and be usable by MMF2, but won't open when clicked on.
For some added faux-security, you can then rename the files to something more inconspicuous. For example, I use this one all the time: Change a file such as "Control Setup Screen.ccn" to something like "ctrl_dat.bin". Its a simple way to make a file look more important than it is, and the cryptic name scheme will scare off most novice users or beginner hackers from trying to mess with it.
Just make sure that if you rename your files like this, that your Main application is looking for a *.bin (or *.dat or which ever you choose), and not *.ccn. Changing the extension name won't re-write the file, so its format should still be readable by your Main application.
Of course, you could just leave it as *.ccn too. The only way it will open when clicked on is if the user has Vitalize installed on their machine. Which as you can see by the posts above, most MMF users don't even have Vitalize installed, yet alone someone who doesn't even use MMF.
If you want to stop someone opening a cnn from outside of the program, when you open it in your program, use the following action:
Execute an external program > With a fixed pathname
Make it so that the "Command Line" is set to something unique.
Then in the program that you're opening, use the compare two general values condition, and then compare:
CommandLine$ <> "[command line code as set above]"
Then end the application if that is true. It means that if the command line that was executed when the application was run is different to the unique code, then the application will end.
great, i was wondering about that........thanks all, exactly what i needed.