Results 1 to 5 of 5
  1. #1
    redbull's Avatar
    redbull is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2012
    Location
    Missouri
    Posts
    480

    Send Alerts to Application user base

    I am looking for a solution to notifying the userbase (100 people). Currently the Managers are emailing the group, however as with most company emails they are largely ignored.



    Currently I have a form on the application that they open, its called frmAdvert. And IF I know a day in advance I can it up so the following morning the users will see this advert on open. I would like to allow this happen "live" during the day. Possibly just have the Managers have a document stored on the shared drive open for all users.

    Any thoughts on how this can be accomplished. If not, do YOU have any use for this? Anyone like to collaborate to build it?

    I am thinking that Powershell can be utilized, somewhere....

    or possibly a file check something like "IF \\computername\c$\Program Files\Application\ any.LBD" then
    oshell yadda yadda, open up the document the manager has placed on the shared drive.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Maybe you will find this link helpful: http://www.utteraccess.com/forum/Ins...8#entry1064398

  3. #3
    redbull's Avatar
    redbull is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2012
    Location
    Missouri
    Posts
    480
    Very interesting. I am trying to piece together what was done here. It does not seem to be a working example right now.

  4. #4
    redbull's Avatar
    redbull is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Mar 2012
    Location
    Missouri
    Posts
    480
    Progress thus far...

    Code:
    Public Sub ProcedureInAccess()
    Dim Path As String
    Dim acApp As Object
    Dim db As Object
    
    
    Path = "\\remotemachinename\c$\Program Files\MyApp\MyApp.ldb" ' file path on remote machine
    Set acApp = CreateObject("Access.Application")
    
    
    If Len(Dir(Path)) > 0 Then  ' Does the ldb exsist? meaning is the application open?
    acApp.OpenCurrentDatabase ("\\remotemachinename\c$\Program Files\MyApp\MyApp.mde")
    acApp.Visible = False
    Set db = acApp
    acApp.Run "Help"  'Module to run
    acApp.Quit
    Set acApp = Nothing
       
    End If
    End Sub
    So, The code above does about half of what I need it to do. It identifies if a remote user has the application open. The part I am getting wrong is this will run the "Help" module on my local machine. Any ideas?

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I never played with it so I'm clueless.

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

Similar Threads

  1. Email Alerts when Due Date approaches
    By shariq1989 in forum Programming
    Replies: 0
    Last Post: 07-13-2012, 10:01 AM
  2. Including a user guide within an application
    By PippaPippa in forum Forms
    Replies: 7
    Last Post: 03-10-2012, 04:36 AM
  3. Duplicate value Alerts?
    By Delta223 in forum Access
    Replies: 2
    Last Post: 01-12-2012, 11:09 AM
  4. Send a message for other user
    By smahdih in forum Access
    Replies: 2
    Last Post: 11-18-2011, 01:52 PM
  5. Creating a Clean User Application
    By sesproul in forum Forms
    Replies: 1
    Last Post: 03-05-2010, 06:32 PM

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