473,408 Members | 1,767 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

message send code

553 512MB
Using Windows messenger service, would it be easier to communicate with some other PC using your code..... so that we dont have to do the rest of the work of setting receiving end up, etc

can anyone guide how to write a code just simply to send a message to another machine - similar to net send...

I dont want to use existing netapi32.dll or anything else.

Thanks experts
Aug 7 '07 #1
13 4031
Rabbit
12,516 Expert Mod 8TB
net send [ip address] [message] is the command line syntax for sending an alerter message over the windows messenger service. However, most machines have this turned off for security reasons. The Call Shell() function will allow you to use command line.
Aug 7 '07 #2
abolos
65
Using Windows messenger service, would it be easier to communicate with some other PC using your code..... so that we dont have to do the rest of the work of setting receiving end up, etc

can anyone guide how to write a code just simply to send a message to another machine - similar to net send...

I dont want to use existing netapi32.dll or anything else.

Thanks experts

You may use this:

Shell ("c:\windows\system32\net send <computer name> hi")
Aug 8 '07 #3
questionit
553 512MB
guys

i have requested help in writing a program similar to net send in VBA !!


You may use this:

Shell ("c:\windows\system32\net send <computer name> hi")
Aug 8 '07 #4
Rabbit
12,516 Expert Mod 8TB
Why reprogram net send when that's already built into Windows for you?
Aug 8 '07 #5
questionit
553 512MB
Well, Rabbit

there are lot of things i may need to change.. for example

i dont want to show where the message came from , etc

basically, i want to learn how to code this


Why reprogram net send when that's already built into Windows for you?
Aug 8 '07 #6
missinglinq
3,532 Expert 2GB
I'm afraid most of us here are too busy answering questions for people with real problems to spend time trying to help you re-invent the wheel, especially when your stated reason for doing so is that you can send messages to the computers of others without the recepients being able to know who has sent the messages. To be honest, this sounds as if it's bordering on unethical behavior.

Linq
Aug 8 '07 #7
Rabbit
12,516 Expert Mod 8TB
I'm afraid most of us here are too busy answering questions for people with real problems to spend time trying to help you re-invent the wheel, especially when your stated reason for doing so is that you can send messages to the computers of others without the recepients being able to know who has sent the messages. To be honest, this sounds as if it's bordering on unethical behavior.

Linq
I quite agree. Besides, in a different thread I already posted the gist of what you would need to code network communication between two computers. Whether or not you expend the effort to learn how to accomplish it is up to you. We are not here to code your whole program for you.
Aug 8 '07 #8
missinglinq
3,532 Expert 2GB
Questionit,

I've just spoken to our site administrator, and have been told that should anyone give you the code for sending messages so as to hide the name of the sender, we will remove the post!

Linq
Aug 8 '07 #9
questionit
553 512MB
Well,

as before, you all have misunderstood.

i never asked for a full and working code for this.

i said hiding the source information as an example of making some changes to the existing code - there could be many things i would like to change or add or delete.

i just wanted an idea how the code would be written.

and also, can moderators exaplin why code posting by anyone will be removed ? I dont see any removal of code postings when it has to do with anythign other than networking - i have never had any VB code posted to me removed before !!

this is just unacceptable unless you people can justify why

Questionit,

I've just spoken to our site administrator, and have been told that should anyone give you the code for sending messages so as to hide the name of the sender, we will remove the post!

Linq
Aug 14 '07 #10
JKing
1,206 Expert 1GB
Well,

as before, you all have misunderstood.

i never asked for a full and working code for this.

i said hiding the source information as an example of making some changes to the existing code - there could be many things i would like to change or add or delete.

i just wanted an idea how the code would be written.

and also, can moderators exaplin why code posting by anyone will be removed ? I dont see any removal of code postings when it has to do with anythign other than networking - i have never had any VB code posted to me removed before !!

this is just unacceptable unless you people can justify why
In all fairness you often fail to give a full clear and concise explanation of your problem. Because of this the experts often struggle to get to the root of your problem and misunderstandings consistently occur.

You have not provided any legitimate reason as to why you would be hiding sender information and none of us can fathom one either. This leads us to the conclusion that the code will be used for malicious, destructive and or illegal actions. This is why we won't nor will we let anyone else divulge this information. TSDN does not support, condone nor promote the use of code for malicious, destructive or illegal actions.

I am sorry if this was not your intent but because of your lack of a clear explanation this is how it has been viewed. In any case this information should not be posted because this is a public forum and anyone can view it.
Aug 14 '07 #11
questionit
553 512MB
Well,

if someone simply wants to learn how to do such things will never come up with a specific reason why he wants to do it.

