Search results

  1. A

    Problem in reading VBA module on Access 2010 Runtime

    After developing a database application on Access 2010, I send to a friend to have a test run on Access Runtime. There are two problems and would appreciate if anyone can help. 1. The accdb version comes up with an error message that it cannot verify that the the program come from a Trustworthy...
  2. A

    Running application on Access Runtime

    After developing a database application on Access 2010, I send to a friend to have a test run on Access Runtime. There are two problems and would appreciate if anyone can help. 1. The accdb version comes up with an error message that it cannot verify that the the program come from a...
  3. A

    Problem in capturing and change KeyCode for input to TextBox

    You are right that the SendKeys function is unreliable and what it does is quite unpredictable. It would be good if we can just change the KeyCode and/or the Shift status byte to inject the character we want into the current text field on focus. I am now just using the Alt key detection...
  4. A

    Problem in capturing and change KeyCode for input to TextBox

    Further to my response above, I recognise that you have proposed a practical way to do what I want. Thank you. But the situation is a bit more complicated as I have over 30 TextBoxes and ComboBoxes in the Form, and use a common event handler for all these Boxes. If I can change the KeyCode...
  5. A

    Problem in capturing and change KeyCode for input to TextBox

    Yes, I can also check the Shift status and the KeyCode to do something else. However, the problem is to change the KeyCode or Status to change them to other characters (which cannot be directly input from the keyboard) to appear as input in the TextBox in mixing mode with other normal keyboard...
  6. A

    Problem in capturing and change KeyCode for input to TextBox

    Dear experts, To facilitate input of special graphic characters such as the degree C and plus-and-minus symbols, I would like to use Alt-1 to Alt-9 key combinations, capture these keys in a KeyDown event procedure and change the keystroke to the desired graphical character code. I am using...
  7. A

    Problem in capturing keystrokes and change the KeyCode to TextBox input

    Dear experts, To facilitate input of special graphic characters such as the degree C and plus-and-minus symbols, I would like to use Alt-1 to Alt-9 key combinations, capture these keys in a KeyDown event procedure and change the keystroke to the desired graphical character code. I am using...
  8. A

    Cannot save after editing event proc with cut/copy and paste

    Yes you are right, after Compact & Repair the database, it does save after copy and paste on the code. This explains why the problem went away before, could be after I performed database repair. It is strange that, before database repair: 1. I can save the changes if I do not paste any code...
  9. A

    Cannot save after editing event proc with cut/copy and paste

    I have encountered several times, and now, that after using any "cut and paste" or "copy and paste" on VBA code in the event sub, even for a few words, Access does not allow me to exit when I answer 'Yes' to save the changes. It forces me to respond "No" to exit and re-enter any changes again...
  10. A

    Text ForeColor of ComboBox fields

    [Solved]: Text ForeColor of ComboBox fields The code to change text color is like: Private Sub CommandButton_click() ComboVendorName.ForeColor = vbWhite ComboVendorName.BackColor = vbMagenta ComboProductName.ForeColor = vbWhite ComboProductName.BackColor = vbMagenta End Sub On button click...
  11. A

    Access ComboBox Columns ForeColor

    Hi David, Thanks for the advice. Actually the code to change text color is like: Private Sub CommandButton_click() ComboVendorName.ForeColor = vbWhite ComboVendorName.BackColor = vbMagenta ComboProductName.ForeColor = vbWhite ComboProductName.BackColor = vbMagenta End Sub On...
  12. A

    Text ForeColor of ComboBox fields

    I have also posted this on the VBA and Modules Forum. Thanks.
  13. A

    Access ComboBox Columns ForeColor

    I am working on a database project using Access 2010 and encounter some ComboBox text color problem and would like to seek assistance. The form has a ComboBox that displays the Supplier Name. The Combo's source control is Supplier ID in the Products table which joints the Supplier Table...
  14. A

    Text ForeColor of ComboBox fields

    I am working on a database project using Access 2010 and encounter some ComboBox text color problem and would like to seek assistance. The form has a ComboBox that displays the Supplier Name. The Combo's source control is Supplier ID in the Products table which joints the Supplier Table...
Back
Top Bottom