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
D

dino2094

@dino2094
About
Posts
36
Topics
17
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Need to put data into my web form on a webbrower
    D dino2094

    I tried the MS stress test but it didn't work. But I found this guy's excellent article http://www.codeproject.com/KB/cs/automatingwebbrowsing.aspx[^]

    C# tutorial question

  • Need to put data into my web form on a webbrower
    D dino2094

    Hi, I'm need to stress test an device that has a http interface. I created a program with the web-brower object and I can access the page. I'm having a hard time figuring out how to insert data into some forms on the webpage. Any ideas? Thanks!

    C# tutorial question

  • Hash Encryption
    D dino2094

    .NET offers MD5, RIPEMD160, SHA1, SHA256, SHA384, and SHA512. I can't tell which is right for you without know why you need a hash function. SHA512 is the most "secure" of the choices but it maybe overkill in certain applications.

    C# csharp security cryptography help question

  • Generic forms call back?
    D dino2094

    Wow! So easy easy, I missed it! Thanks!

    C# question

  • Generic forms call back?
    D dino2094

    I need to set the text on various form controls(textbox,label,buttons, etc) across threads. Right now, I have one method per control. Below is my SetButtonText method. private delegate void SetButtonTextCallback(System.Windows.Forms.Button tBox, string text); private void SetButtonText(System.Windows.Forms.Button tBox, string text) { if (tBox.InvokeRequired) { SetButtonBoxCallback d = new SetButtonTextCallback(SetButtonText); this.Invoke(d, new object[] { tBox, text }); } else { tBox.Text = text; } }Is it possible to have a generic method that I can pass the control and the text. So the call would look like: SetControlText(button1,"foo"); or SetControlText(label3,"bar");

    C# question

  • sizeof
    D dino2094

    Thank you my good man!

    C# data-structures

  • sizeof
    D dino2094

    Hi, I'm trying to write a method that is passed an array and do some bit operations. I'm trying to figure out a way to determine the number of bits an element of the arrray. I could hardcode the value but I'd like the flexibility just changing the header and nothing else. int count(Uint16[] data){ //Try to do something like int bitsInCell = sizeof(data[0])*8; //Instead of int bitsInCell = 16; } I'm trying to do it the first way so if I want to sent Uint32, I don't have to search the code for 16 and switch them to 32. Thanks for your comments.

    C# data-structures

  • mod
    D dino2094

    For your "mod", double x; your_mod = x - (int)x ; For the second part, you want Math.Ceiling

    C# csharp

  • New Ideas For graduation Project
    D dino2094

    If you want to impress your professor, write a program that determines whether or not a program finishes on a given input. So your program would take a program X and a file of input Y then say yes/no to whether X will exit if given Y.

    C# csharp

  • Without O(n2)
    D dino2094

    Is this a homework question? 1. Sort the array but keep track of the original positions. 2. Set FOO to size. 3. Compare n with n+1 to find duplicates. If the original positions of the duplicates are less than FOO, set FOO the larger of the original locations. This assumes a number can be repeated once, but it is not hard to modify for multiple occurrences. 4. If FOO == size, there are no duplicates else FOO is the location of the first duplicate. Step 1 is O(nlogn) Step 3 is O(n)

    C# data-structures question

  • any interview questions
    D dino2094

    Colin Angus Mackay wrote:

    You get given a PC with Visual Studio and some common tools on it and a specification.

    Do they get access to Google?

    C# question career

  • Any one have Ideas for IT graduation Project
    D dino2094

    michaelqog wrote:

    if any one have in his mind ideas for Project Graduauion in IT engineering fuculty please dend me it and I will be very thankfull for him my e-mail michaelqog_71@hotmail.co

    Spell Checker?

    C# com

  • any interview questions
    D dino2094

    Q: Please explain recursion? A: I would explain it recursively if I could explain it recursively.

    C# question career

  • cookies
    D dino2094

    daku1 wrote:

    can someone explane how to create cookie and which file or class to put it? thank you

    Did you try to google "c# cookie"? In case you never heard of the google. Webster's New Millennium Dictionary of English Main Entry: google Part of Speech: verb Definition: to search for information about a specific person through the Google search engine Example: She googled her high school boyfriends. Etymology: trademark Google Usage: googling n

    C# tutorial question

  • Decrypt but not Encrypt
    D dino2094

    Ah, you need a digital signature. http://en.wikipedia.org/wiki/Digital_signature Google has alot under c# digital signature

    C# csharp design

  • Decrypt but not Encrypt
    D dino2094

    Does the XML file need both confidentially and authentication? Or just authentication?

    C# csharp design

  • Decrypt but not Encrypt
    D dino2094

    Look at wiki Mainly, you are concerned about the difference between Symmetric-key cryptography and Public-key cryptography. From your post, it seems like you need Public-key cryptography but there is a catch! Public-key by itself cannot encrypt large messages. Public-key crypto is usually used for setting up a shared key or digital signatures(DSA). In shared key, one encrypts the key using a Public-key crypto(RSA,ECC,...) and sends it to the other party. The other party decrypts the key and then both parties switch to a Symmetric cipher for future transmissions. (There is also diffie-hellman key exchanges as well). In a DSA (roughly), you encrypt the hash of your message. It might help if you explain in more detail what you are trying to do.

    C# csharp design

  • C# Tutorial or samples for beginners
    D dino2094

    If you already have a background in VB then try just reading the spec at: CSharpSpecStart As far as book, I liked Apress' Pro C# 2005 and the .NET 2.0 Platform. I think it is a great book for those who already know programming but don't know the C# lanagauge.

    C# csharp tutorial

  • using arrow key in a richtextbox
    D dino2094

    I'm trying make a simple telnet client to connect to a JTAG tool. I'm displaying the telnet data to a richtextbox. It is coming along but I'm have a problem trying to get the arrows keys to send. Do you know how to treat the arrow keys like any other key and have it call the keypressed event handler? Thank You for any help or suggestions.

    C# help tutorial question

  • sockets question
    D dino2094

    My blocking tcp server looks something like while (true) { recv = ns.Read(message, insertPtr, 1024); if (recv == 0) break; insertPtr += recv; } As it is now, the client sends the data(of various sizes) and the client closing the socket when it is done, thus causing ns.Read to return zero. My question: How can the client get ns.Read to return zero without closing the socket? I'd like to have the server send some data back to the client without having to open a new socket.

    C# question sysadmin
  • Login

  • Don't have an account? Register

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