Visual Studio 2015 Community VB.NET Program Shows Binary

This is a new one for me. Switched recently from 2013 Express to 2015 Community and have a short program I was writting to modify images. I saved the program and exited properly and when I reopened it today all I get is primarily 2 bytes so a bunch of zeros. Can anyone explain to me what I'm looking at and if there is a fix or if the program didn't save correctly and is corrupted? I get the row of mainly zeros when I click on Form1.vb. Thanks for any help, I've attached a picture of the issue.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Missing attachment...

ProgrammingIsFunAuthor Commented:
Thanks, ya I was watching to see if it would appear. Don't know where it went. Let see if it works this time.
David Johnson, CD, MVPOwnerCommented:
open it in notepad and see what you see.. it should be text
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

ProgrammingIsFunAuthor Commented:
I opened Form1.vb in notepad, if thats what you meant, and no text showed.

Form1.Designer.vb showed the following:

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
    Inherits System.Windows.Forms.Form

    'Form overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
            If disposing AndAlso components IsNot Nothing Then
            End If
        End Try
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.Label1 = New System.Windows.Forms.Label()
        Me.PosturizePicButton = New System.Windows.Forms.Button()
        Me.lblFilePath = New System.Windows.Forms.Label()
        Me.PictureBox1 = New System.Windows.Forms.PictureBox()
        Me.LoadPicButton = New System.Windows.Forms.Button()
        Me.OpenFileDialog1 = New System.Windows.Forms.OpenFileDialog()
        CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.Label1.AutoSize = True
        Me.Label1.Font = New System.Drawing.Font("Snap ITC", 36.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label1.Location = New System.Drawing.Point(351, 27)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(445, 63)
        Me.Label1.TabIndex = 3
        Me.Label1.Text = "DA PIC DADDY"
        Me.Label1.UseMnemonic = False
        Me.PosturizePicButton.Location = New System.Drawing.Point(24, 180)
        Me.PosturizePicButton.Name = "PosturizePicButton"
        Me.PosturizePicButton.Size = New System.Drawing.Size(105, 23)
        Me.PosturizePicButton.TabIndex = 32
        Me.PosturizePicButton.Text = "Posterize Picture"
        Me.PosturizePicButton.UseVisualStyleBackColor = True
        Me.lblFilePath.AutoSize = True
        Me.lblFilePath.Location = New System.Drawing.Point(176, 84)
        Me.lblFilePath.Name = "lblFilePath"
        Me.lblFilePath.Size = New System.Drawing.Size(0, 13)
        Me.lblFilePath.TabIndex = 31
        Me.PictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom
        Me.PictureBox1.Location = New System.Drawing.Point(162, 114)
        Me.PictureBox1.Name = "PictureBox1"
        Me.PictureBox1.Size = New System.Drawing.Size(862, 611)
        Me.PictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage
        Me.PictureBox1.TabIndex = 30
        Me.PictureBox1.TabStop = False
        Me.LoadPicButton.Location = New System.Drawing.Point(24, 128)
        Me.LoadPicButton.Name = "LoadPicButton"
        Me.LoadPicButton.Size = New System.Drawing.Size(105, 23)
        Me.LoadPicButton.TabIndex = 29
        Me.LoadPicButton.Text = "Load Picture"
        Me.LoadPicButton.UseVisualStyleBackColor = True
        Me.OpenFileDialog1.FileName = "OpenFileDialog1"
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(1053, 737)
        Me.Name = "Form1"
        Me.Text = "Form1"
        CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()

    End Sub

    Friend WithEvents Label1 As Label
    Friend WithEvents PosturizePicButton As Button
    Friend WithEvents lblFilePath As Label
    Friend WithEvents PictureBox1 As PictureBox
    Friend WithEvents LoadPicButton As Button
    Friend WithEvents OpenFileDialog1 As OpenFileDialog
End Class
Fernando SotoRetiredCommented:
Hi ProgrammingIsFun;

If you opened the Form1.vb in notepad editor and saw nothing then I would say that somehow that file got stepped on and no longer seems to be valid. Have you been backing up your project and have a recent backup of the file Form1.vb. If so copy that backup to the current project replacing the old Form1.vb. If you do not have a backup about the only thing you can do is to create a empty file called Form1.vb save it and replace the one in the project. You can create the empty file with notepad. Of course this also means that you will need to re-create that code that was in that file. You will not need to re-create the controls on that Form1 because all that is in the  Form1.Designer.vb file.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ProgrammingIsFunAuthor Commented:
Thanks for the feedback I agree that the file must no longer be valid. The program was new and i didn't have a backup because it was less than a few hours old but wasn't too hard to recreate. I was mainly worried that this will happen again so I wanted to know if it was a file corruption. Thanks for everyone's help.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.