message

Messaging Protocol

How should I design my message protocol so that I distinguish between user data and termination of the message. For example I take input from user to send it to client over TCP/IP, now the client-side needs to know the length of message, what I thought that I use some kind of termination by which the client recognizes that message end h...

MessageBox not working on PageLoad

Hi, I am trying to do a Messagebox.show on my asp.net page load event, and I can't see the messagebox object in IntelliSense. How come? ...

Removing Message from Queue only if user does some operation

We are having MVC application which reads data from MSMQ. We are trying to find out a way to read message from queue and remove it from queue only if user has done a successful operation on the queue. The message should remain in the queue until user completes the processing, the message should not be available to anyone else until the u...

VSTO Message Store Provider Message

Hi all, I wonder if i can use the VSTO to create my custome message store 's mailitem. if yes, how do to it.. Thanks. ...

VB6 quitting while debugging with active Windows message hook

One of our largest old VB6 apps has some code in it to allow other apps (including some dotNET ones) to pass an ID to it via a Windows message - this ID is then used by the VB6 app to load an entry in a regular Windows form. The message hook is added after the user is logged in and authenticated, and removed once they logout. Public Sub...

Java HTTP post for XML SOAP message

How to expose / publish services using Java HTTP post for XML SOAP message. What are all steps need to follow. I did googling but haven't found any thing about exposing / publishing services. ...

Axis + SOAP message + How to expose services

I need to expose web services. I got a SOAP request XML structure and a SOAP response XML. By seeing the SOAP XMLs structure, i am not able to identify, which kind of web service (rpc/encodec or doc/literal or wrapped/literal) i have to expose. Which tools, i need to use to expose the services. SOAP Request XML ...

How to send a CBN_SELCHANGE message when using CB_SETCURSEL ?

When using the CB_SETCURSEL message, the CBN_SELCHANGE message is not sent. How to notify a control that the selection was changed ? P.S. I found on the Sexchange site, a very ugly hack : SendMessage( hwnd, 0x014F/*CB_SHOWDROPDOWN*/, 1, 0 ); SendMessage( hwnd, 0x014E/*CB_SETCURSEL*/, ItemIndex, 0 ); SendMessage( hwnd, 0x0201/*WM_LBU...

Outlook Automation from c# - suppressing validation messages.

Hello All, I am invoking a new meeting window from my outlook addin and allowing user to create new meeting and send. When user does not enter subject or location, i am validating (with yes/no buttons to continue) them and when i call .send() method on outlook interop object it is also validating and popping up the message. So, its doub...

How to change boilerplate "Sent from my iPhone" text in MFMailViewController message body?

I'm using the MFMailComposeViewController to send an email from within an iPhone v3.0 application. I programmatically create the message body text and display it before showing the picker. At the bottom of my message body text is the string "Sent from my iPhone." Is there anyway to modify this text or prevent it from appearing? A cursor...

How to disable warning in xcode on specific line ?

I've got a call like this [Class method] and a warning saying that Class may not respond to "method" message. The "method" message does not indeed exist but my code use unknown message catching (using forwardingTargetForSelector) so it will run fine and it is build to run that way. How can I hide this annoying warning ? ...

Django override default form error messages

Hi all, How can I overwrite the default form error messages (for example: need them in other language) for the all apps in my project (or at least for 1 app) Thanks! ...

Displaying text with VBScript when running from command prompt issue.

I have a script that pings a list of computers and tells me if I can be reached. For each computer I would like it to display whether or not it was reached on the command prompt, not as a pop-up message. I did Wscript.Echo, but it does a pop-up for each computer so it's really annoying to have to click OK over a 100 times. How can I mak...

Prevent Form Deactivate in Delphi 6

We have a Delphi 6 application that uses a non modal form with in-grid editing. Within the FormClose event we check that the entries are square and prevent closure if they're not. However, if the user clicks on the main form behind then the original form disappears behind (as you'd expect) but this allows the user to move to a new recor...

How can I communicate between two C++ MFC plugins?

I have a plugin for a c++ MFC app. I'm working with the developer of another plugin for the same app, that's trying to get notifications of events in my code. Both plugins are in the form of c++ dlls. How can I pass messages from my plugin to his plugin? The solution needs to be robust to mismatched versions of our two plugins, as we...

call javascript

Hi, I try to show to user a message with javascript. I have a button and this button does something like, Label1.Text = "Hello world"; //javascript code Firstly, label1.text will "Hello world" after user will see the message. thanks. ...

c# windows mobile Text messaging

Hi! I have mad an application for windows mobile which can do different mobile functions with the numbers the application has. Anyway. I want to start the Text message application and send a phonenumber as an argument. I have only found this: SmsMessage sms = new SmsMessage(); sms.Body = "This is a message"; ...

Should I avoid message inheritance in WCF?

Generally, I try and avoid using inheritance in WCF contracts, preferring composition. But in the following situation... I have a service operation that can result in one of two things: ResultA and ResultB. There is a boolean/enum in the response message to report this outcome. There are a number of other properties in the response ...

How can I tell whether a given MAPI message is incoming or outgoing?

In a COM-addin for Outlook (using Redemption) I need to be able to determine whether a given message that I'm looking at was received or sent (I only want to act on the incoming ones). Simply looking at the parent folder or the recipients or senders will not work in my case as both incoming and outgoing messages might be thrown together ...

WCF message security without certificate and windows auth

I have a WCF service and client which is going to be deployed to several companies (hundreds). Some companies will run the software in their network and some will run it over the Internet (WCF server at on office, WCF client at another). We want to encrypt the communication between the WCF server and client. We don't have any need to au...