vbs文件的全称为 visual basic scripts文件,下面是这种文件的样本,给大伙瞧瞧,这种文件应该是可以执行的,但我不知道该如何执行,问题就在这里----------------文件样本----------Private Sub DeleteUserQuery(objDSC, lngKey) '// This routine will delete a previous saved user query '// from the DTA database
'// INPUTS '// objDSC = reference to a Data Source Control '// lngKey = the primary key of the saved query record
Dim objConn, strArg1, strCmdString
Set objConn = objDSC.Connection
'// Build the stored procedure command that will delete this record strArg1 = lngKey strCmdString = "dta_ui_delete_userquery(" & strArg1 & ")"
'// Execute this commend objConn.Execute strCmdString,,4
'// Free our reference Set objConn = NothingEnd Sub
'// This routine will delete a previous saved user query
'// from the DTA database
'// INPUTS
'// objDSC = reference to a Data Source Control
'// lngKey = the primary key of the saved query record
Dim objConn, strArg1, strCmdString
Set objConn = objDSC.Connection
'// Build the stored procedure command that will delete this record
strArg1 = lngKey
strCmdString = "dta_ui_delete_userquery(" & strArg1 & ")"
'// Execute this commend
objConn.Execute strCmdString,,4
'// Free our reference
Set objConn = NothingEnd Sub
我想,你可以把DW、FONTPAGE、VB、都装上试试看
'// This routine will delete a previous saved user query
'// from the DTA database
'// INPUTS
'// objDSC = reference to a Data Source Control
'// lngKey = the primary key of the saved query record
Dim objConn, strArg1, strCmdString
Set objConn = objDSC.Connection
'// Build the stored procedure command that will delete this record
strArg1 = lngKey
strCmdString = "dta_ui_delete_userquery(" & strArg1 & ")"
'// Execute this commend
objConn.Execute strCmdString,,4
'// Free our reference
Set objConn = Nothing
'End Sub
网页中的脚本仍然是用WScript.exe解释的!