Click here to Skip to main content
15,896,201 members
Home / Discussions / C#
   

C#

 
GeneralRe: Question about embedding dll's into an executable Pin
turbosupramk330-Jun-11 14:21
turbosupramk330-Jun-11 14:21 
GeneralRe: Question about embedding dll's into an executable Pin
Not Active30-Jun-11 15:00
mentorNot Active30-Jun-11 15:00 
GeneralRe: Question about embedding dll's into an executable Pin
turbosupramk330-Jun-11 15:24
turbosupramk330-Jun-11 15:24 
GeneralRe: Question about embedding dll's into an executable Pin
Not Active30-Jun-11 16:00
mentorNot Active30-Jun-11 16:00 
Questionscreen Boundary Pin
om_metab30-Jun-11 7:58
om_metab30-Jun-11 7:58 
AnswerRe: screen Boundary Pin
gavindon30-Jun-11 8:04
gavindon30-Jun-11 8:04 
AnswerRe: screen Boundary Pin
OriginalGriff30-Jun-11 9:24
mveOriginalGriff30-Jun-11 9:24 
AnswerRe: screen Boundary Pin
turbosupramk330-Jun-11 10:25
turbosupramk330-Jun-11 10:25 
Is your question, how do I get screen resolution locally on a computer, when this computer starts my application locally?

If so, the function below should help get you started. This will give you resolution even if you have multiple screens. Using this, you could resize a picture if the resolution is set to less than a certain number.

The other posters were correct about the l33t speak.


private static void test()
  {
      string virtualWidth = "";
      string virtualResolution = SystemInformation.VirtualScreen.ToString();
      string[] virtualResolutionSplit = virtualResolution.Split(',');
      foreach (string resolutions in virtualResolutionSplit)
      {
          if (resolutions.Contains("Width="))
          {
              resolutions.TrimStart();
              resolutions.TrimEnd();
              virtualWidth = resolutions.Replace("Width=", "");
          }
          MessageBox.Show(resolutions);
      }
  }

AnswerRe: screen Boundary Pin
Richard MacCutchan30-Jun-11 22:41
mveRichard MacCutchan30-Jun-11 22:41 
GeneralAuto Login Via a Link Pin
dbongs29-Jun-11 23:33
dbongs29-Jun-11 23:33 
GeneralRe: Auto Login Via a Link Pin
Not Active30-Jun-11 2:01
mentorNot Active30-Jun-11 2:01 
GeneralRe: Auto Login Via a Link Pin
dbongs30-Jun-11 3:56
dbongs30-Jun-11 3:56 
GeneralRe: Auto Login Via a Link Pin
Łukasz Nowakowski30-Jun-11 4:15
Łukasz Nowakowski30-Jun-11 4:15 
GeneralRe: Auto Login Via a Link Pin
Not Active30-Jun-11 4:32
mentorNot Active30-Jun-11 4:32 
AnswerRe: Auto Login Via a Link Pin
Eddy Vluggen30-Jun-11 9:27
professionalEddy Vluggen30-Jun-11 9:27 
GeneralRe: Auto Login Via a Link Pin
dbongs7-Jul-11 20:46
dbongs7-Jul-11 20:46 
QuestionSewer Colony Optimization Algorithm Pin
Anubhava Dimri29-Jun-11 23:28
Anubhava Dimri29-Jun-11 23:28 
AnswerRe: Sewer Colony Optimization Algorithm Pin
Pete O'Hanlon29-Jun-11 23:38
mvePete O'Hanlon29-Jun-11 23:38 
AnswerRe: Sewer Colony Optimization Algorithm Pin
Ravi Bhavnani30-Jun-11 9:55
professionalRavi Bhavnani30-Jun-11 9:55 
GeneralRe: Sewer Colony Optimization Algorithm Pin
Roger Wright1-Jul-11 20:34
professionalRoger Wright1-Jul-11 20:34 
Questionreading from different files asynchronously Pin
igalep13229-Jun-11 8:21
igalep13229-Jun-11 8:21 
AnswerRe: reading from different files asynchronously Pin
Alan N29-Jun-11 8:57
Alan N29-Jun-11 8:57 
GeneralRe: reading from different files asynchronously Pin
igalep13229-Jun-11 9:02
igalep13229-Jun-11 9:02 
GeneralRe: reading from different files asynchronously Pin
SledgeHammer0129-Jun-11 9:18
SledgeHammer0129-Jun-11 9:18 
GeneralRe: reading from different files asynchronously Pin
BobJanova30-Jun-11 2:40
BobJanova30-Jun-11 2:40 

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.