User Profile

Collapse

Profile Sidebar

Collapse
vanita01
vanita01
Last Activity: Feb 14 '08, 11:54 PM
Joined: Feb 8 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • vanita01
    started a topic Browse a file and then upload it to mysql

    Browse a file and then upload it to mysql

    Hi

    Can anyone please help me. I am trying to browse for a file. I would like the file path name to be shown on a text box. Using the upload button I would then like to save the file on mysql. is is the code I have don so far.

    [CODE=vb]Private Function LoadFile(sFile As String) As Boolean
    Dim filenum

    Text2.Tag = sFile

    ' Make sure a file is specified.
    If sFile...
    See more | Go to post
    Last edited by Killer42; Feb 15 '08, 01:59 AM. Reason: Added CODE=vb tag

  • Hi

    Thanks for your reply.

    I would like to store the file on to the database. How can I code it in visual basic to store it as byte stream. This is the code I have to browse for the directory. I would also like the code to allow me to seelct files not the whole directory.

    Private Sub Command1_Click( )
    'Opens a Treeview control that displays the directories in a computer
    Command1.Visibl e...
    See more | Go to post

    Leave a comment:


  • vanita01
    started a topic Upload files to mysql using visual basic

    Upload files to mysql using visual basic

    Can any one help me?

    I would like to upload a text/doc file from my visual basic form on to my sql database.
    See more | Go to post
No activity results to display
Show More
Working...