Results 1 to 2 of 2

Thread: VB pulling up MS Access

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Posts
    38

    Exclamation

    I need help.. I am pulling up ms access... how can i make it so it is that active window on top?


    Sub Main()

    Set acc = CreateObject("access.application")
    acc.opencurrentdatabase "c:\my documents\db1.mdb"
    acc.Visible = True
    acc.UserControl = True

    End Sub

  2. #2

    Thumbs up

    There is one Win32 API Function.I con't remember the name of it. You can check it out in MSDN online help or in vb-world.net.
    It take the Window handle as the perameter And makes that wind as the top on

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width