Click here to Skip to main content
15,923,376 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DDX Control Problem Pin
peterchen1-Jun-03 18:50
peterchen1-Jun-03 18:50 
GeneralRe: DDX Control Problem Pin
Steven M Hunt1-Jun-03 18:55
Steven M Hunt1-Jun-03 18:55 
GeneralRe: DDX Control Problem Pin
Anna-Jayne Metcalfe1-Jun-03 23:49
Anna-Jayne Metcalfe1-Jun-03 23:49 
GeneralAbout as win32 question. Pin
sunjohn1-Jun-03 17:16
sunjohn1-Jun-03 17:16 
GeneralRe: About as win32 question. Pin
Toni781-Jun-03 20:00
Toni781-Jun-03 20:00 
GeneralRe: About as win32 question. Pin
sunjohn1-Jun-03 22:09
sunjohn1-Jun-03 22:09 
GeneralRe: About as win32 question. Pin
Toni782-Jun-03 12:20
Toni782-Jun-03 12:20 
GeneralNET SEND ~ HELP ME Pin
BoyceMan1-Jun-03 16:48
BoyceMan1-Jun-03 16:48 
ok how do i make a net send program in C++ 6.0, i already know the SYSTEM("net send USER MESSAGE") part, but i want to be able to make USER and MESSAGE variables, where USER would be the name or the place where i would send the message to and MESSAGE would be the message of what was to be sent...YOU CANT DO THIS THE WAY I AM TRYING, an error pops up saying something like USER can not be found on network. also i put in my user name and MESSAGE and the message sent was "MESSAGE", so u cant make a variable for that piece and use it for a large block of message.....please someone help me with this....


here is program i made which doesnt work...


#include <stdlib.h>
#include <iomanip.h>
#include <iostream.h>

int main()

{
char user[20], message[50];

cout << "USER = ";
cin >> user;
cout << "MESSAGE = ";
cin >> message;

system("net send user message");

return 0;
}




//OUTPUT

USER = boycecarter
MESSAGE = hi
An error occurred while sending a message to 'USER'.

The message alias could not be found on the network.

More help is available by typing NET HELPMSG 2273.

Press any key to continue



what do i do???
GeneralRe: NET SEND ~ HELP ME Pin
Ken Mazaika1-Jun-03 17:00
Ken Mazaika1-Jun-03 17:00 
GeneralRe: NET SEND ~ HELP ME Pin
Chris Richardson1-Jun-03 17:20
Chris Richardson1-Jun-03 17:20 
GeneralRe: NET SEND ~ HELP ME Pin
Abbas_Riazi1-Jun-03 19:34
professionalAbbas_Riazi1-Jun-03 19:34 
GeneralRe: NET SEND ~ HELP ME Pin
BoyceMan2-Jun-03 9:09
BoyceMan2-Jun-03 9:09 
GeneralRe: NET SEND ~ HELP ME Pin
Tom Wright2-Jun-03 11:49
Tom Wright2-Jun-03 11:49 
GeneralRe: NET SEND ~ HELP ME Pin
BoyceMan2-Jun-03 11:59
BoyceMan2-Jun-03 11:59 
GeneralRe: NET SEND ~ HELP ME Pin
Abbas_Riazi2-Jun-03 19:52
professionalAbbas_Riazi2-Jun-03 19:52 
GeneralRe: NET SEND ~ HELP ME Pin
Anonymous6-Jun-03 9:04
Anonymous6-Jun-03 9:04 
Generalrotate, mirror, drawn objects Pin
shanila1-Jun-03 16:33
shanila1-Jun-03 16:33 
QuestionHow to add bar containing icons in my CFileDialog? Pin
julych1-Jun-03 10:47
julych1-Jun-03 10:47 
AnswerRe: How to add bar containing icons in my CFileDialog? Pin
Mahesh Varma1-Jun-03 23:57
Mahesh Varma1-Jun-03 23:57 
AnswerRe: How to add bar containing icons in my CFileDialog? Pin
Anna-Jayne Metcalfe2-Jun-03 0:01
Anna-Jayne Metcalfe2-Jun-03 0:01 
Generaldouble to string Pin
IceMatrix1-Jun-03 10:09
IceMatrix1-Jun-03 10:09 
GeneralRe: double to string Pin
User 66581-Jun-03 11:13
User 66581-Jun-03 11:13 
GeneralRe: double to string Pin
melwyn2-Jun-03 4:57
melwyn2-Jun-03 4:57 
GeneralRe: double to string Pin
Anna-Jayne Metcalfe2-Jun-03 0:05
Anna-Jayne Metcalfe2-Jun-03 0:05 
GeneralRe: double to string Pin
Trollslayer2-Jun-03 1:07
mentorTrollslayer2-Jun-03 1:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.