Recent content by born2live

  1. B

    How to minimize Access window and open the form on top

    As I described in post #1, I'm looking for a vba solution to do 2 things one after another: 1. Minimize Access window 2. Maximize only the form (I mean a form comes up the screen like a pop-up window) I want when user clicks on the Access icon to open the database, the main Access window goes...
  2. B

    How to minimize Access window and open the form on top

    Of the word Access window, I mean the window which has menus like Home, Create etc. It's possible that minimize Access main window and only keep the form open!
  3. B

    How to minimize Access window and open the form on top

    Hello guys, Who can tell me how to minimize Access window while it's form is on top of other open windows (e.g. other applications which are maximized like Excel). By using acCmdAppMinimize command, only the Access window is minimized and if other applications are maxmized, they will be on top...
  4. B

    Error 2585 when closing form

    Thank you my friend. :) It solved!
  5. B

    Error 2585 when closing form

    Thanks; The Login form controls are: cboUser txtPassword cmdLogin cmdCancel The code is put on Enter and Click events of cmdLogin. The using code is a function called LoginCode: Public Sub LoginCode() If IsNull([cboUser]) = True Then 'Check UserName MsgBox "Please choose the username."...
  6. B

    Error 2585 when closing form

    Hello dear pbaldy I have a database which has a Login form and a Main Menu. I want when users enter their Username and Password and then click Enter button, Login form be closed and then Main Menu be opened. I put the code on Enter button, but in gives error 2585. Can you please help me to...
  7. B

    Get computer name

    Thank you namliam, your comment is perfectly right. I just asked to know :)
  8. B

    How to define accessibility for different users

    Thank you CJ_London
  9. B

    How to define accessibility for different users

    Hi guys, I have a multi-user database. I would like based on the logged-in user, some buttons and controls in different forms be disabled and the others be enabled. There is a login form that gets the username; I made also a function to define authorities for users in it. My plan is that when...
  10. B

    Get computer name

    Could you please tell me how to disable the bypasskey?
  11. B

    Get computer name

    The mistake also solved: By holding Shift key down when the database is opening, it opens without executing scripts or forms. :D But I think, this can be a bad point for the security of database!
  12. B

    Get computer name

    Thank you namliam, It worked! ... But I made a big mistake and now the database can't be opened!!! I put a 3 part if in the Login form with 3 Ands. To check if Username of domain and using Computer Name are the same as what I have defined in table and also Thick of the EnableOrDisable field is...
  13. B

    Get computer name

    This is the code I'm using to get the computer name: Declare Function GetComputerName& Lib "kernel32" Alias _ "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) Function GetIdentifier() Dim lpBuff As String * 1314 GetComputerName lpBuff, Len(lpBuff) GetIdentifier = lpBuff...
  14. B

    Get computer name

    Yeah, I did that but nothing changed!
  15. B

    Get computer name

    Hi guys, I have a database which is going to be used in network of the company. I have defined authorized Domain usernames and Computer Names in a table. There is a Login form in which I placed a code to get the computer name and domain username to compare with the ones I have defined in the...
Top Bottom