message

Rails Notification Message plugin?

I am about to code something for a Rails app of mine and didn't want to reinvent the wheel, hence my question: Do you guys know any Rails Plugin that would allow an application to display notification messages that could be user specific and also allow the user to mark them as "don't show this again"? My vision is to display a top div ...

How can i get messages in C#?

Hello, How can I get a specific message on a specific method? I've seen some examples and people use "ref" ,but I dont understand it. In delphi,for example,my function(method) must be declared in the Main Form class and next to the declaration I have to put the message type TForm1 = class(TForm) ... protected procedure Me...

Highlight text in messagebox

I need to display a message box but the user needs to be able to highlight and copy the text in the message box. How would I achieve this? FYI this in in C#. ...

Listing the files and revisions with a certain check-in message in Subversion

In SVN, is there a way to list files based on a commit message? ...

SMS archive solutions

Hi all, Does anyone know if there are any SMS archive solution out there? The idea is to archive your sms message from your phone to a central location. ...

silverlight2 Message class missing CreateBufferedCopy method

I am trying to read a soap response twice and I got the error message already read ... There are some examples how to avoid this BUT ... they are using the CreateBufferedCopy method and I cannot find it on the silverlight2 Message object: Microsoft has also this sentence in the silverlight doc : http://msdn.microsoft.com/en-us/library...

iPhone Application - How can one View call a method in another View?

I'm making a simple tab bar iPhone application. It has two tabs, one with a UIWebView and the other with a few text fields to hold settings, and a button to save the settings. What I want to do is reload the UIWebView when the user clicks save on the settings tab/view. I already have it saving the settings, I just need to figure out h...

Logging WCF message sizes

I am using WCF to send some Linq objects across the wire. I want to log message size either using Message logging or tracing. I don't however want, or have the ability to use the config file to set this up. I am struggling to figure out how to do this programatically. I don't care if this happens at the host of client. I control both. D...

How can my app find the sender of a windows message?

I have an app which uses a keyboard hook procedure in a library. The wParam in the hook for one message is 255 which we think is "(reserved / OEMClear)". I'd like to work out the source of this message as it causes my application to crash in the library, and given it shouldn't be happening it would be good to identify it. The message com...

Protocol Terminology: Message versus Packet

In practice, what is the most appropriate term for the communications transmitted over a network in higher level protocols (those above TCP/IP, for example)? Specifically, I am referring to small, binary units of data. I have seen both "message" and "packet" referred to in various client/server libraries, but I was interested in the com...

Pass a message to another exe from an exe C#

I have two exe running, c# console programs. From one, I need to tell the second exe to do something? How... ? I looked at (Remotable.CommonAssembly)Activator.GetObject(typeof(Remotable.CommonAssembly) but from here i can call a method of the CommonAssembly(referenced dll) not the exe one's. ...

How to send an alert message to a friend in the same network?

I would like to send some messages to my friend who is in the same network as mine, but I do not want him to confirm any password or registration. Just a pop up windows appears on his screen. Any suggestion, please? Windows Vista is my OS, however If you could provide the tips which could pass across OS Plateform like Linux to Windows, o...

The format of message was invaild in SQL WebMerge Replication

Hi, We are looking into web synchronization between SQL2005 standard & offline clients using Express2005. When I create subscription and synchronize for first time it works fine. But when I reintialize the subscription and synchronize it is giving me below error. "The format of a message during Web synchronization was invalid. Ensure ...

Post a message to a remote JMS queue using JBoss

This looks simple but I can't find a simple answer. I want to open a connection to a remote JMS broker (IP and port are known), open a session to the a specific queue (name known) and post a message to this queue. Is there any simple Java API (standard if possible) to do that ? EDIT Ok I understand now that JMS is a driver spec jus...

Can log4net count how many error traces have been logged?

Hi all, For a C# regression test simulation of some hardware we're using log4net to trace the execution of the simulation. Errors are logged every time something goes wrong, and there should be zero errors, of course. We use the error count to determine pass/fail of the test, currently we search the log for ERROR to determine this. I...

Writing a stream protocol: Message size field or Message delimiter?

Hi all, I am about to write a message protocol going over a TCP stream. The receiver needs to know where the message boundaries are. I can either send 1) fixed length messages, 2) size fields so the receiver knows how big the message is, or 3) a unique message terminator (I guess this can't be used anywhere else in the message). ...

Forcing the user to enter a property using Maven

Hello all, What I want to do is this: I have a pom.xml that depends on some property that the user will have to type as he calls mvn by an -D property. The problem is, if the user don't give me this option, the mvn should fail with an custom error message, as "This program won't compile because you must define this property..." Does ...

CDockablePane as a tabbed document does not send WM_SETFOCUS or WM_MDIACTIVATE

I have a class derived from CDockablePane. I need to do something when the view is focused, so I handle WM_SETFOCUS and it all works nicely most of the time. But when the pane is docked in Tabbed Document mode (TDI), and the user activates it, the WM_SETFOCUS is not called. I used Spy and noticed the WM_MDIACTIVATE message is sent to t...

problem with resx files Compiler Error Message: CS0101

In .NET application I have four different resx file with different name UITranslation.ba-Latn-BA.resx UITranslation.hr-HR.resx UITranslation.resx UITranslation.sr-Cyrl-BA.resx Solution is publised on Windows server 2003 Service pack 1. After browse from iis I got following error: Line 24: [global::System.Diagnostics.DebuggerNonUse...

How would I create an asynchronous notification system using RESTful web services?

I have a Java application which I make available via RESTful web services. I want to create a mechanism so clients can register for notifications of events. The rub is that there is no guarantee that the client programs will be Java programs and hence I won't be able to use JMS for this (i.e. if every client was a Java app then we coul...