12-14-2014, 15:05
Old (Click to View)
Hi guys, i dont know where is port my questions... Sorry Mod/admins move in Right theme.
I need in help C# Network. I wanna send command on other PC.
Example: I have comp Z - on her install programm (its programm have function play sound) , I Have comp my friend J - her have programm (it programm can send command /play, and comp Z play sound)
How me released (Make) that? On C# anyway.
If you can give me any reference I'll be grateful to you!
Sorry for my bad English
I need in help C# Network. I wanna send command on other PC.
Example: I have comp Z - on her install programm (its programm have function play sound) , I Have comp my friend J - her have programm (it programm can send command /play, and comp Z play sound)
How me released (Make) that? On C# anyway.
If you can give me any reference I'll be grateful to you!
Sorry for my bad English
C++ Code
- #include <Windows.h>
- #include <iostream>
- #include <MMsystem.h>
- #pragma comment(lib,"winmm.lib")
- #pragma comment(lib,"dsound.lib")
- using namespace std;
- int main()
- {
- int a = 5;
- int b;
- cin >>b;
- if(b<= a)
- {
-
- PlaySound(TEXT("windowsxp.wav"),NULL,SND_SYNC);
-
- }
- system("pause");
- return 0;
- }