You don't "open" MDF files like you would a text file or Word document. It's a database, you connect to it. Either in your app or in Visual Studio or Enterprise Explorer/SQL Manager.
Jeff
Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.