Following code is OK in Access 2002 on Win2k but crashes on WinXP. Has anyone come across this before? Thanks for any help.

Sub ADOVesselTrack()
Dim conn1 As ADODB.Connection
Dim rsVesselText As ADODB.Recordset

Set conn1 = New ADODB.Connection
conn1.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" _
& txtPath & ";Extended Properties='text;HDR=NO;FMT=Delimited'"

Set rsVesselText = New ADODB.Recordset
rsVesselText.Open "Select * From " & ImportFile, _
conn1, adOpenStatic, adLockReadOnly, adCmdText

variables txtPath and Importfile return the expected values. On XP the program crashes on rsVesselText.Open. On win2k it carries on merrily. Can't get any error message which is the annoying thing. Any help appreciated.