Home > Ask the Microsoft .Net Development Experts > .NET Development with XML Questions & Answers > Problem with Paradox Connection String
Ask The Win Development Expert: Questions & Answers
EMAIL THIS

Problem with Paradox Connection String

Daniel Cazzulino EXPERT RESPONSE FROM: Daniel Cazzulino

Pose a Question
Other Win Development Categories
Meet all Win Development Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 09 June 2004
I have a problem with Paradox. I saw that you had a Connection String and the connection works fine but when I want to do a SQL query on the database it return the following error:
Unexpected error from external database driver (11270). Here is the code I used:
Dim tempCn As New ADODB.Connection
tempCn.Open("Driver={Microsoft Paradox Driver (*.db )};" & _
          "DriverID=538;" & _
          "Fil=Paradox 5.X;" & _
          "DefaultDir=" & FilePath & ";" & _
          "Dbq=" & FilePath & ";" & _
          "CollatingSequence=ASCII")
dim lrs as adodb.recordset
This all works fine but I get the error on the following line:
lrs.Open("Select * from MyTest" , tempCn, ADODB.CursorTypeEnum.adOpenForwardOnly, ADODB.LockTypeEnum.adLockReadOnly). Can you give me any help?
Platform: Visual Studio 2003. Windows XP Professional


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
XML and Data
Modifying XML rows using XSL sheets
Generating Access data as XML for HTML publishing
Editing datagrids, take two
Creating applications to access data via mobile phones
Is it possible to schedule SQLs written for a paradox database?
Questions regarding XML for a decision making tool
Extracting data from Word 6 to populate database
How can I make a connection to a Paradox password protected database?
I have an Access Database that I want to display in a Listview.
Need an ASP.NET page with a text box and submit button to pull records

.NET Development with XML
Modifying XML rows using XSL sheets
Generating Access data as XML for HTML publishing
Editing datagrids, take two
Creating applications to access data via mobile phones
Is it possible to schedule SQLs written for a paradox database?
Questions regarding XML for a decision making tool
Extracting data from Word 6 to populate database
How can I make a connection to a Paradox password protected database?
I have an Access Database that I want to display in a Listview.
Need an ASP.NET page with a text box and submit button to pull records

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


You should be using ADO.NET to connect to it, and the OleDbConnection object, instead of the legacy ADODB objects. Check out this previous answer: http://searchvb.techtarget.com/vsnetATEAnswers/0,293820,sid8_gci951954_tax293673,00.html




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Windows Development - White Papers, News and Expert Advice
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts