Results 1 to 7 of 7
  1. #1
    frankvfox is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Sep 2008
    Location
    Hendersonville, Tennessee
    Posts
    6

    DLL Confusion

    What DLL version do I need to add to a Visual Studio 2010 project in order to automate Access 2003? I've imported Microsoft.Office.Interop.Access


    (Microsoft Access 11.0 Object Library) version 9.0.0.0 and Visual Studio doesn't recognize it. Windows Server 2008 R2 Enterprise 64 bit.

    Thanks.

    Frank Fox
    Hendersonville, TN

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,951
    What do you want to do - get data from Access into Visual Studio? http://msdn.microsoft.com/en-us/library/ms171893.aspx
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    frankvfox is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Sep 2008
    Location
    Hendersonville, Tennessee
    Posts
    6

    DLL Confusion

    Quote Originally Posted by June7 View Post
    What do you want to do - get data from Access into Visual Studio? http://msdn.microsoft.com/en-us/library/ms171893.aspx
    I want to run Access Reports from my VB project. (Using the DoCmd functionality). My problem is the Access Reference (Microsoft Access 11.0 Object Library) I've linked to is not recognized by VB. I should mention it's been several years ago since I did this last. I believe I'm running Framework 4.5.1.

    Has something changed in the interim?

    Frank Fox

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,951
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    frankvfox is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Sep 2008
    Location
    Hendersonville, Tennessee
    Posts
    6
    Is there anybody out there who understands what I'm asking? Why can't VS 2010, after acknowledging the presence of the Access Reference (Microsoft Access 11.0 Object Library) in the solution explorer, allow me to instantiate an Access.Application object with a simple "acc = New Access.Application"!!?? Instead, it puts the squiggly line under "access.application" and proclaims "type access.application is not defined"! Is there a problem with Windows 2008 Server R2?

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,951
    Sounds like the issue is on Visual Studio side. Might try a forum that focuses on VS.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  7. #7
    frankvfox is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Sep 2008
    Location
    Hendersonville, Tennessee
    Posts
    6

    DLL Confusion

    Quote Originally Posted by June7 View Post
    Sounds like the issue is on Visual Studio side. Might try a forum that focuses on VS.
    Thank you. I'll redirect.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Query Confusion
    By tmcrouse in forum Queries
    Replies: 9
    Last Post: 07-16-2012, 09:24 AM
  2. Block IF End IF Confusion
    By Phred in forum Programming
    Replies: 11
    Last Post: 03-10-2012, 02:18 PM
  3. VB and SQL confusion
    By Wayne311 in forum Programming
    Replies: 29
    Last Post: 01-31-2011, 10:27 PM
  4. Events Confusion?
    By homerj56 in forum Programming
    Replies: 5
    Last Post: 10-27-2010, 01:45 PM
  5. Confusion
    By colenzo in forum Access
    Replies: 4
    Last Post: 07-21-2009, 06:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums