|
Hi,
when you add a Control to myForm using Visual Designer, what it does is two things:
1. add code to a file (probably myForm.designer.cs);
2. execute that code, so you see the results immediately.
Have a look at that code, copy it, paste it elsewhere and adapt it according to your needs, and it will do similar things at run-time.
Luc Pattyn [Forum Guidelines] [My Articles]
I use ListBoxes for line-oriented text, and PictureBoxes for pictures, not drawings.
modified on Friday, June 10, 2011 12:27 PM
|
|
|
|
|
You have a Panel class. Create its object and add it to form's controls whenever you want to.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
...
"Well, we're getting "F"'d at work. WPF, WCF, and WWF... WTF?" --John Simmons
|
|
|
|
|
Hi,
does anyone know where the individual character descriptions (not the font name) are held in a .ttf file?
thanks
|
|
|
|
|
|
Not really a C# question but ok, I couldn't find specifically what you searched but a bunch of info is here.[^]
|
|
|
|
|
Hi all,
I am trying to terminate an application on a remote machine. Any ideas on how to do this in C#?
Many thanks in advance
Kind regards,
The only programmers that are better those C# programmers are those who code in 1's and 0's |
Programm3r
My Blog: ^_^
|
|
|
|
|
Yeah, go to the remote location, use the mouse or task manager or kill whatever process you'd like. Otherwise, look into remote access.
|
|
|
|
|
Please do not underestimate my intelligence. In future please keep such answers to yourself.
The only programmers that are better those C# programmers are those who code in 1's and 0's |
Programm3r
My Blog: ^_^
|
|
|
|
|
Your intelligence isn't questioned, your common sense is.
How many times do people post questionable requests here? Hide from task manager? Keylogger? Now remote access to kill applications? Maybe you might wanna brush up on that there intelligence a bit now that I think about it..
|
|
|
|
|
Thank you for the help.
The only programmers that are better those C# programmers are those who code in 1's and 0's |
Programm3r
My Blog: ^_^
|
|
|
|
|
As long as you've been a member here you should realize that this questioned is asked at least once a week. A little research would have given you the answer.
"Well, we're getting "F"'d at work. WPF, WCF, and WWF... WTF?" --John Simmons
|
|
|
|
|
You need to have control over the remote machine and that makes it suspicious. Controlling someones else's system is always on the darker side.
The word "politics" describes the process so well: "Poli" in Latin meaning "many" and "tics" meaning "bloodsucking creatures."
जय हिंद
|
|
|
|
|
ty for countering his -1's, they get annoying when people don't get what they want.
|
|
|
|
|
|
That can only be done if you've got admin rights to the target machine. If not, there's nothing you can do.
Once you have the admin permissions, you can use either the Process class, or WMI and the System.Management namespace to do this. In the later case, you'd be using the WMI Win32_Process class.
Since this is a very sensitive subject, I leave the research up to you. You've been given more than everything you need to research this subject yourself.
|
|
|
|
|
Dave Kreskowiak wrote: That can only be done if you've got admin rights to the target machine
That statement should have come very apperent to some of the other members ...
Furthermore I would like to thank you for the only positive feedback.
Regards,
The only programmers that are better those C# programmers are those who code in 1's and 0's |
Programm3r
My Blog: ^_^
|
|
|
|
|
How can I read barcode with C#? Can you please help me about it?
Thanks in advance.
|
|
|
|
|
This site has enough articles about bar codes, use the search function.
modified 12-Sep-18 21:01pm.
|
|
|
|
|
This question gets asked all the time. Please take a little time to search for the answer.
"Well, we're getting "F"'d at work. WPF, WCF, and WWF... WTF?" --John Simmons
|
|
|
|
|
Hello,
I am doing remote desktop application. In that from client to server connection is made in web but from server, it is not passing any data to client. I have make port forwarding in router.
My router is Pronet PN-54WRT. In virtual server list i have made port as 5001.
Please any one help me out.
Thank you in advance.
|
|
|
|
|
I dont think that its a Router problem. If you can connect to the server and server is not transfering the data, then its a different problem. but in all the cases you have to change settings on server. make sure that the port is open on server. if you have hosted your application on third party web hosting then most of them will not support any TCP/UDP Port to be open.
|
|
|
|
|
Thank you for reply me,
I have used http channel for transmission and 5001 port is used. How can i check whether my port is open or not, and when server is receiving data on the same port then it can send data also.
But i dont know what the exact problem is i have tested on localhost and it works fine.
Is there any other issue?
Help me.
Thank you.
|
|
|
|
|
OK change your port to different number other then 5001. 5001 is known port for virus so it is generally blocked by firewall/antivirus.
and try the following
netstat -ano
command in DOS Command Prompt to get a list of Already Used Ports so that you can use free ports. you can also get the information about connection status. so try to run the command on server, if you have access.
Also try to post the Error Messege which you get. Are you able to make connection to the server ? Have hosted your application on 3rd party server ?
|
|
|
|
|
Thank you,
I have try to change port to 1234 but still same.
I am not getting any error But when i pass command to server for connecting me it connect But after that all the messages from client are going but from server it passes but client is not able to receive.I have debug both, from server it completely passed but from client there is no activity.
Please help me.
Thank you.
|
|
|
|