Intresting problem. Simple lock screen...
This is how is solved it for a Client.
* Remove the window frame. Så max/min/close etc window buttons are removed.
* Make the application top-most.
* In case you loose focus... take it back.
And there are more stuff to do actualy make this work.
You have to catch all keyboard keys and ignore those you dont like.
Disable Ctrl-Shift-Esc....
User Profile
Collapse
-
Right on the spot here :)
I have tested every combination that is possible (almost not the stupid). And for now I have to use the varchar() to store the exact number.
A bit addtional coding but.. Small price to pay. I can hope that SQL2008 has some proper number storing stereotype.
Thanks for your time.
/D...Leave a comment:
-
Both valid points.
But there is a difference between 1.10 and 1.100.
So if the user inputs that for ex. 5.1% should be copper in a chemical composition.
That means that it can range from 5.05% to 5.14%
But if he puts 5.10% then the range is 5.095% to 5.104%
This is needed for calculations. And can be done without a prob. But storing them as entered.. is different thing. Cant store...Leave a comment:
-
Significant Figures/Digits.
Hi All!
Have a question that I cant get my head around the problem of storing significant digits with a value.
In C# you can define:
decimal d = 1.10M
When you print it and or use it, the 1.10 is stored in side. And not rounded like double (gives 1.1 ).
But storing the litle bastard is more tricky.
Storing as:
nvarchar(11) gives 1.10.
decimal(8,3)...
No activity results to display
Show More
Leave a comment: