Click here to Skip to main content
15,884,353 members
Home / Discussions / C#
   

C#

 
GeneralRe: Microsoft.Office.Interop.Excel BorderAround2 crash Pin
Dave Kreskowiak7-Oct-10 6:04
mveDave Kreskowiak7-Oct-10 6:04 
GeneralRe: Microsoft.Office.Interop.Excel BorderAround2 crash Pin
Luc Pattyn7-Oct-10 6:29
sitebuilderLuc Pattyn7-Oct-10 6:29 
QuestionSave a file from ASP.NET down to database and upp again. Pin
anderslundsgard6-Oct-10 23:44
anderslundsgard6-Oct-10 23:44 
AnswerRe: Save a file from ASP.NET down to database and upp again. Pin
J4amieC7-Oct-10 0:50
J4amieC7-Oct-10 0:50 
Questionmake mouse disable, how that user could not be able to use it. Pin
Fred 346-Oct-10 23:36
Fred 346-Oct-10 23:36 
AnswerRe: make mouse disable, how that user could not be able to use it. Pin
Eddy Vluggen7-Oct-10 1:01
professionalEddy Vluggen7-Oct-10 1:01 
AnswerRe: make mouse disable, how that user could not be able to use it. Pin
Rhuros7-Oct-10 1:35
professionalRhuros7-Oct-10 1:35 
AnswerRe: make mouse disable, how that user could not be able to use it. Pin
S Houghtelin7-Oct-10 5:52
professionalS Houghtelin7-Oct-10 5:52 
It is generally not a good idea to attempt to force users of your software to behave the way you want them to by limiting their ability to use or control your software through conventional means. They will simply stop using your software or complain to management that it doesn’t work and you’ll end up having rewrite the code, or worse yet, have someone else rewrite your code. (I do not wish to count the number of times I’ve been tasked to do just that.) Be mindful that removing control from the user is the goal of malware and virus writers, we know how popular folks like these are.

You should create a user interface that makes it easier to enter data or interact with your controls by automatically moving the focus to the next desired control so that they don’t have to use the mouse. Sometimes it is unavoidable when certain user actions interfere with the application processes such as collecting live streaming data and moving the form can cause an interruption to the data stream. For these situations I allow the user to place or move the form when it is not collecting data, but lock it when it is. It crucial then to inform the user that this behavior exists so that it does not catch the user by surprise and have them do something like hitting the reset button because they think the PC is broke.

Rhuros first suggestion is the one that I use when someone attempts to move a form when it becomes necessary to prevent it from being moved during a critical process.

It was broke, so I fixed it.

GeneralRe: make mouse disable, how that user could not be able to use it. Pin
PIEBALDconsult9-Oct-10 4:27
mvePIEBALDconsult9-Oct-10 4:27 
GeneralRe: make mouse disable, how that user could not be able to use it. Pin
S Houghtelin12-Oct-10 3:09
professionalS Houghtelin12-Oct-10 3:09 
QuestionList inside a struct Pin
Islorvat6-Oct-10 22:45
Islorvat6-Oct-10 22:45 
AnswerRe: List inside a struct Pin
J4amieC6-Oct-10 22:57
J4amieC6-Oct-10 22:57 
AnswerRe: List inside a struct Pin
DaveyM697-Oct-10 0:11
professionalDaveyM697-Oct-10 0:11 
GeneralRe: List inside a struct Pin
harold aptroot7-Oct-10 0:39
harold aptroot7-Oct-10 0:39 
GeneralRe: List inside a struct Pin
DaveyM697-Oct-10 7:02
professionalDaveyM697-Oct-10 7:02 
GeneralRe: List inside a struct Pin
harold aptroot7-Oct-10 7:05
harold aptroot7-Oct-10 7:05 
GeneralRe: List inside a struct Pin
DaveyM697-Oct-10 7:14
professionalDaveyM697-Oct-10 7:14 
QuestionApplication Fauled to Initialize (0xc000007b) Pin
Enobong Adahada6-Oct-10 22:12
Enobong Adahada6-Oct-10 22:12 
AnswerRe: Application Fauled to Initialize (0xc000007b) Pin
Sauro Viti6-Oct-10 22:26
professionalSauro Viti6-Oct-10 22:26 
GeneralRe: Application Fauled to Initialize (0xc000007b) Pin
Enobong Adahada7-Oct-10 3:12
Enobong Adahada7-Oct-10 3:12 
AnswerRe: Application Fauled to Initialize (0xc000007b) Pin
Luc Pattyn7-Oct-10 3:25
sitebuilderLuc Pattyn7-Oct-10 3:25 
GeneralRe: Application Fauled to Initialize (0xc000007b) Pin
Enobong Adahada7-Oct-10 3:53
Enobong Adahada7-Oct-10 3:53 
GeneralRe: Application Fauled to Initialize (0xc000007b) Pin
Enobong Adahada7-Oct-10 4:34
Enobong Adahada7-Oct-10 4:34 
JokeRe: Application Fauled to Initialize (0xc000007b) Pin
Sauro Viti7-Oct-10 22:35
professionalSauro Viti7-Oct-10 22:35 
QuestionServer side validation Pin
janani136-Oct-10 20:44
janani136-Oct-10 20:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.