Whehe, that means that you are good at it - not me.
nah i got question, chatroom is something that everyone sees every word. so
if server receive text from 1 client, server should loop and send it one by one
Yup, or store it all in a central location (but than you'd have a server again).
You could "promote" one of your peers to "act" as a server for the duration of the chat. All the clients would have to agree on who gets promoted, but it should generate less traffic than having each client update each client.
I am facing a certain problem. I am trying to delete a certain file programmatically that resides in the system32 folder (malicious file). When i try to delete it using the kill statement an error message shows that says Access Denied as the file is being used by another process. When i searched i found out the that winlogon.exe uses this executable. How can i remove this handle programmatically. Any ideas and suggestions would be very helpful.
WinLogon cannot be unloaded, and you cannot unload anything that's being referenced by it. You could have Windows remove the file "after" a reboot (it does this before it starts the shell, meaning that WinLogon will not yet be in use)
That's not recommendable though; the infected file will have replaced the original, and deleting it will corrupt your system. Unless you can put back a file that's not infected, best idea is to not touch it.
No, just a new malicious file has been created in the windows/system32 folder.When i try to delete that file it shows file in use . and this file is being used by the winlogon.exe process. how can i delete this file programmatically.
Files can only be deleted when they're not in use, and you can only remove it after a reboot and before logon, as described before. (Simple explanation, I cannot throw away your mug if you're still drinking from it, since it's in use)
WinLogon does not load random files. If the file is in use, it counts as a dependency. If WinLogon is started without the dependency, it will simply fail.
"Old" file's would be "corrected" by putting back a copy from a previous restore-point, or by copying back the original file from the setup.
I suppose there may be another way to achieve this, but ....
If the information to be displayed on the Startup Form is to remain static (ie not changing) may I suggest using an image transition effect to achieve your "Start Up Fade".
First create a graphic of your "startup page information" which will be displayed in a picturebox control.
Then I would add a new winform or splash to your project, set FormBorderStyle to None, add a PictureBox the size of the form that will load the page graphic (Startup Image) you created, then when the new form loads on application start, call the image transition effect, cycle through the fade in, small delay then fade out then close the window.
I believe the CodeProject has a project that demonstrates how to implement a simple trasition on images in vb.net which could be used to create the fade in fade out process.
Look for "splash screen".
By the way, you should check whether your application is running in some kind of remote session (RDP, Citrix): in such a case, do not use fade-in fade-out effects as that will cause large network traffic.
finally yes it's work how can I say thank you for your help .. but you know what you are my super hero who save my time after two days of stupid attempts went fail. oh my God why I didn't ask you from the first day i got this problem, I have a project and this project depends on this code otherwise I will stop work on this project after I faced this problem but now I'm very excited to back work on my project