Results 1 to 4 of 4

Thread: Hidden Controls

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Posts
    91

    Question

    I would like to make a Access Database with hidden buttons that can be accessed by pressing something like ctrl+Alt+b. How can I do this? Also while Im at it if i create a database using a access database the end user doesnt have to have access do they?


    Patience with me Please! I'm Learning!

    Self Learning Newbie
    VB 6 Pro SP4

  2. #2
    Addicted Member
    Join Date
    Aug 1999
    Location
    Hamilton, New Zealand
    Posts
    137
    Do you want the buttons in access or are they meant to be in a visual basic program that you are accessing and access database from. So I can't really answer this yet.

    The user does not have to have access itself on their computer but they will probably need to have at least the Jet Database engine installed.

    The most flexible and easiest way to use access databases I think is to use ADO which comes as part of Microsofts Data Access Components (MDAC) you can get these at
    http://www.microsoft.com/data

    there is stuff there on how to use them as well.



    Regards

    Matt Brown
    Hamilton, NZ
    VB6 C++ in Visual Studio 6sp4
    VB.net Beta 1

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Posts
    91

    Hidden Controls

    The controls will be in the visual basic application and they will be commandbuttons.
    Patience with me Please! I'm Learning!

    Self Learning Newbie
    VB 6 Pro SP4

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Posts
    91

    More About Hidden Controls

    Previous Message:

    I would like to make a Access Database with hidden buttons that can be accessed by pressing something like ctrl+Alt+b. How can I do this? Also while Im at it if i create a database using a access database the end user doesnt have to have access do they? (the buttons would be in the vb application)




    Now couldn't I use this for that:

    Code:
    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
    
    Private Sub Form_Load()
        Timer1.Interval = 50
    End Sub
    
    Private Sub Timer1_Timer()
        If GetAsyncKeyState(vbKeyControl) And GetAsyncKeyState(vbKeyEscape) Then command1.show
    End Sub
    Or something simular?
    Patience with me Please! I'm Learning!

    Self Learning Newbie
    VB 6 Pro SP4

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