Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

Marketing Media Hub

@Marketing Media Hub
About
Posts
2
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Dont work, it´s something whit the loops?
    M Marketing Media Hub

    private void buttonCheck_Click(object sender, EventArgs e)
    {
    int[] ModPassword = { 1, 1, 1, 1, 1};
    int DerIndex;

    Random rnd = new Random();
    ModiPassword.ResetText();
    string PasswordUser = BoxPassword.Text;

    if (PasswordUser.Length >= 10)
    {
    ResultCheck1.ResetText();
    ResultCheck1.ForeColor = System.Drawing.Color.Green;
    ResultCheck1.Text += "Enough Charakters;";
    }
    else
    {
    ResultCheck1.ResetText();
    ResultCheck1.ForeColor = System.Drawing.Color.Red;
    ResultCheck1.Text += " Not enough Charakters;";
    ModPassword[0]++;
    }

    if (PasswordUser.Any(char.IsUpper))
    {
    ResultCheck2.ResetText();
    ResultCheck2.ForeColor = System.Drawing.Color.Green;
    ResultCheck2.Text += "Capital Letter(s);";
    }
    else
    {
    ResultCheck2.ResetText();
    ResultCheck2.ForeColor = System.Drawing.Color.Red;
    ResultCheck2.Text += "Has no Capital Letter(s);";
    ModPassword[1]++;
    }

    if (PasswordUser.Any(char.IsLower))
    {
    ResultCheck3.ResetText();
    ResultCheck3.ForeColor = System.Drawing.Color.Green;
    ResultCheck3.Text += "Low Letter(s)";
    }
    else
    {
    ResultCheck3.ResetText();
    ResultCheck3.ForeColor = System.Drawing.Color.Red;
    ResultCheck3.Text += "Has no low Letter(s)";
    ModPassword[2]++;
    }

    if (PasswordUser.Any(char.IsDigit))
    {
    ResultCheck4.ResetText();
    ResultCheck4.ForeColor = System.Drawing.Color.Green;
    ResultCheck4.Text += "Has a Number(s)";
    }
    else
    {
    ResultCheck4.ResetText();
    ResultCheck4.ForeColor = System.Drawing.Color.Red;
    ResultCheck4.Text += "Has no Number(s)";
    ModPassword[3]++;
    }

    if (PasswordUser.Contains("!"))
    {
    ResultCheck5.ResetText();
    ResultCheck5.ForeColor = System.Drawing.Color.Green;
    ResultCheck5.Text += "Has a !";
    }
    else
    {
    ResultCheck5.ResetText();
    ResultCheck5.ForeColor = System.Drawing.Color.Red;
    ResultCheck5.Text += "Has no !";
    ModPassword[4]++;
    }

    string newPsw = PasswordUser;
    string newPsw2 = "";
    string newPsw3 = "";
    string newPsw4 = "";
    string newPsw5 = "";
    string newPsw6 = "";
    string newPsw7 = "";
    string newPsw8 = "";
    string newPsw9 = "";
    string newPsw10 = "";
    string newPassword = "";
    string Number = "";
    int count = 0;
    for (int i = 0; i < ModPassword.Length; i++)
    {
    if (ModPassword == 2)
    {

    DerIndex = i;
    switch (i)
    {
    case 0:
    Guid B = Guid.NewGuid();
    string GuidStrings = Convert.ToBase64String(B.ToByteArray());
    GuidStrings = GuidStrings.Replace("=", "");
    GuidStrings = GuidStrings.Replace("+", "");
    newPassword = PasswordUser + GuidStrings;

    break;
    case 1:

    int numUps1 = rnd.Next(1, 11);
    int numUps2 = rnd.Next(1, numUps1);

    for (i

    The Lounge graphics question lounge

  • Is there a way to add strings to a list without the quotation marks in C++?
    M Marketing Media Hub

    I have a C++ file with over 4000 lines of first names, and I put all of the names in a list using

    C++:
    #include
    #include

    using namespace std;

    list list_name(99999, Aaren
    Aarika
    Abagael
    ...

    The Lounge c++ question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups