|
|
What do you mean by loopback adapter? Loopback would exist in the network stack, not in an applications space.
Matt Newman
Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots
|
|
|
|
|
Sometimes it is easy to test some applicatins using Microsoft loopback adapter. It does not need a real network. I wanted to have this usility for that purpose specially if the end user is not computer-oriented or the application needs to be run on a laptop (no connection)
|
|
|
|
|
I understand why you want to use the loopback adapter, I just don't understand what you mean by creating one with C#
Matt Newman
Even the very best tools in the hands of an idiot will produce something of little or no value. - Chris Meech on Idiots
|
|
|
|
|
guys, i dont know how to sort the data(item)inside the text file alphabetically line by line? - i read my book and read help but no information regarding that matter..
can you give me the codes for that so i'm able to easily understand.
Hope ur help and response...
tnx a lot..
regards,
JayR
|
|
|
|
|
private void MenuItem_SampleSortFile_Click(object sender, System.EventArgs e)
{
ArrayList list = new ArrayList();
list.Add("I don't know how to sort the data");
list.Add("inside the text file line by line");
list.Add("I read my book and read help");
list.Add("but no information regarding that matter");
list.Add("can you give me the codes");
list.Add("so I am able to easily understand");
list.Add("Hope your help and response");
list.Sort();
System.IO.StreamWriter writer = new System.IO.StreamWriter("c:\\test.txt");
foreach( string sline in list)
writer.WriteLine( sline);
writer.Flush();
writer.Close();
}
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
Hi led mike...
It works! It helps a lot..
Thank you so much...
regards,
JayR
|
|
|
|
|
Hi there,
I'm not writing spyware, promise! I actually want to write a program that will notice whenever the user's query is filtered (by the firewall content filtering), and send an email to the IT department asking them to unblock it politely. Everyone hates the filter, and this seems like an effective protest . Anyway, that's not what matters.
My program requires the ability to monitor the user's browser---preferably Firefox and IE, but most school computers use IE, so that would be fine. I would imagine there's a way to hook into the window object, and find the sub-"window" that represents the location bar and get its text. Yes? I think I've seen this kind of thing done in C++, but I much prefer C# if possible... I just have no idea where to start. Googling was unhelpful; I can't seem to come up with good keywords.
Thanks!
-Domenic Denicola- [CPUA 0x1337]
|
|
|
|
|
Do you really think that spamming the IT department will change the filtering policy? Don't you think that it rather will affect the ability to send mail from programs, or the ability to install programs on the computers?
---
b { font-weight: normal; }
|
|
|
|
|
Hello.
I need to reomve all events from an event:
let's say i have a Button event:
this.button1.Click += new System.EventHandler(this.button1_Click);
Than the Button moved to another class and i need to remove all events From the "Click" event.
I tried
button1.Click = null; // Remove All events (Microsoft MSDN...)
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp04192001.asp[^])
error :
The event 'System.Windows.Forms.Control.Click' can only appear on the left hand side of += or -=
I can't use: button1.Click -= this.button1_Click;
The new class does not have the "button1_Click" reference.
Im using VS 2005.
|
|
|
|
|
foreach (Delegate del in button1.Click.GetInvocationList()) {
button1.Click-=new EventHandler(del);
}
This should work; just haven't tested it yet!
Graham
|
|
|
|
|
It does not work.
i still get the same error.
|
|
|
|
|
why do u need to do like this
button1.Click = null; // Remove All events (Microsoft MSDN...)
Instead simply delete all the lines which add the click events to the button
|
|
|
|
|
Hi
I need some help in how to add an application that do encryption of AES or DES or RSA doesn't matter becuase I have the code , but I don't know how to link this code to outlook so when the sender whant to send the email and he click on encrypt check box the email will be encrypted when it is send to the receiever .... so when the email travle from network A to network B it will be encrypted.
Thanks
|
|
|
|
|
Hello. Is it possible in C# to retrieve the Device Instance Id of all connected USB devices? I've tried USBSharpLib but it doesn't do what I need.
My ultimate goal is to detect a specific USB Camera and save files on the SD card inside. I've tried listing the logical drives, WIA, TWAIN and some (not all) of the WMI code snippets found on MSDN. The reason is, I need to make sure that data is being sent to the SD card. The camera does not show up as a logical drive. When I plug it in and go to "My Computer" it shows up at bottom with just the name of the camera. It also shows up under the Device Manager --> Imaging devices and I can get the Device Instance Id from there.
I need a way to do the above programmatically. I must also mention that I can't drag and drop files onto the camera when I double-click it under "My Computer". Any help or further resources or source code would be greatly appreciated. I have been trying for weeks to accomplish this.
Mike
|
|
|
|
|
How can we use a project developed in VC++ in our C# program plzzz reply in detail ...
looking forward for help
Regards,
|
|
|
|
|
|
Rizwan Rathore wrote: plzzz reply in detail
please post in detail...
Rizwan Rathore wrote: a project developed in VC++
What sort of project in VC++?
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
well i m developing a text mining engine in C# and i ve found a utility developed in VC++ that creates the inverted index from the given dataset so i want to use this code in my prgram the project is not developed in VC dot net its developed in VS
Regards,
|
|
|
|
|
Rizwan Rathore wrote: i ve found a utility developed in VC++
Rizwan Rathore wrote: so i want to use this code in my prgram
So you have the source code? a library? an application? You are still not being specific.
Rizwan Rathore wrote: is not developed in VC dot net its developed in VS
Visual C++ .NET is in Visual Studio. If "VS" does not mean "Visual Studio" I don't know what it means. You really need to be more specific.
"What classes are you using ? You shouldn't call stuff if you have no idea what it does" Christian Graus in the C# forum
led mike
|
|
|
|
|
Hi Sir, I have sent u the project via email at ur email address
Regards,
|
|
|
|
|
Can we run C# DotNet Exe file on a system where Dot Net is not installed?? if yes then how wat files we need to embed...
and if No then is there anyother solution for that
Looking forward for help
Regards,
|
|
|
|
|
You can't.
THere's at least one, for pay program that will staticly link your executable and the framework, but there's nothing free to do so.
|
|
|
|
|
|