Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. upload a profile picture

upload a profile picture

Scheduled Pinned Locked Moved Visual Studio
javascriptdatabasehelp
6 Posts 5 Posters 6 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nadeem Ali
    wrote on last edited by
    #1

    how can upload profile pic without Sql Connection or other jquery ok help me

    Nadeem King 7865

    A P 2 Replies Last reply
    0
    • N Nadeem Ali

      how can upload profile pic without Sql Connection or other jquery ok help me

      Nadeem King 7865

      A Offline
      A Offline
      Afzaal Ahmad Zeeshan
      wrote on last edited by
      #2

      Simply click the "Upload Photo" button. That does not require SQL Connection or even jQuery. Next time, consider sharing more details, and even before that do yourself a favor: Search for it in the top right corner with the keyword, such as "profile picture and website".

      The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

      J 1 Reply Last reply
      0
      • A Afzaal Ahmad Zeeshan

        Simply click the "Upload Photo" button. That does not require SQL Connection or even jQuery. Next time, consider sharing more details, and even before that do yourself a favor: Search for it in the top right corner with the keyword, such as "profile picture and website".

        The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

        J Offline
        J Offline
        JasonB5963
        wrote on last edited by
        #3

        Not sure if this helps. Here is a quick, down and dirty way. You can play around with it to get want you want and act how you want.

        Public Class Form1

        Private Sub Form1\_Load(sender As Object, e As EventArgs) Handles MyBase.Load
            Dim pic As PictureBox = PictureBox1
            pic.BorderStyle = BorderStyle.FixedSingle
        End Sub
        
        Private Sub PictureBox1\_DoubleClick(sender As Object, e As EventArgs) Handles PictureBox1.DoubleClick
            Dim pic As PictureBox = sender
            Dim fn As String = Nothing
            Dim ofd As OpenFileDialog = New OpenFileDialog
        
            With ofd
                .ShowDialog(Me)
                fn = .FileName
            End With
        
            pic.Image = Bitmap.FromFile(fn)
        End Sub
        

        End Class

        A 1 Reply Last reply
        0
        • J JasonB5963

          Not sure if this helps. Here is a quick, down and dirty way. You can play around with it to get want you want and act how you want.

          Public Class Form1

          Private Sub Form1\_Load(sender As Object, e As EventArgs) Handles MyBase.Load
              Dim pic As PictureBox = PictureBox1
              pic.BorderStyle = BorderStyle.FixedSingle
          End Sub
          
          Private Sub PictureBox1\_DoubleClick(sender As Object, e As EventArgs) Handles PictureBox1.DoubleClick
              Dim pic As PictureBox = sender
              Dim fn As String = Nothing
              Dim ofd As OpenFileDialog = New OpenFileDialog
          
              With ofd
                  .ShowDialog(Me)
                  fn = .FileName
              End With
          
              pic.Image = Bitmap.FromFile(fn)
          End Sub
          

          End Class

          A Offline
          A Offline
          Afzaal Ahmad Zeeshan
          wrote on last edited by
          #4

          You should reply to their post/message. :-)

          The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

          1 Reply Last reply
          0
          • N Nadeem Ali

            how can upload profile pic without Sql Connection or other jquery ok help me

            Nadeem King 7865

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            Upload picture to what? Your question is very light on detail, which means that people will make lots of assumptions so the answer you get probably won't be the answer you really need. There's a technique to asking questions - you have to ask yourself "have I given the person reading this enough background information for them to be able to understand what problem I am trying to solve?" Nine times out of ten, when we see a question like this, it means that the person who has posted it doesn't really know what problem it is they are trying to solve.

            This space for rent

            J 1 Reply Last reply
            0
            • P Pete OHanlon

              Upload picture to what? Your question is very light on detail, which means that people will make lots of assumptions so the answer you get probably won't be the answer you really need. There's a technique to asking questions - you have to ask yourself "have I given the person reading this enough background information for them to be able to understand what problem I am trying to solve?" Nine times out of ten, when we see a question like this, it means that the person who has posted it doesn't really know what problem it is they are trying to solve.

              This space for rent

              J Offline
              J Offline
              JillandJuice
              wrote on last edited by
              #6

              he left the forum ...

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups