473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

VB Syntax for running a script

Hi,

I'm using VB6 and I need to run a MySQL script. If the name of the file is MyScript.sql could anyone give me the syntax of the command necessary to run this script. Or is there another way to do this?


Thanks,

Keith
Feb 7 '07 #1
1 1539
ronverdonk
4,258 Expert 4TB
Since this is a VB question, you will probably have more luck in the VB forum.
Anyway, I think you can do this without VB.

When it is a normal text file containing SQL command, you can use phpMyAdmin to run it.

Just login to your phpMyAdmin and click on the SQL button. On the subsequent screen you can fill in the name of your SQL file and run it. The results will also be returned in your phpMyAdmin screen.

Ronald :cool:
Feb 7 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

17
by: Ross M. Greenberg | last post by:
I'm going nuts! I need an HTML line of the form <input type="hidden" name ="shipping_1" value="12.34"> where "12.34" represents a variable. Between <script></script> tags what is the format...
6
by: Ken | last post by:
What is the correct syntax for fileSize in Mozilla? This works in IE but not in Mozilla: <input type=file size=65 name="picture1" onChange="image_size(this.value);" Id="pt111"> <div...
7
by: Josh | last post by:
Hi All, I know this is a novice question that I should be able to solve through searching but I have Googled my fingers off and not found anything that seems to help. I have the following...
1
by: barry | last post by:
Hi I have the following code in a code behind file Dim sString As System.Text.StringBuilder sString = New System.Text.StringBuilder sString.Append("<script language=""Javascript"">" & vbCrLf)...
2
by: py | last post by:
Hi, I am running python 2.4.2 on win xp pro. I have the WMI module from Tim Golden (http://tgolden.sc.sabren.com/python/wmi.html). I have some code which does this... MyScript.py...
6
by: bluejay | last post by:
Being relatively new to computers, I decided to configure my Hotmail and Yahoo mail with Outlook. Following the instructions, I did what was directed. My Yahoo is perfect - I click on the Yahoo in...
2
by: maya | last post by:
I'm trying to implement a drag-n-drop script, found here.. http://cwdjr.net/test/newDrag.html but it doesn't work quite the way I want it to (div to drag-n-drop moves down the window when I...
5
by: This | last post by:
I have a pretty basic emailing script that sends a relatively small number (150) of html emails. The emails are compiled, personalised from a mysql db subscribers list, and sent using mail() -...
7
by: Kevin Vogler | last post by:
I'm trying to programatically run an app. The command line syntax is: "C:\Program Files\WinSCP3\WinSCP3.exe" -script=myscript.txt and it works as intended. In code, I have this Dim myProc As...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.