|
Well, and the question is?
|
|
|
|
|
Member 4374474 wrote: I need you to help me with the c# code for help function.
Member 4374474 wrote: Me and my project team members are going to develop system for security
What security???
Please be specific about your question which can be yield more suggestions.....
Have a Happy Coding.....
|
|
|
|
|
Shan't and won't!
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Scary thing is you have a team and you think you can develop something. I hope like hell you don't have a paying client.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi,
I want to implement the keyboard driver in c#?
How can I start it?
can I do this with the help of BHO?
|
|
|
|
|
1. Don't use ALL CAPS.
2. Why do you want to use C#, of all things, for a driver?
3. Please be more specific with your questions.
|
|
|
|
|
I had already had a BHO in c# which is generated through
http://www.codeproject.com/KB/cs/Attach_BHO_with_C_.aspx?fid=447248&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=51&select=2421069
I had character mapping done in c# using delegates. The main thing is I want to get the position or tag element attributes ( name or id of that tag element) where cursor position is set on browser window. How can I get this?
|
|
|
|
|
If I understand you correctly, and I doubt it (considering the vagueness of it all), what you are making is not a driver. That would actually be good news, since that means whatever it is you're doing might actually be possible.
|
|
|
|
|
Hi,
I was faced with the situation where at runtime I needed to create a type that derives from an existing types overriding some of its properties.
I decided to use Reflection.Emit and uitilized ILDASM to help with the il code.
It seems simple enough to implement. I'm using .Net 3.5 and am unsure if there is a more uptodate way of doing this, does anyone know?
|
|
|
|
|
DavidRen23 wrote: runtime I needed to create a type that derives from an existing types overriding some of its properties.
Are you creating the type at run time or invoking already created type using reflection? If you are creating type, you need to compile it before invoking. Look at CSharpCodeProvider[^] class. This will be easier than Reflection.Emit , I guess.
|
|
|
|
|
Thanks for the quick response, the CSharpCodeProvider class is something I will definitely use in the future. As of now everything is set up to use Reflection.Emit, HOWEVER I'm having a problem now defining an overriden property in my derived type. I'm assuming that I only have to define the get method in my derived type because the property (virtual by the way) already exists in the base type?
The error I get when I create an instance of the derived type and try to access the property is
'((Property)(derivedType)).Property' threw an exception of type 'System.InvalidProgramException' string {System.InvalidProgramException}
Any ideas?
Thanks
David.
|
|
|
|
|
Try running peverify.exe over the emitted IL - that'll give you a more clear error message.
|
|
|
|
|
Dear ALL
now i made an App C# which it write an EXE to a certain Path and it lock this file , now i need the same app to run this EXE while its locked !! ??
How?? does any one have an idea?
thanks
bye
|
|
|
|
|
Adore C++ wrote: now i made an App C# which it write an EXE to a certain Path and it lock this file , now i need the same app to run this EXE while its locked !! ??
What do you mean by "locked"?
|
|
|
|
|
this what i mean ...........
FileStream fileStream = new FileStream ........
fileStream.WriteByte .......... some where in C:\.....
fileStream.Lock
this filestram is EXE and it now locked , no other process can read it , now i need to run such EXE ??
how can i do that??
thanks all
bye
|
|
|
|
|
How would you run something that can't be read?
I are troll
|
|
|
|
|
Just a guess, you have a shortcut to the exe in your debug folder and you cannot run the app from the shortcut as it is "locked" by VS which just completed a compile?
Closing VS will free up the file - why are you running from a shortcut?
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
|
Yes, multiple even
I are troll
|
|
|
|
|
Mohamed Ibrahim Omar wrote: is there any implemented Algoritm for MD5 developed in .net
Quick Look
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
|
Good Morning ALL
I have an Arralist for example
1
2
3
4
5
2
4
3
Now i need to Find Duplicates in this array list. how can i get the Duplicated
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
You can try with IndexOf( ) and Contains() Methods
I have done with Contains(),
ArrayList Al = new ArrayList();
ArrayList al2 = new ArrayList();
Al.Add(1);
Al.Add(2);
Al.Add(3);
Al.Add(4);
Al.Add(3);
Al.Add(2);
Al.Add(1);
foreach (int i in Al)
{
if (!al2.Contains(i))
{
al2.Add(i);
}
}
Console.WriteLine("Original List");
foreach (int i in Al)
{
Console.WriteLine(i.ToString());
}
Console.WriteLine("Array List With Out Duplicate");
foreach (int i in al2)
{
Console.WriteLine(i.ToString());
}
Hope this will help you
You can even try with implement with same ArrayList.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
Good Day Abhijit
Am Sorry i replied so late, i had to Look at some other Fuctionalities. I see what you are doing on the code. This will solve my Problem
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Thank you very much for your Answer. i need the Duplicates Values i don't want to get rid of them i need them in a Arraylist
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|