Results 1 to 3 of 3
  1. #1
    asterix48 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    2

    BringWindowToTop does not work with Access 2010

    In VBA I use the Win-32 API function BringWindowToTop to set the focus to a window of another application (e.g., Internet Explorer). This works well with Access 2003, regardless of the Windows Version (XP or Windows 7 32/64 Bit).


    With Access 2010 however, the focus is set to the Access window after my VBA thread has finished, and the windows I would have the focus on is only the 2nd in the window stack.
    Any suggestions how I can achieve the behaviour as unter Access 2003?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,603
    Post code for analysis.
    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
    asterix48 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2012
    Posts
    2
    In my attempt to strip my application to a small example app I found out that in principle BringWindowToTop works the same with both Access 2003 and 2010.
    There must be some special condition in my app so the behaviour is different between Access 2003 and 2010. When I have worked out this special condition I will open a new thread with a new title.

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

Similar Threads

  1. Cant get Yes/No to work in Query Access 2010
    By colisemo in forum Queries
    Replies: 1
    Last Post: 09-20-2011, 02:21 PM
  2. Access 2007 report does not work in 2010
    By luppi13 in forum Reports
    Replies: 5
    Last Post: 09-07-2011, 03:05 PM
  3. Code does not work in 64 Bit Access 2010
    By mwolfod in forum Programming
    Replies: 26
    Last Post: 12-12-2010, 04:39 PM
  4. Word.Basic ToolsSpelling won't work in Access 2010
    By stav.kaufman in forum Programming
    Replies: 6
    Last Post: 11-23-2010, 08:44 AM
  5. 2007 Access DB won't work in 2010 - 64 bit
    By InvGrp in forum Access
    Replies: 2
    Last Post: 07-12-2010, 08:45 AM

Tags for this Thread

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