how to import .SQl file into MySQL with Visual Basic 6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tarachandmishra
    New Member
    • Apr 2007
    • 1

    #1

    how to import .SQl file into MySQL with Visual Basic 6.0

    dear all

    my self tarachand ..iam develping an application in vb with mysql database

    but iam unable to import the .sql file in to mysql database.

    i can do it from command window.by passing the command

    mysql -u [user] -p [database] < .sql file

    what will be the code so that i can import through my visual basic application

    with out using command promt

    plz help me it's very urgent


    with best regards
Working...