Results 1 to 2 of 2
  1. #1
    bucko_oz is offline Novice
    Windows 7 Access 2007
    Join Date
    Sep 2010
    Posts
    1

    IE Automation Error

    Hi


    Win7 Pro, Access 2007
    Problem:
    Within access when i want to open a file folder i have always used SHDocVw (ieframe.dll).

    Dim objIE As New InternetExplorer
    objIE.Navigate (strFullPath)

    And this method has worked fine for years. But now on one of my computers (A) it still works and on Computer B it appears to translate the string and replace back slashes with forward slashes.

    Ie when i pass - strFullPath = “S:\Directory Path”
    i get an error back – Couldnt find ‘file///S:/Directory%20Path’, followed by an Access ‘Automation Error’

    Background:
    I have an Access DB which has been running for about 5 years now. I was having some compatibility issues so i upgraded my computers to Win 7 Pro. I already had Office07 running.

    My DB resides on Computer B and i generally use my laptop (Computer A). All computers have the same setup as far as i can see. This error was not happening when computer B was running Vista.

    The db was converted up to an .accdb, then last back to an .mdb last week, but it was not fixed the issue.

    Any clues?????????????

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    have you considered trying late binding instead of using the library? I have no idea if that would make a difference, but it's worth a shot.
    Code:
    dim ie as object
    
    set ie = createobject("internetexplorer.application")
    
    ie.navigate
    Either that, or maybe you could just use the file system object as a substitute? Are you simply trying to open a folder? Or do you want to view a file in the IE program?

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

Similar Threads

  1. Replies: 0
    Last Post: 03-04-2010, 06:32 PM
  2. automation error
    By ashiers in forum Forms
    Replies: 0
    Last Post: 04-16-2009, 11:38 AM
  3. Data from automation
    By Mstef in forum Import/Export Data
    Replies: 0
    Last Post: 01-05-2009, 10:21 AM
  4. Automation Error
    By aouellette in forum Forms
    Replies: 0
    Last Post: 09-12-2008, 08:00 AM
  5. Need to set date in query for automation
    By Valeda in forum Queries
    Replies: 0
    Last Post: 06-07-2006, 06:41 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