Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Global events or messaging.

Global events or messaging.

Scheduled Pinned Locked Moved C#
helpdatabasedesignquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Larantz
    wrote on last edited by
    #1

    Hi everyone. I'm currently working on an a system consisting of a service with a remote object that performs actions on a xmldatabase and on files on the harddrive, and several UI applications that communicate with this service through the remoteobject. My problem is that the applications with their remote objects are in different scopes even though it's the "same" object so I have no way of notifying the other clients through events, that there's been a change in the database and or files. I can't use a thread in the clients to check for changes, so I'm looking for any other way and I've failed using events. Is there any type of global / interprocess events or messaging that I can use? Any help is much appreciated. -Larantz- for those about to code, we salute you

    N 1 Reply Last reply
    0
    • L Larantz

      Hi everyone. I'm currently working on an a system consisting of a service with a remote object that performs actions on a xmldatabase and on files on the harddrive, and several UI applications that communicate with this service through the remoteobject. My problem is that the applications with their remote objects are in different scopes even though it's the "same" object so I have no way of notifying the other clients through events, that there's been a change in the database and or files. I can't use a thread in the clients to check for changes, so I'm looking for any other way and I've failed using events. Is there any type of global / interprocess events or messaging that I can use? Any help is much appreciated. -Larantz- for those about to code, we salute you

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      If you are using 2.0 and SQL Server 2005 you can use SqlNotification.

      only two letters away from being an asset

      M 1 Reply Last reply
      0
      • N Not Active

        If you are using 2.0 and SQL Server 2005 you can use SqlNotification.

        only two letters away from being an asset

        M Offline
        M Offline
        mbnbonin
        wrote on last edited by
        #3

        I forgot to say: I am using Visual Studio 2003 and Outlook 2002. Thanks! Manoel Bonin

        N 1 Reply Last reply
        0
        • M mbnbonin

          I forgot to say: I am using Visual Studio 2003 and Outlook 2002. Thanks! Manoel Bonin

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          Possibly MSMQ would be an option

          only two letters away from being an asset

          L 1 Reply Last reply
          0
          • N Not Active

            Possibly MSMQ would be an option

            only two letters away from being an asset

            L Offline
            L Offline
            Larantz
            wrote on last edited by
            #5

            Hi. Yes I'm using .NET 2.0, but it's not an SQL database. It's just a Windows Service which uses a xml-file for storage / database. My problem is the communication is through remote objects and events won't reach the client applications. Never heard of MSMQ. I'll google it :) -Larantz- -- modified at 5:19 Friday 11th August, 2006 Ah yes Messaging Queue. I tried that a while back with no success. Maybe I did something wrong back then. I'll give it another try. Thx.

            for those about to code, we salute you

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups