473,406 Members | 2,293 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,406 software developers and data experts.

Access 2003 runtime error 3170, Could not find installable

I am getting an erro on line 11, OpenDatabase(Name As String, [Options], [ReadOnly], [Connect]) I can leave the Options field blank, and it errors saying that the password is invalid, I am 100% certian that the password is correct, and if I leave it blank it prompts then errors. I have read countless articles, and reregistered the DLL's and even reinstalled office, to no avail. Anyone with any ideas that would be excellent.

Expand|Select|Wrap|Line Numbers
  1. Public Function fnReadDBTables(FilePath As String, Pword As String, SavePath As String)
  2. Dim dbname As String
  3. Dim rst2 As DAO.Recordset
  4. Dim DbRead As DAO.Database
  5. Dim mySQL1 As DAO.Recordset
  6. Dim filetemp1 As Integer 'start of file string
  7. Dim filetemp2 As Integer 'end of file string
  8.  
  9. dbname = Forms![main]![dbNameComboBox1]
  10.  
  11. Set DbRead = DAO.OpenDatabase(FilePath, False, False, Pword)
  12. Set rst2 = db.OpenRecordset("tblDatabaseTables", dbOpenDynaset)
  13. Set mySQL1 = DbRead.OpenRecordset(("SELECT MSysObjects.Name, MSysObjects.Database, _
  14. MSysObjects.Connect, MSysObjects.Type _
  15.  FROM MSysObjects WHERE (((MSysObjects.Name) Not Like ('MSys*') And _
  16.  (MSysObjects.Name) Not Like ('~TMPCLP*')) AND _
  17. ((MSysObjects.Type)=1 Or (MSysObjects.Type)=6)) ORDER BY MSysObjects.Name;"))
  18.         Do Until mySQL1.EOF
  19.         rst2.AddNew
  20.             rst2("DatabaseName") = dbname
  21.             rst2("TableName") = mySQL1!Name
  22.             rst2("Database") = mySQL1!Database
  23.             If Not mySQL1!Database = "" Then
  24.                     filetemp1 = InStrRev(mySQL1!Database, "\")
  25.                     filetemp2 = InStrRev(mySQL1!Database, ".")
  26.                     Else
  27.                     filetemp1 = 1
  28.                     filetemp2 = 0
  29.  
  30.  
  31.                     End If
  32.                     If filetemp2 > filetemp1 Then
  33.                     rst2("DatabaseName2") = Mid(mySQL1!Database, _
  34.  (filetemp1 + 1), ((filetemp2 + 3) - filetemp1))
  35.                     Else
  36.                     rst2("DatabaseName2") = ""
  37.                     End If
  38.             rst2("Connect") = mySQL1!Connect
  39.             rst2("Type") = mySQL1!Type
  40.         rst2.Update
  41.         mySQL1.MoveNext
  42.         Loop
  43. Set rst2 = Nothing
  44. DbRead.Close
  45.  
  46. End Function
Jan 10 '11 #1
1 1960
I got it to work, I added "MS Access;PWD=" & Pword is valid to line 11.
Jan 10 '11 #2

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

Similar topics

1
by: Mister_d | last post by:
When deploying a solution using the Access 2003 runtime engine, do you have to use the packaging wizard that comes with the Access 2003 Developer Extentions, or can you use other packaging software...
10
by: Lauren Wilson | last post by:
Ok I have searched the MS website for info on this. I am totally confused. If I want to deploy an Access 2003 app and allow my users to run it using Access 2003 Runtime, where do I get the...
0
by: Barb | last post by:
Hello again, I had posted over the past couple of days regarding a connection issue I was having to my production database from an Access project. I sorted that out by using integrated Windows...
1
by: russ | last post by:
I installed VS.NET, Office Access 2003 Developer Extensions, and Access 2003 Developer Extensions, and I still can't find where the Access 2003 runtime install file is at. Am I missing something?
5
by: Wayne | last post by:
I am looking at installing an Access 2003 application on some machines that don't have any version of Access previously installed. After reading lots of posts on this group and elsewhere I assume...
1
by: Lauren Wilson | last post by:
I have a desperate short term need for a way to install Access 2003 runtime on client computers. I have the proper license to do so but I cannot seem to find the files to do it like we did with...
10
by: Lauren Wilson | last post by:
I have a desperate short term need for a way to install Access 2003 runtime on client computers. I have the proper license to do so but I cannot seem to find the files to do it like we did with...
0
by: Lauren Wilson | last post by:
What is going on with this? We created an installer for Access 2003 Runtime using the P & D Wizard from Access 2003 Dev Extensions. It appeared to be fine but on some computers it simply hangs...
0
by: Yelena Varshal via AccessMonster.com | last post by:
Hello We have a shortcut for our MS ACCESS application that uses a /Runtime switch because we may have some users that use Runtime. The application worked fine in Access 2000 and was tested with...
4
by: cyberdwarf | last post by:
Aaargh! XP Pro + Access 2002 for development. Setup a 3rd party MDE which needed the Access 2003 runtime installed. Tried to uninstall the Access 2003 runtime, but it won't budge :-(( Now I...
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: 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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.