Click here to Skip to main content
15,902,860 members
Everything / Message

Message

message

Great Reads

by cjmakwana
This article outlines the C# code implementation for the popular message broker pattern generally used in common problems which involves brokering of messages with arbitrary type.
by VIGNESH SUKUMAR
Simple Message only BizTalk Project
by Ayush Swiss
Establish the communication between WebView2 and JavaScript by which you can send and receive the message via WebView2
by axuno
Take this ready-to-use VBA module for MS-Outlook, that lets you export all mail messages selected in the current Outlook email browser to the file system.

Latest Articles

by Jason Sultana
Understanding and preventing Newline Injection
by Wessel Beulink
As someone who frequently employs Logic Apps – Azure’s fantastic low-code solution – I’ve come to appreciate its wide range of actions and connectors. One of the keys to this balance? Solid documentation!
by DotNetLead.com
How to build an OpenAI chat application using Angular, ASP.NET API, and Azure
by Ștefan-Mihai MOGA
How to save a message to an MSG Compound file.

All Articles

Sort by Updated

Message 

5 Dec 2011 by #realJSOP
No, there's no such message.
12 Jul 2012 by a_daish
Hi All,Wondered if you could help.Putting together a Twitter desktop client together in Visual Studio 2010 using Visual Basic for a project. The Twitter client works a charm but I'm trying to figure out how to receive socket messages from third party applications. It needs to be able to...
17 Dec 2012 by Abhishek Pant
Here is asp.net we do not have direct message box like windows forms but have confirmatation box or alerts message or popups using javascripts Simple MessageBox functionality in ASP.NET[^]ASP.NET MessageBox[^]ASP.Net Message Box Alert Display[^]here is simple example using...
26 Nov 2010 by Achilleas Margaritis
C++0x Dynamic Message Passing Ala Objective-C
20 Feb 2014 by agent_kruger
I am developing an app. is there any way to send SMS to other mobile by pushing command to the connected mobile to pc to send SMS. I am working on windows form any help will be appreciated.refer this image http://imageshack.com/a/img199/9882/jeof.jpg[^]
9 Jun 2011 by Akash Agarwal
Hi,My company has newly build an App server which has the following configuration,Java Version - 1.6.0_21Java SE Runtime Env - build 1.6.0_21 - b07Operating System - Windows Server 2008 R2 EnterPriseRAM - 8 GBSystem Type - 64 bitWebSpeher MQ Version : 7.0.1.3My jar files on...
13 Jan 2014 by akhil.krish
" CssClass="Delete" onclientclick="return confirm(" ")" Width="75px" Font-Bold="True" /> is not working ..... i want confirmation global...
21 Jun 2011 by Albert Holguin
Well, one quick way of doing this is to just derive your classes from the same base but don't include the SetWindowText() to the secondary CEdit in one.With a derivation sort of like this (where CEdit is whatever common base you want): class CEditSetTxt : public CEditclass CEditFinal ...
6 Sep 2012 by Ali_100
The method is here,The file name extract which is unziped successfully, but when i goto the directory & try to delete it,but it says it is using by another program,what i got missing? public static void UnZipFiles() { ZipInputStream stream = new...
21 Jul 2012 by Allen Qake09
What can I make to a window to NEVER receive any WM_ message ? OR atleast to not process or apply them? Or to discard them from the Message Queue ?Can those functions be helpful ? :-GetMessage function ? or-DispatchMessage function ? or-PostQuitMessage...
22 Jul 2012 by Allen Qake09
I want to make my browser's window to NEVER process or apply or receive or whatever any WM_ messages received, like WM_KILLFOCUS or WM_PAINT !So can it be done ? ( something like overwriting the WndProc maybe ? )Right now I'm coding in the AutoIt script-language, so if it can be possible...
18 Dec 2012 by Am Gayathri
In my Asp.net website i want to display one message box. I tried System.Windows.Forms;but am getting error message as;Error 2 The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference?)
18 Dec 2012 by Am Gayathri
This is possible in web forms try this below code, Message.show("");but first add using System.Windows.Forms;it will work.
15 Oct 2010 by Andre Trollip
A simple set of classes to make creating Peer to Peer messaging easy using UDP. Features built-in message concatenation and delivery receipts for reliable transmission.
29 Mar 2015 by Anshumaan C
I have the following Request xml: ...
31 Jan 2016 by Aravind Suresh Babu
Hi,I am trying to access a webservice whose WSDL is http://ec.europa.eu/taxation_customs/dds2/eos/validation/services/validation?wsdlBut on calling the method , I got the below error. Client found response content type of 'text/html', but expected 'text/xml'. The request failed...
24 Dec 2013 by aravind06
I am using IBM Websphere message queue (MQ SERIES).Through my code i am sending a message to the message queue and before retriving the meaage from the other end ,I am sending another message to the same message queue,Will the previous message in the message queue is overwritten by my new...
1 Aug 2013 by Aren Nov
Hi codeproject gentlemen,How can I find the handle of a new window when is about to get created/opened by another window BUT before the OS will display it, because I want to imediately kill that new window for not interrupting my other running tasks on the desktop, by stealing the focus....
26 Apr 2012 by armagedescu
I had problems with WM_TIMER messages not coming to window. Maybe it is not the same. I solved it by using PeekMessage instead of GetMessage function. If PeekMessage does not work, then it means the message is not posted in your message queue. In this case you have to do redraw on timer, or...
11 Oct 2013 by ASP.NET Community
This article presents a way to log and mail the errors from any web page.It logs following details -Control on which the error is raisedPage
11 Oct 2013 by ASP.NET Community
How to Send Mail with Error Message DetailsSometimes need to handle error and send it to technical support to handle error and send the solution to
11 Oct 2013 by ASP.NET Community
We all may encounter a problem of validating RequiredField for FCKEditor. Here is the Solution: Your HTML Markup for
11 Oct 2013 by ASP.NET Community
 Today I will show you the message bar which I normally used to display the standard place to display the messages like confirmation, errors,
