|
O.K
really I'm not trying to get anyone password.
my reason is that I'm an administrator at my company
and we have a few computers with password for the employee
that we send to our customers but they have a kind of a window lock
when they enter a incorrect password and the windows lock it self
after 3 attempts .our employee swear us that they enter the password correct and we cant find the reason for all the locks.
it cost us a lot of money all those day the cant work beacuse the computer
lock it self. we want to find out if they entered the correct password
before the computer lock.
hope its a good reason.
thanx
|
|
|
|
|
Wouldn't you be able to tell from event log for the evident?
It's no good reason for that.
|
|
|
|
|
what event log can tell me?
i cant see there the incorrect password.
Even more, i don't need to see the password !!!
only the incorrect password , by that i can tell if they really
enter an incorrect password.
thank you.
|
|
|
|
|
I think it is the one under "Security" that you want.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
How about asking the question "Do you have the Caps Lock on?"
Alternatively image the computer with it's administrative login, then when you come to give the computer to customers load the original image back on.
There is no reason for needing to know other people's passwords.
The whole purpose of security is just that "security".
This means that nobody else knows your passwords and that way an accounting trail can be followed if needed and the appropriate people held responsible for their actions.
Also giving customers computers that your own employees have been using for email, documents etc is another security breach.
You always pass failure on the way to success.
|
|
|
|
|
believe me GuyThiebaut we tried everything!!!!
numlock,capslock, changing the password to only numbers.
|
|
|
|
|
I get that alot where I work and it always comes down to the user not entering the correct password for the domain that they picked.
|
|
|
|
|
believe me it ain't a domain issue.
|
|
|
|
|
I have a GIF animation which i want to paint in a picturebox. I know that a picturebox is capable of displaying GIF animations when you preload them in the designer etc (i have tried it). But I want to paint it (DrawImage it) on the picturebox control at runtime (I dont want to assign an image directly as it wont work for my project). Is there any way apart from using a timer to alternate between the various images of the animation. Thanks for all the help!!
|
|
|
|
|
Wow - that's news to me. I've never seen a picturebox play an animated gif and I know there are CP articles on how to get one to play in c#.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Nope, just checked, animates gif in both .Net 1.1, and 2.0. I we never knew...
My current favourite word is: Bauble!
-SK Genius
|
|
|
|
|
Anyway, had you looked, im sure you would have found:
System.Drawing.ImageAnimator.Animate(Image, onFrameChanged);
and
System.Drawing.ImageAnimator.UpdateFrames(Image);
Animate will use the animations of timing, and call you Frame Chenged event handler (in this case called 'onFrameChanged'), when its time for the next frame.
And UpdateFrames will just move on to the next frame, regardless of the time.
Google them to find out exactly how they work.
My current favourite word is: Bauble!
-SK Genius
|
|
|
|
|
Yes picture Box will display animated GIF. I have been doing this since Vis 2003.
|
|
|
|
|
But how can you help me how to display animated gif in picturebox for windows mobile 6 using C#
Thanks in advance
|
|
|
|
|
I have no experience with Windows Mobile 6.
|
|
|
|
|
Check out this article Strip Images From Animated Gif[^].The article shows how to access a specific frame in gif image. So what you need split the source into frames ,and show them separately using timer ...
|
|
|
|
|
I'm looking at implementing a Collection object for the objects exposed by my class, but I'm thinking: why not just offer a generic List<t> instead? Is there really any reason to offer a Collection anymore?
|
|
|
|
|
I guess not unless you want to add some sort of custom behaviour.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
|
|
How... odd. I am not getting this warning, although my public class definitely returns List<t>...
|
|
|
|
|
Wonders never cease. I had no idea the Code Analysis Tool for Managed Code was hidden there in Visual Studio.
Now I'm afraid to turn it on - the flurry of 'Don't's will surely set me back another week.
|
|
|
|
|
Never heard of that.
That article doesn't present any really compelling reasons why it should be followed.
And anyway it doesn't change the basic question.
Now to go review my code and see where I violate that rule...
|
|
|
|
|
It really depends on what you need to do. If you need to add custom behavior, then you do need to write your own collection. However, even by writing your own collection you can still derive from one of the generic collections. Also, the recommendation is to only use the List<T> class internally; instead you should return a Collection<T> or a ReadOnlyCollection (which you can get from List<T>.AsReadOnly).
|
|
|
|