Want to open the Visual Basic by Notepad. But can’t..

Hello all,
I am trying to open a text file of Visual Basic. But it doesn't open. I am finding error there. Have you any easy solution that it can easily open just by a click. Please help me with solving.
Thank you.
