Results 1 to 5 of 5
  1. #1
    mstefansen is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    4

    VB Programming

    New guy here looking for a little help.

    I am using an access db to log test values from equipment we manufacture. We use to test the equipment and hand log the values.



    I automated the process and the values are collected by a PLC and loaded into the db via a serial RS232 connection.

    My db was working great a few months ago and not that I am getting ready to release to our production group the db stopped working.

    It seems that all the VB calls stopped working. Comm port selection and button clicks. I enabled Macros and the VB started to work but my comm port gives an error:

    "Because of security settings and current security policy, this control is disabled. To modify your policy and enable the db, use the message bar."

    I am thinking some security policy has been pushed from the server.

    Any thoughts out there? Using Access 07.

    Thanks,

    Mike

  2. #2
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    Have you allowed it as a trusted location yet?

  3. #3
    mstefansen is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    4
    Quote Originally Posted by dcrake View Post
    Have you allowed it as a trusted location yet?
    By "it" do you mean Access?
    I have only added trusted locations on the network where the file is located to stop the pop up message in the message bar.

    How do I add trusted locations?

    I keep thinking it is related to a recent MS update since it worked fine not too long ago.

    Thanks,

    Mike

  4. #4
    mstefansen is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    4
    Quote Originally Posted by mstefansen View Post
    New guy here looking for a little help.

    I am using an access db to log test values from equipment we manufacture. We use to test the equipment and hand log the values.

    I automated the process and the values are collected by a PLC and loaded into the db via a serial RS232 connection.

    My db was working great a few months ago and not that I am getting ready to release to our production group the db stopped working.

    It seems that all the VB calls stopped working. Comm port selection and button clicks. I enabled Macros and the VB started to work but my comm port gives an error:

    "Because of security settings and current security policy, this control is disabled. To modify your policy and enable the db, use the message bar."

    I am thinking some security policy has been pushed from the server.

    Any thoughts out there? Using Access 07.

    Thanks,

    Mike
    Another note: When I get the VB code to work, I get an error when ever the MSCOMM function is called.

    Error 438 "Object doesn't support this property or method"

    Don't know if this helps or not.

    Mike

  5. #5
    mstefansen is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2009
    Posts
    4
    Quote Originally Posted by mstefansen View Post
    New guy here looking for a little help.

    I am using an access db to log test values from equipment we manufacture. We use to test the equipment and hand log the values.

    I automated the process and the values are collected by a PLC and loaded into the db via a serial RS232 connection.

    My db was working great a few months ago and not that I am getting ready to release to our production group the db stopped working.

    It seems that all the VB calls stopped working. Comm port selection and button clicks. I enabled Macros and the VB started to work but my comm port gives an error:

    "Because of security settings and current security policy, this control is disabled. To modify your policy and enable the db, use the message bar."

    I am thinking some security policy has been pushed from the server.

    Any thoughts out there? Using Access 07.

    Thanks,

    Mike
    An update for anyone who may be pondering.
    I did a system restore back to June and the db works fine.
    Now to find out why.

    Mike

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

Similar Threads

  1. Programming a result field in a table
    By Linda in forum Programming
    Replies: 9
    Last Post: 07-13-2009, 08:07 PM
  2. Programming Adjustable Pricing Fees
    By JDA2005 in forum Programming
    Replies: 2
    Last Post: 07-07-2009, 10:50 AM
  3. New to Access programming
    By pushpm in forum Programming
    Replies: 1
    Last Post: 02-20-2009, 03:03 PM
  4. Access 2000 programming startup options
    By nosaj_ccfc in forum Programming
    Replies: 2
    Last Post: 10-17-2008, 02:18 PM
  5. Programming Language like Access
    By cwf in forum Programming
    Replies: 2
    Last Post: 05-17-2008, 03:02 AM

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