He is a learner , he wants to know how these things can be done.

All i find is that what you guys are doing is not fair.
I dont expect you people asking me my identity and qualification and current role to allow expert answering my question..

if in this forum , revealing such information is not allowed, the post should have been closed long time ago by the moderators, but it was never.

If i say i am a professional developer working for a big IT company, would any one believe, no one...

so there is no point .. actually on the website main page, there should be a banner displaying message to all that all such kind of information like to that i am asking will never be provided to anyone!




In all fairness you often fail to give a full clear and concise explanation of your problem. Because of this the experts often struggle to get to the root of your problem and misunderstandings consistently occur.

You have not provided any legitimate reason as to why you would be hiding sender information and none of us can fathom one either. This leads us to the conclusion that the code will be used for malicious, destructive and or illegal actions. This is why we won't nor will we let anyone else divulge this information. TSDN does not support, condone nor promote the use of code for malicious, destructive or illegal actions.

I am sorry if this was not your intent but because of your lack of a clear explanation this is how it has been viewed. In any case this information should not be posted because this is a public forum and anyone can view it.
Aug 14 '07 #12
Rabbit
12,516 Expert Mod 8TB
Well,

if someone simply wants to learn how to do such things will never come up with a specific reason why he wants to do it.

He is a learner , he wants to know how these things can be done.

All i find is that what you guys are doing is not fair.
I dont expect you people asking me my identity and qualification and current role to allow expert answering my question..

if in this forum , revealing such information is not allowed, the post should have been closed long time ago by the moderators, but it was never.

If i say i am a professional developer working for a big IT company, would any one believe, no one...

so there is no point .. actually on the website main page, there should be a banner displaying message to all that all such kind of information like to that i am asking will never be provided to anyone!
We are not asking you to identify yourself. What we want to know is why you need to do what you want to do. As mentioned before, we will not further any motive with malicious intent. We want to know your intent, not identity. You said you're a learner, but that's an identity, that doesn't tell us your intent.

As for giving you the basics of what is needed for a working networking application, I've already outlined that in one of your other posts. Whether or not you implement it is up to you.

And if you haven't noticed we do have Posting Guidelines. But to ask us to make a banner is unfeasible. The posting guidlines is several pages long. That would make for a huge banner. The fact that you failed to notice and read these guidlines which are stickied at the top of each forum is your own fault.
Aug 14 '07 #13
MMcCarthy
14,534 Expert Mod 8TB
This question is now closed to futher posting.

To make it very clear. It does not matter why you want to know how to hide the sender. Because this code could be used by anyone viewing it for illegal or malicious purposes we will not provide it or allow anyone else to.

Any post containing code that can be used for this purpose will be deleted.

ADMIN
Aug 14 '07 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Hugh Welford | last post by:
Hi Using WIN XP and FP2000 Using CDO.message to out put a message from my site, I get the following error message 8004020f from using the code:- strsql = "SELECT * FROM details WHERE patid...
1
by: Jens Øster | last post by:
Hi I am writing a ASP.NET web application that must sent some e-mails. I get the exception “Could not access 'CDO.Message' object” when I call SmtpMail.Send. This only happens when I send...
3
by: Jens | last post by:
Hi I am writing a ASP.NET web application that must sent some e-mails. I get the exception “Could not access 'CDO.Message' object” when I call SmtpMail.Send. This only happens when I send...
2
by: Martin | last post by:
Hi, I have standard code that sends mail from an asp.net application. The application is running on a production web server. it uses the standard system.web.mail namespace. most of the time...
5
by: Alain | last post by:
Hi, I am trying to figure out why I get the following error when I try to send a mail from an ASP.NET (1.1) application. When I use the same code from a Windows exe then the code works...
3
by: BuddyWork | last post by:
Hello, Could someone please explain why the Socket.Send is slow to send to the same process it sending from. Eg. Process1 calls Socket.Send which sends to the same IP address and port, the...
5
by: Robert Dufour | last post by:
I am trying to use framework 1.1 - stuck with it. to send emails from a windows form application. The email messages can have attachments, usually two and they can be either text or sounds (wav...
8
Atran
by: Atran | last post by:
Hello Everybody, I want to send a message to somebody email using C# I have the right code but when I run the application it shown the "ArgumentExecption was unhandled" error, it is been yellow, it...
7
by: Guy Davidson | last post by:
Hi Folks, I'm having some issues with an small socket based server I'm writing, and I was hoping I could get some help. My code (attached below) us supposed to read an HTTP Post message...
3
colinod
by: colinod | last post by:
I have a small code to send emails from a folder within the drafts in outlook 2007 I am trying to add a yes/no question message before the messages are sent, just incase someone click the button...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.