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[^]
dino2094
Posts
-
Need to put data into my web form on a webbrower -
Need to put data into my web form on a webbrowerHi, 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!
-
Hash Encryption.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.
-
Generic forms call back?Wow! So easy easy, I missed it! Thanks!
-
Generic forms call back?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");
orSetControlText(label3,"bar");
-
sizeofThank you my good man!
-
sizeofHi, 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.
-
modFor your "mod",
double x; your_mod = x - (int)x ;
For the second part, you want Math.Ceiling -
New Ideas For graduation ProjectIf 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.
-
Without O(n2)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)
-
any interview questionsColin 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?
-
Any one have Ideas for IT graduation Projectmichaelqog 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?
-
any interview questionsQ: Please explain recursion? A: I would explain it recursively if I could explain it recursively.
-
cookiesdaku1 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
-
Decrypt but not EncryptAh, you need a digital signature. http://en.wikipedia.org/wiki/Digital_signature Google has alot under c# digital signature
-
Decrypt but not EncryptDoes the XML file need both confidentially and authentication? Or just authentication?
-
Decrypt but not EncryptLook 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# Tutorial or samples for beginnersIf 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.
-
using arrow key in a richtextboxI'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.
-
sockets questionMy 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.