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
E

Enobong Adahada

@Enobong Adahada
About
Posts
86
Topics
48
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MouseEventArgs.CLicks in WPF
    E Enobong Adahada

    Thank you for our reply.

    WPF csharp wpf question

  • MouseEventArgs.CLicks in WPF
    E Enobong Adahada

    Hello All, Please how do i emplment the WPF equivalent of

    public FooClickArgs(NFoo pos, NFoo2 part, MouseEventArgs e)
    : base(e.Button, e.Clicks, e.X, e.Y, e.Delta)
    {
    Position = pos;
    PositionPart = part;
    }

    In WPF Canvas. Thank you.

    WPF csharp wpf question

  • Save Stream from Multiple IP Camera
    E Enobong Adahada

    Thanks alot for the reply

    C# question announcement

  • Save Stream from Multiple IP Camera
    E Enobong Adahada

    Please how do i save frames from multiple IP Camera, i am using an update of the Camera Vision by Andrew Kirilov. Thank you.

    C# question announcement

  • Load data from Database into Razor View using Checkbox Checked event
    E Enobong Adahada

    Hello, I have a TextArea, A submit button and a check box on a Razor view, i want to load some records from the database in to the textarea and then use the submit to send Mesages to the recods loaded. The issue is that i dont know how to load the data using the check box. This is my code so far: the controller: public ActionResult Message(bool loadData) { List _mobile = new List(); if (loadData) { foreach (var item in db.ParentsModels) { _mobile.Add(new SendMessageViewModel { destination = item.mobile+"," }); } } return View(_mobile); } The View code is: @using (Html.BeginForm()) { @Html.AntiForgeryToken()


    @Html.ValidationSummary(true, "", new { @class = "text-danger" })

    @Html.LabelFor(model => model.sender, htmlAttributes: new { @class = "control-label col-md-2" })

    @Html.EditorFor(model => model.sender, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.sender, "", new { @class = "text-danger" })

    @Html.LabelFor(model => model.title, htmlAttributes: new { @class = "control-label col-md-2" })

    @Html.EditorFor(model => model.title, new { htmlAttributes = new { @class = "form-control"} }) @Html.ValidationMes

    ASP.NET database html asp-net com help

  • ransfer data from one page to another
    E Enobong Adahada

    pls i want to transfer data from one content page to another, i use c# and asp.net 4.0 thanks alot

    ASP.NET csharp asp-net

  • Screen Shield
    E Enobong Adahada

    Pls i want to create a shield to cover my screen so that user will have to login to use the system, i do not want to use the windows login. thank you.

    C#

  • Create Update for Install Package
    E Enobong Adahada

    I have an vs2008 Installation package, and i want to create a patch for it. Please cand somebody help me out? Thank you.

    C# help question announcement

  • some or all identity references could not be translated
    E Enobong Adahada

    I want to add directory security to certain folders on my system, the code is NTAccount identity = new NTAccount(Account); SecurityIdentifier sid = (SecurityIdentifier)identity.Translate(typeof(SecurityIdentifier)); DirectoryInfo dInfo = new DirectoryInfo(Dir); DirectorySecurity dSecurity = dInfo.GetAccessControl(AccessControlSections.Access); dSecurity.AddAccessRule(new FileSystemAccessRule(sid , Rights, ControlType)); dInfo.SetAccessControl(dSecurity); but i keep getting this error: some or all identity references could not be translated

    C# security help

  • C#: How to retrieve text from dgView cell and displayit in the button?
    E Enobong Adahada

    Can you post the code u are using so i can see if there are logic bugs.

    C# question csharp help tutorial

  • C#: How to retrieve text from dgView cell and displayit in the button?
    E Enobong Adahada

    create an event for the gridview like so; private void dgv_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e) { //runs when the mouse is clicked over a cell if (e.RowIndex > -1 && e.ColumnIndex > -1) { if (e.Button == MouseButtons.Left) { //single-click left mouse button if (dgv.SelectionMode != DataGridViewSelectionMode.CellSelect) { dgv.SelectionMode = DataGridViewSelectionMode.CellSelect; int row = dgv.CurrentCell.RowIndex; int col = dgv.CurrentCell.ColumnIndex; } } textbox.text=dgv.Rows[row].Cells[col].Value.ToString(); } Remeber to Create the same event in the Form.Designer.cs file for the Datagridview. Hope this Helps

    C# question csharp help tutorial

  • Disable cd/dvd eject button with code
    E Enobong Adahada

    Yes can you help?

    C#

  • Disable cd/dvd eject button with code
    E Enobong Adahada

    Thanks for the advice, but NO.

    C#

  • Disable cd/dvd eject button with code
    E Enobong Adahada

    The users do not need to use the cd/dvd drives during a certain period in my office, I want a code to disabled the Eject button to keep them out, at this this time. is there a such a code in c#, i found some in vb. Thank for you response.

    C#

  • Disable cd/dvd eject button with code
    E Enobong Adahada

    I want to use code to open and close it, i don't want users to open it using the eject button.

    C#

  • Disable cd/dvd eject button with code
    E Enobong Adahada

    pls i want to disabled permanently my my cd/dvd eject buton. thanks.

    C#

  • 10 digit Crypted Value
    E Enobong Adahada

    here is my code: public static string iEncrypt(string plainText, string passPhrase, string saltValue, string HashAlgorithm, int passwordIterations, string initVector, int KeySizes) { byte[] initVectorBytes = Encoding.ASCII.GetBytes(initVector); byte[] saltValueBytes = Encoding.ASCII.GetBytes(saltValue); byte[] plainTextBytes = Encoding.UTF8.GetBytes(plainText); PasswordDeriveBytes password = new PasswordDeriveBytes(passPhrase, saltValueBytes, HashAlgorithm, passwordIterations); byte[] keyBytes = password.GetBytes(KeySizes / 8); RijndaelManaged symmetricaKey = new RijndaelManaged(); symmetricaKey.Mode = CipherMode.CBC; ICryptoTransform encryptor = symmetricaKey.CreateEncryptor(keyBytes, initVectorBytes); MemoryStream memoryStream = new MemoryStream(); CryptoStream cryptoStream = new CryptoStream(memoryStream, encryptor, CryptoStreamMode.Write); cryptoStream.Write(plainTextBytes, 0, plainTextBytes.Length); cryptoStream.FlushFinalBlock(); byte[] cipherTextBytes = memoryStream.ToArray(); memoryStream.Close(); cryptoStream.Close(); string cipherText = Convert.ToBase64String(cipherTextBytes); return cipherText; } static void Main(string[] args) { //string plainText="Hello World!"; string plainText; string passPhrase = "Pas5pr@se"; //string passPhrase = "123456789"; //string saltValue = "123456789";//s@ltValue"; string saltValue = "s@ltValue"; string hashAlgorithm = "SHA1"; int passwordIterations = 1; //string initVector = "abcdefghijklmnop";//@1B2c3D4e5F6g7H8"; string initVector = "@1B2c3D4e5F6g7H8"; int keySize = 64;//256; //Console.WriteLine(string.Format("Plaintext : {0}", plainText)); Console.WriteLine(string.Format("Type Plaintext : ")); plainText= Console.ReadLine(); string cipherText = dEncrypt.iEncrypt(plainText, passPhrase, saltValue, hashAlgorithm, passwordIterations, initVector, keySize); Console.WriteLine(string.Format("Encrypted : {0}", cipherText)); }

    C# question

  • 10 digit Crypted Value
    E Enobong Adahada

    My plaintex is a four digit xters, after encryption i get a 24 digit set of xters, i want to limit the encrypted values to just 10 digits, is that posible? if so pls how? thank you.

    C# question

  • 10 digit Crypted Value
    E Enobong Adahada

    pls i want to generate a ten digit crypted value from a 4 digit number, pls how do i get it done. thank you.

    C# question

  • COM Object with Protected Methods
    E Enobong Adahada

    what i mean is that my COM object only has methods with qualifyers: protected overrides viod some_method().

    C# com 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