title: How to allow all user to see an uploaded image VB.NET winforms
body: <p>I am making a social media app for my family. I have added: logins, comments, likes etc, but the only images a user can see are the ones they posted. How do I make it that all the users can see all the posts. Thanks, Bye </p>
  
  <pre class="lang-vb prettyprint-override"><code>Public Class Form2
  
      Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
          If OpenFileDialog1.ShowDialog &lt;&gt; Windows.Forms.DialogResult.Cancel Then
              PictureBox1.Image = Image.FromFile(OpenFileDialog1.FileName)
          End If
      End Sub
  
      Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
          Form1.PictureBox1.Image = Image.FromFile(OpenFileDialog1.FileName)
          Me.Visible = False
          Me.Enabled = False
          Form1.PictureBox1.Visible = True
      End Sub
  End Class
  </code></pre>
  
  <p>So it just uploads the picture to the form1.picturebox, so how do I save it and upload it?</p>