16 Sep 2016 by axuno
Take this ready-to-use VBA module for MS-Outlook, that lets you export all mail messages selected in the current Outlook email browser to the file system.
1 Mar 2021 by Ayush Swiss
Establish the communication between WebView2 and JavaScript by which you can send and receive the message via WebView2
2 Apr 2018 by Babiiii
Good evening, I've been trying to create my own C# program that can message another Computer within the network. Unfortunately, none works. Please help me to make a C# Program that can pop-up message or notification message another computer within its network. What I have tried: I tried ...
2 Jul 2017 by Balaji1982
Hi,I would like to know the best approach.I have 10 different screens accessing the same table for an unique order number. Once a screen requests a unique number the same is generated and stored in this table and this value is sent back to the screen. This becomes a problem when the...
6 Sep 2012 by bbirajdar
Use File.Close() or enclose the code inside the using blocks like this using(ZipInputStream stream = new ZipInputStream(File.OpenRead(@"c:\DoUnZip.zip"));){ // do your work here }
25 Mar 2013 by Bim Garcia
Implementation of ISO8583 in .NET
19 May 2015 by Bo Li (KAFFEECKO)
Discuss three ways displaying error messages using Angular
6 Jun 2022 by Cameron Grant 2021
I am creating a registration form using the Django framework and I want to display some error messages to the user if they enter the wrong confirm password, or an email already taken etc. I have written the code and it seems to be working, but I...
19 Dec 2012 by CarlosEveris
Hello mates,I'm trying to send a windowsmessage from an app in C# (Compact Frame) to another one in C++ (MFC), both of them in a PDA.In the receiver app (MFC) I realize that I receive the message but I can't read the string message, it shows a little square.This is the code of the...
24 Dec 2013 by CHill60
The answer to your question is no ... messages in MQ Series / Websphere are not overwritten. Your message will remain on the queue until it is explicitly removed by a read. This is usually still true even if there has been a system crash.As idle63 has implied this is quite fundamental to the...
23 Apr 2017 by CHill60
You might be better off posting this at Bugs and Suggestions[^] All "potential spam" is sent to a queue to be reviewed by certain members (I am one of those). The human check lets a lot of stuff through the filter. The general tip for Press Releases is at the top of the forum: Quote: A press...
22 Jul 2012 by Christian Graus
Your best bet is either to NOT try to stop Windows from working, or explain why you want to do this, so we can suggest alternatives. You can't stop the messages from being sent, you MAY be able to hook in to the WndProc and stop them being processed. Please don't ask the same question...
5 Feb 2017 by cjmakwana
This article outlines the C# code implementation for the popular message broker pattern generally used in common problems which involves brokering of messages with arbitrary type.
28 May 2012 by CPallini
If you are using Cocoa then have a look at "Safe, threaded design and inter-thread communication"[^].
19 Dec 2012 by CPallini
You cannot pass a pointer (the string) across process. Have a look at this CodeProject article: "Use WM_COPYDATA to send data to/from C++ and C# Windows processes"[^].
6 Jan 2016 by CPallini
Do you mean something like jabberd[^]?
12 Dec 2017 by CPallini
It exits because you have designed it to do so: both your client and server threads terminate upon receiving the first input data. This way, after first data receival, the receiving endpoint is no more active.
21 Jan 2020 by Csabatom
Server starts up, and client connects, it is multithreaded, and the main point is to broadcast the message, that it got fro the server. However, when a client disconnects(gets forcibly closed), it still tries to run the ClientListener method(underlined) SERVER CODE: using System; using...
25 Jun 2010 by Dalek Dave
Good Question, but I shall leave it to others to solve :)
3 Nov 2013 by Dave Kreskowiak
Then you're going to have to change the options as you've set them in Internet Explorer. The WebBrowser control will follow those settings only. There are no such options to change in the WebBrowser control. It is, after all, just a wrapped copy of IE.
7 Dec 2013 by Dave Kreskowiak
There is no application I know of that will show you the data. An ICMP packet normally does not make it high enough up the network stack for that data to be shown. An application would have to be specifically written for the purpose and running on the target machine, with someone logged in at...
16 Dec 2009 by David Nash
A simple Windows Framework that beginners and intermediate programmers can use as an alternative to MFC. It makes learning to program for Windows easier.
16 Feb 2015 by DavidGeirola
hi i'm david and i'm new in this site, i'm here because i have a problem with my solution of Client-Server communication.I have created 3 classes 'STransferMessage', 'SServer' and 'SClient'.SServer and SClient extend STransferMessage, i thought it might be the best solution because more...
21 Jun 2011 by derkoni87
Hi,is there a chance to disable the messaging system for a particular window dynamically during runtime? Looking at my application, I have got a CEdit control (lets say Edit1) and a handler routine which will be called on EN_CHANGE notification.The message handler now invokes...
22 Apr 2015 by Dev O'Connor
Evening All,Hoping you can offer some advice here. I am trying to get the control name of a window from another application. I have managed to get the hWnd via a class pre-written by another user (Obtained from Codeproject).So i am declaring the SendMessage as follows:Declare...
22 Feb 2012 by DontLaughtIMLearning
Hello,I'm not a computer savy or programing guru (just an average one).From Google i got "Instant Bird" and "Pidgin" as open source software for instant messaging..Ok, they are open source, but can i used them on cellphones, just like whatsapp is used?If yes, what should i do to use...
13 Oct 2023 by DotNetLead.com
How to build an OpenAI chat application using Angular, ASP.NET API, and Azure
21 Jan 2020 by Doug- VisualBasic VB.NET
When your client disconnects you should get a disconnect event on your server. Use it to terminate the the thread of the client on the server. Then you will not be trying to access it again until it reconnects. However, I am not sure the client disconnect is causing the error. In your while...
26 Apr 2012 by druscelli
Hello to everybody,I have an application that show video images but sometimes stop paint frames.After experienced this problem I did some debug with spy++ and found that windows messages don't come to my window therefore it doesn't repaint, unless I go with mousepointer on the window and...
16 Jun 2014 by Ehouarn Perret
Hi,I'm designing some C# .NET drivers for communicating with industrial equipments, mainly for testing purposes.The communication is based on text messages (a start(@/#) and stop(;) flags).The start flag is different when receiving(#) and sending(@) data.I started to create a...
23 Jun 2014 by Ehouarn Perret
Hi there,This is a long long long post... I'm afraid that I cannot really make it shorter, so please be indulgent with me :)Well, I'm trying to design an API.NET for communication with Testing Equipment and I cannot figure out a proper way for designing the architecture.Basically, we...
24 Feb 2013 by Esmaeil Ebrahimi
hi allmy cms message some time appear in page that php code execute in it (php code in index.php and message appear in top of index.php) , and some time they appear in white page ...now i want all message of my cms appear in same place (like popup div or one page or else)i want a php...
21 Mar 2013 by Espen Harlinn
Assuming you're using Visual C++, you could use COM, here is a pretty nice tutorial: A Beginner Tutorial for Writing Simple COM/ATL DLL For VS2012[^]Delphi works pretty well with COM, so accessing the COM object should be quite easy.Best regardsEspen Harlinn
17 Oct 2012 by fjdiewornncalwe
The place to ask this question would be here[^], which is the vendor's support site.
7 Dec 2013 by footballpardeep
public static void ComplexLocalPing () { // Ping's the local machine. Ping pingSender = new Ping (); IPAddress address = IPAddress.Loopback; // Create a buffer of 32 bytes of data to be transmitted. string data =...
14 May 2023 by G Schulz
Why do this message not go through? [DllImport("user32.dll")] public static extern int SendMessage(IntPtr hWnd, uint wMsg, int wParam, int lParam); IntPtr PID = FindWindow(CLASSNAME,WINNAME); SendMessage(PID,...
22 Feb 2012 by Ganesan Senthilvel
I think WhatsApp Messenger is a smartphone messaging app which allows you to exchange messages with your friends and contacts without having to pay for SMS.As an alternative, Meebo supports multiple IM services, including Yahoo! Messenger, Windows Live Messenger, AIM, ICQ, MySpaceIM,...
25 Jun 2010 by GeniusMchlahla
I entered the South African Computer Olympiad for high school students. I found it relatively easy. It was not much of a challenge, with the exception of one particular question. The question proposes an alien language, which uses only one character to write with, '%'. The full problem can be...
4 Oct 2016 by H.AL
I have a webservice with multiple methods. one of those methods should send messages to our clients. Those messages should be stored in our oracle database, so the mobile app developper retreives these data and displayed in a popup in the application.What is the best way to store this data? in...
3 Nov 2013 by Hadi Ayash
Hello,I am using the web browser control in my vb.net application, but it keeps sending me annoying error messages. I want to prevent it from sending any error message.
19 Feb 2013 by hans.sch
I wonder whether it is possible to send or post a Window message, such as WM_COPYDATA, to an application that is running on a different computer on the same network. I guess the answer is "no" but if someone has different experience, please tell - and say how I can get a window handle for that...
14 Jul 2020 by honey the codewitch
This article explores a message passing mechanism for safe thread to thread communication
15 Jul 2020 by honey the codewitch
How to implement a complicated multithreaded message passing scenario
21 Mar 2013 by iDebD
Hi, Let me try to explain my problem here.I have a DLL, it is written in C++. It monitors all print objects for incoming print jobs (Through a Thread)and then fetch some information from print details. Upto here it is OK. Now I have to send this information to delphi project who loaded this...
1 Apr 2013 by iDebD
C++ DLL: "MyDll.dll"/////////////////////////////////////////////////////typedef HRESULT (CALLBACK * CALLBACKPROC)(DWORD wEvent,LONG_PTR arg,PVOID pParam);/////////////////////////////////////////////////////CALLBACKPROC g_pCallback = NULL;LPVOID g_pCallbackParam =...
25 Apr 2011 by Igor Ladnik
The article discusses a RESTful WCF based mechanism for server-to-client asynchronous (Push) notifications in web applications. Execution of WCF service notification method is suspended until either server event or timeout lapse.
27 Feb 2014 by imbaro
Hi, I am writing a code, trying to connect to JMS, so I am using IConnectionFactory class, and creating a connection. the server i'm connecting to does not exist and the default timeout is 60 sec.while trying to connect, CPU is 100% and gets released only when time out occures.i know it's...
17 Jan 2012 by JackDingler
I see something else here...The '\' character is a control character in C/C++.If you want it expressed as a string literal then use, '\\'.Try this:char name[MAX_PATH] = "E:\\Net-Worm\\Groups\\Worm\\Worm.Win32.Socks.gh";
26 Apr 2012 by JackDingler
If windows doesn't know that your window needs to be repainted, then it won't send a WM_PAINT message.This isn't a message that you should use to drive animation. You can't depend on Windows guessing when you'll need it.You have two options that you may try for this scenario.Use the...
3 Mar 2024 by Jason Sultana
Understanding and preventing Newline Injection
24 Feb 2014 by jcyangzh
Yes, you are right. Just subclass to a new wndproc, it should be safe, sample code:LRESULT CALLBACK MenuButton::WndProc( HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam ) { TRACE("menubutton::wndproc message = %x, wparam = %x\n", message, wparam); if (message == WM_KEYDOWN &&...
5 Jun 2013 by Jeankininho
HelloI'm working with MessageQueue and I'd like to know if there a way to know if there are message on Queue or not. I'm using it, but is too slow:private bool HasMessage(){ return _MessageQueue.GetAllMessages().Count() > 0;}I'd appreciate if someone know a easy way to...
16 Sep 2013 by Jeankininho
HiBasically, I'm using the class of .Net MessageQueue, I send a Message with FileName to a Queue, but I've received many errors from the Machines that consume the Queue like "File doesn't exist" or "FileNotFoundException". The machines supposed to delete the files.If someone familiar...
7 Jan 2022 by Jeankininho
My problem is little confusing, I have 2 servers (Windows Server 2008 R2) with MSMQ installed and I want consume a MessageQueue are in Server A from Server B, but when I try to Receive always throw a message error: "Access to message queuing system is denied.".IP between them.Server A:...
29 Oct 2013 by Jeankininho
After many hours and much sweat HALLELUJAH.The answer is:In "Server Manager">"Features"> Right click in "Message Queueing">"Properties">Tab "Server Security" and disable the option "Disable un-authenticated RPC calls".
18 Jan 2012 by jk chan
By seeing HWND_BROADCAST i guess you are sending this message to an another process.If the second application is a different process, you cannot send the address of a local variable in your function. Each process has its own memory space.Possible solutions: use inter process tools like...
24 Nov 2010 by Kambaa
How to check whether .NET is installed in PC Visual Basic 6 code
21 Jun 2011 by KarstenK
overwrite PreTranslateMessage and handle the messages your way. Tip: best is to call the default PreTranslateMessage at the end
16 Jul 2020 by Kevin Mack
When storing data in Azure blob storage, the process of upload a blob is fairly straight forward, and all it takes is setting the access tier to “Archive” to move data to blob storage.
4 Nov 2012 by Khalid Farhan
sending emails through c# desktop based application
7 Feb 2017 by KianTing
MuleSoft provides a good structure of documents for developers to learn about its types of variable and properties, but as we all know reading and understanding the concepts is good, but you never beat the act of actually rolling up your sleeves and practicing it in a lab exercise. Learning from exp
16 Mar 2013 by kk2014
Hi all,i got the below issue while sending mail from my VB 6.0 application.The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was availableI have tried to replicate but no luck.can anybody tell me is this problem is from...
20 Aug 2013 by kkklko
hi I want to get all messages in message queue in linux,could you give me some tips?many thanks!
21 Aug 2013 by kkklko
hi i want to post a message to a message queue of a process,but i do not know how to get the message queue of the process.could you give me some help? -kkklko
6 Jan 2016 by kubibay
Hi,We want to build a mobile chat application. So we will need an xmpp c# host application.Do you have any suggestions? I know agsxmpp-sdk but it is not free.
5 Jul 2012 by kyawwinmin
EDI Message INVRPT (Inventory report) Type 632 (Goods Receipt) Donaldson standard reader for vb.net code
4 Nov 2012 by lalit je
I need to send msg from rendom e-Mail id which should fetch from access/sql data baseand the text/html file format or page should be attached with email.Can any one help me regarding this.Lalit (Software developer)
8 Nov 2010 by Lee Henderson
Easy to use macros provide typesafe Windows message passing with call semantics.
4 Aug 2014 by leon de boer
Button commands are usually sent as WM_COMMAND with the wParam with the button ID.
5 Aug 2014 by leon de boer
It's not working because you are posting the WM_COMMAND command to the button not the dialog the button is in.You need to understand a button posts it's button ID to the window containing it and the lParam should be the handle to the button the handle you are currently posting the message...
16 Jan 2012 by lilyNaz
Hi, I need to send a message to another application and pass a string using LPARAM Sending Application:const UINT WM_GAURD_WINPROC = RegisterWindowMessage( "GAURD");char name[MAX_PATH] =...
20 Jan 2022 by Luc Pattyn
I tested this C# code snippet on Win 10: NotifyIcon ni = new NotifyIcon(); ni.Icon = SystemIcons.Exclamation; ni.Visible = true; ni.ShowBalloonTip(1000, "title", "text", ToolTipIcon.Error); It shows a permanent notifyicon in the taskbar and a...
30 Sep 2010 by M Sheik Uduman Ali
This article explains how to generate, convey and handle warnings in SOA system.
18 Apr 2014 by Mahmoud_Mohamed
Hi. I am a new with SignalR .. I would like to develop a solution that have two project one web and other is window. Using SignalR realtime messaging deliver. That enable chatting between the Webform and the Window form and only saving messages in windows. Any Help Smile Like references or ideas...
16 Apr 2013 by Manfred Rudolf Bihy
There is a way of checking if the screensaver is still running. See the discussion on MSDN: Screen Saver notifications[^]. nobugz[^] answer shows how to pinvoke SystemParametersInfo to poll the current status of the screensaver.Google search: "C# screen saver running"Regards,—...
23 Oct 2011 by mardul
Hello,how can i intercept WM_NCPAINT message of a popup menu window created with CreatePopupMenu and displayed with TrackPopupMenu? Is there a way to assign an application defined WindowProc to a menu having only a HMENU handle?I can get the handle to the popup window in the parent...