Hi,
I see responses to this thread (or related ones) that should ensure that the SP attempts to execute and the 'COPY TO' command is listed as being supported by the VFPOLEDB so the most likely problem would be a permissions issue. Does the authenticated user have read/write permissions to the relevant folder? And what is the exact error?
Regards,
Viv
>Hi Viv
>You once showed me how to execute a stored procedure from ASP. Can you show me how to do it from VB NET? I have
>
>Dim oConnVFP As New Data.OleDb.OleDbConnection(ConfigurationManager.ConnectionStrings("VFPLibrary").ConnectionString)
>Dim objCommandCSV As New System.Data.OleDb.OleDbCommand("do createCSV", oConnVFP)
>
>objCommandCSV.CommandType = Data.CommandType.StoredProcedure
>
>oConnVFP.Open()
>objCommandCSV.ExecuteNonQuery()
>oConnVFP.Close()
>
>But this doesn't work. Thanks