Results 1 to 4 of 4
  1. #1
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2012
    Posts
    528

    error in the 2010 edition only

    Why show me this error in the 2010 edition only


    If it becomes yellow line

    Private Sub Form_Open(Cancel As Integer)
    fSetAccessWindow (SW_HIDE)


    Me.Picture = CurrentProject.Path & "\test.bmp"
    SetFormState 2
    SpSetProp

  2. #2
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    What is the error message? Are you sure that there actually is a copy of test.bmp in the same Folder as the database file, in the errant app?

    Linq ;0)>

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Do you want to dynamically display images on form?

    What type of control is Picture?

    Suggest an Image control and set the ControlSource property, no VBA needed.
    =[CurrentProject].[Path] & "\test.bmp"

    As linq said, make sure image name is correct and the image is actually in the same folder location as the db.
    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.

  4. #4
    azhar2006's Avatar
    azhar2006 is offline Expert
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2012
    Posts
    528
    Thanks linq
    Your words sound 100%.
    When you transfer the images to the proper place vanished error message

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

Similar Threads

  1. Replies: 6
    Last Post: 07-07-2014, 09:13 AM
  2. APPCRASH error in Access 2010
    By Lynn Cohen in forum Access
    Replies: 4
    Last Post: 03-14-2014, 09:59 AM
  3. Replies: 3
    Last Post: 01-26-2014, 06:32 PM
  4. Replies: 7
    Last Post: 06-14-2013, 09:47 AM
  5. Access 2010 error
    By mkoecher in forum Access
    Replies: 1
    Last Post: 01-12-2012, 12:41 PM

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