Is there a simple way to open a file by its associated program in windows? (like double clicking it in windows explorer but done automatically with my code)
For exam
According to the MS Knowledge Base, ShellExecute should work (we do this in Delphi all the time):
ShellExecute(Handle, "Open", Filename, "", "C:\", SW_SHOWNORMAL)