|
Sorry but i didn';t get you...
"You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out."
-- Shri Mataji Nirmala Devi.........
for more details visit : http://www.sahajayoga.org
Akhilesh Singh
modified on Wednesday, August 26, 2009 5:41 AM
|
|
|
|
|
My appologies if I offended you. However, if you are considering writing something that will make someones machine do unexpected things, you have to consider what the reaction will be. What would you think was happening if you recieved an email that did what you describe?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
I think it was a perfectly acceptable response, I wish I could leap down the line and rip some peoples lungs out, this guy would have been one of them. Friends like that who needs spammers.
|
|
|
|
|
No need buddy. I do understand that at first my request looks like i am going to use it for spamming likd of thing, so it was even mistake from my side to keep unclear things out there...
regarding if it happens to me: Yes thats true even i will feel its pishing kind of but only if from unknown sender but if i know the sender also i can see what that promprt is asking to me mostly i can believe the mail
but still as all have suggested it's not good idea so i have dropped that thing and thinking to ping my friends some other way...
thanks
"You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out."
-- Shri Mataji Nirmala Devi.........
for more details visit : http://www.sahajayoga.org
Akhilesh Singh
modified on Wednesday, August 26, 2009 5:41 AM
|
|
|
|
|
here2learn wrote: i will feel its pishing kind of but only if from unknown sender
Thats part of the point, I guess - if it could open a window, it could send an email to your entire address book. Which would look like it came from a friend...
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
yes thats true... so no one can say the mail coming from a well known sender is safe or not if it does this kind of stuff what i tried...
well explained... thanks
"You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out."
-- Shri Mataji Nirmala Devi.........
for more details visit : http://www.sahajayoga.org
Akhilesh Singh
modified on Wednesday, August 26, 2009 5:41 AM
|
|
|
|
|
promises we can't check unless you publish your e-mail address right now.
|
|
|
|
|
I am not going to Belgium again - not for you, not for anybody!
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
hi. how shall i publish my id.
"You just become, like a flower becomes the fruit. It's all built in within you. Allow it to work out."
-- Shri Mataji Nirmala Devi.........
for more details visit : http://www.sahajayoga.org
Akhilesh Singh
modified on Wednesday, August 26, 2009 5:41 AM
|
|
|
|
|
why dont u post the code that sends to one budy and we will give u a hint ..
|
|
|
|
|
Hi just wondering if there is a simple way to force the form to reload.
"this.Refresh()" does not seem to work. nether does "form.Load";
private void VMCU_BlanktheDisplay()
{
try
{
VMCU.UpdateDisplay(VMCU.BlankDisplay);
this.Load;
}
catch (Exception)
{
VMCU.UpdateError(cmdError.BlanktheDisplay);
}
}
Above the code i have so far. It is for a screen update, as the update works it just doesnt refresh the form. Does anyone know what i can do?
Thanx George
|
|
|
|
|
If you want the form to repaint itself, call Invalidate(). If you want to reset your form to a known state, you need to write code to do that.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thank you for the reply, i tried this however i think it was a problem with me not updating the picture box in my program and thats why it did not appear. As i was converting an array into an image and forgot about updating the image box.
|
|
|
|
|
I was pondering setting up a base class for an object and having multiple interfaces for object qualities that are optional. I was considering how I could set these up in XML and have them deserialized to be classes with only the interfaces that are used in the xml...
Such as:
<?xml version="1.0" encoding="utf-8"?>
<Class1 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Class1Boolean>false</Class1Boolean>
<Interface1Int32>0</Interface1Int32>
<Interface2String />
</Class1>
When loaded would produce a Class1 that has Interface1 and Interface2, but if there were no Interface2String in there, it would not implement that interface when loaded.
Suggestions?
|
|
|
|
|
Booth sends data to server, but on Server, it gives error as "Only one usage of each socket address (protocol/network address/port) is normally permitted"
My code is as:
TcpListener tcpListener = new TcpListener(5500);
tcpListener.Start();
Error comes at tcpListerner.Start();
Help plz
Tufail
|
|
|
|
|
reason might using the same socket for more than one instance at the the same time, make sure you close all the sockets after use.
most of the times this happens, because of unclosed sockets,only one socket is allowed at a time with a specific ip and port
|
|
|
|
|
You can only listen on a port once, after you have a listener you can accept incoming socket connections through it.
I recommend looking at TcpListener.Pending(), TxpListener.AcceptSocket(), and if you want to get fancier, TcpListener.BeginAcceptSocket() and TcpListener.EndAcceptSocket().
There is a wonderful example here, Simple TCP Server[^] and here, Asynchronous socket communication[^]
|
|
|
|
|
please guide me that should i use WinSocket (as in vb6) or i should use TCP's
Thanks
|
|
|
|
|
if your app uses threads, and does not handle IsBackground correctly, older versions of your app might still be running, preventing the latest instance from functioning properly.
|
|
|
|
|
Hi ,
two notepad are running one is saved as first.txt other is saved as second.txt how to kill only one process first.txt
I am using the following code which is closing all the notepad
foreach (Process pre in Process.GetProcesses())
{
if (pre.ProcessName.StartsWith("notepad"))
{
pre.Kill();
}
}
Regards,
Amit Patel
|
|
|
|
|
Find the main window of the process first,
next get the caption of window,
check your condition, if it's satisfy then kill that process...
|
|
|
|
|
You can do that by checking Process.MainWindowTitle property.
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
what about this
Process[] pro = Process.GetProcessesByName("Notepad");
pro[0].Kill();
|
|
|
|
|
this is way i m not getting the saved file name
|
|
|
|
|
I'm not sure what you mean with this.. But if you're having trouble closing the correct notepad process, try keeping the Process's Id in memory (knowing the Id of the first and the second notepad process). Then you are sure to close the right one..
|
|
|
|