Click here to Skip to main content
15,904,416 members
Home / Discussions / C#
   

C#

 
GeneralRe: File Convert .DOCX to .png Pin
Eddy Vluggen1-Feb-11 20:27
professionalEddy Vluggen1-Feb-11 20:27 
Questioncheck if value is null Pin
arkiboys1-Feb-11 1:01
arkiboys1-Feb-11 1:01 
AnswerRe: check if value is null Pin
Bernhard Hiller1-Feb-11 1:09
Bernhard Hiller1-Feb-11 1:09 
GeneralRe: check if value is null Pin
arkiboys1-Feb-11 1:12
arkiboys1-Feb-11 1:12 
GeneralRe: check if value is null Pin
Dave Kreskowiak1-Feb-11 1:53
mveDave Kreskowiak1-Feb-11 1:53 
AnswerRe: check if value is null Pin
Richard MacCutchan1-Feb-11 1:10
mveRichard MacCutchan1-Feb-11 1:10 
GeneralRe: check if value is null Pin
arkiboys1-Feb-11 1:28
arkiboys1-Feb-11 1:28 
GeneralRe: check if value is null Pin
Pete O'Hanlon1-Feb-11 1:43
mvePete O'Hanlon1-Feb-11 1:43 
GeneralRe: check if value is null Pin
arkiboys1-Feb-11 1:50
arkiboys1-Feb-11 1:50 
GeneralRe: check if value is null Pin
Richard MacCutchan1-Feb-11 3:19
mveRichard MacCutchan1-Feb-11 3:19 
QuestionGetWindowText Funcation not working Fine iF Application Title is Unicode or Other Language. Pin
Anubhava Dimri1-Feb-11 0:17
Anubhava Dimri1-Feb-11 0:17 
AnswerRe: GetWindowText Funcation not working Fine iF Application Title is Unicode or Other Language. Pin
Pete O'Hanlon1-Feb-11 0:22
mvePete O'Hanlon1-Feb-11 0:22 
GeneralRe: GetWindowText Funcation not working Fine iF Application Title is Unicode or Other Language. Pin
Anubhava Dimri1-Feb-11 0:46
Anubhava Dimri1-Feb-11 0:46 
GeneralRe: GetWindowText Funcation not working Fine iF Application Title is Unicode or Other Language. Pin
Richard MacCutchan1-Feb-11 1:08
mveRichard MacCutchan1-Feb-11 1:08 
GeneralRe: GetWindowText Funcation not working Fine iF Application Title is Unicode or Other Language. Pin
Anubhava Dimri1-Feb-11 19:17
Anubhava Dimri1-Feb-11 19:17 
GeneralRe: GetWindowText Funcation not working Fine iF Application Title is Unicode or Other Language. Pin
Richard MacCutchan1-Feb-11 22:04
mveRichard MacCutchan1-Feb-11 22:04 
GeneralRe: GetWindowText Funcation not working Fine iF Application Title is Unicode or Other Language. Pin
Pete O'Hanlon1-Feb-11 1:26
mvePete O'Hanlon1-Feb-11 1:26 
QuestionProblem executing Comman-line command - Need to press Ctrl+C to stop it ! Pin
All Time Programming31-Jan-11 22:23
All Time Programming31-Jan-11 22:23 
AnswerRe: Problem executing Comman-line command - Need to press Ctrl+C to stop it ! Pin
JF201531-Jan-11 22:56
JF201531-Jan-11 22:56 
GeneralRe: Problem executing Comman-line command - Need to press Ctrl+C to stop it ! Pin
All Time Programming31-Jan-11 23:02
All Time Programming31-Jan-11 23:02 
QuestionBlock Windows "Guest" account Pin
marca29231-Jan-11 21:00
marca29231-Jan-11 21:00 
AnswerRe: Block Windows "Guest" account Pin
RobCroll31-Jan-11 23:33
RobCroll31-Jan-11 23:33 
GeneralRe: Block Windows "Guest" account Pin
marca2921-Feb-11 3:13
marca2921-Feb-11 3:13 
Hi, thanks for your answer. With this solution I can block users that belong to the Windows Guest group. I want to block user with name guest. The guest account you can turn on/off on windows.

I got an answer on another forum

string username = Environment.UserName;
if (username.ToLower() == "guest")
Application.Exit();

One problem is that the application can be used on many different language OS, if we are using chinese OS do we have to translate "guest" to chinese before or is there another way to determine this?

We can translate "guest" but it is easy if there is another way to solve it.
GeneralRe: Block Windows "Guest" account Pin
RobCroll1-Feb-11 12:14
RobCroll1-Feb-11 12:14 
QuestionAny injection experts? Pin
dawmail33331-Jan-11 20:47
dawmail33331-Jan-11 20:47 

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.