I need some help on how to bind an executable file to a .jpg or .avi, etc so that when user clicks on the .jpg it will open and simultaneously run the .exe.
Perhaps possible in the old days of computers but not anymore. A JPG is a JPG. An AVI is an AVI. A JPG isn't executed the way a program is. And if you could bind an exe to a JPG and have it executed everytime that JPG is opened everyone would have 1 million viruses on their computers.
I can do that, but I can't guarantee whether anti-virus programs detect it. If you spend money, I can customize the binding. Most security tools detect those kinds of things. But I can give a shot.
A jpg or avi file gets opened by an exe file, it doesn't open by itself. You'd have to write an exe wrapper around the file, and then it would have an exe extension, not a jpg or avi extension. Since most people have extensions turned off in Explorer, you could name it whatever.jpg.exe, but only computer illiterates would click on a file that shows an extension when they have extensions disabled. (Which means that probably 90% of computer users would fall for your virus.)