VS 2010 Simple Test Program

Jan 1, 2012

I would like to develop a very simple question-answer program whereby there is a user form with a label which contains the question, a text box where the user enters the answer and a button that the user clicks to change to the next question. This should be rather simple but I would like to have about 500 questions in the end (will be slowly adding more questions).

View 19 Replies


ADVERTISEMENT

Set Up A Small Program/script That Can Test Simple Web Functionality?

Jun 17, 2010

I need to set up a small program/script that can test simple web functionality.I already have a window that automatically load the right URL. What I need now is pointers to how I can make that program return a code if it can load the site, then automatically log in to the site and return a code if it is able or not to log in. Then log out, wait for five minutes and then refresh the site and run again.

View 2 Replies

Windows Form Multiplication Test Loop, Math And Cath Very Simple Program?

Nov 26, 2010

I think for you my problem is very simple..I have done the same program in console mode without problem, now i try into windows form...

I generate by random 2 number A&B I multiply them and I will compare it with the result in my textbox3

if it the same as the computer has calculated il will show you congratulation, however i will say try again

I have a problem to calculate the sum, A&B are well generated but nothing in Calc Result

When Calc was working when I write nothing in the textbox3 and i click on Verify it show the msgbox congratulation.I'm looking just for this step, I've fixed the other issues And another things When It's right I would like to random another number for A&B after closing the msgbox, how can I processd ?

[Code]...

View 3 Replies

VS 2010 VB 2010 - Program For Multiple Choice Test?

Apr 2, 2011

I'm really new at programming and was looking for guidance about a project I have.I have to design a program that administers a multiple choice test to users. It delivers questions one at a time, from a predefined test file for the user to answer. It also marks and displays a score at the end of the test.

First, a QUESTION form verify's the user's registration status and access. The user provides a registration number and password and the program reads it from a "registration.txt" file to determine if the user is eligible to take the test (i.e., they are registered to take it). If it is correct, then the user presses the "Begin" button. If not, then a message appears and the student tries again to enter the information.

A read only text box will display the score at the end of the test (String with format correct/total) and the user can't retake the test.Second, a QUESTION form opens after clicking "Begin" on the entry form. The questions are going to be from a "testfile.txt" file.Each question is on multiple lines in the file. The first line consists of the question followed by possible answers followed by the correct answer ( 3 items are separated by "#"). The current question number and the question will be displayed in textboxes.'n'= possible answers; so each of the next 'n' lines provides a possible answer. All possible answers will be displayed in a Listbox.After the user selects an answer, an ''Enter'' button is pressed. This will submit and evaluate the answer. If nothing is selected a textbox should appear and display the error message (APPEARS ONLY IF THERE IS AN ERROR). After pressing ''Enter'', the next question is displayed.When all questions answered, the entry form is displayed again and displays the score.

I know that's a lot of information, but I wanted it to be really clear. Would it be best to cycle/loop the questions with a DoWhile loop? And how would I store the answers while the user goes through the test?

View 7 Replies

VS 2010 CPU Stress Test Program From Scratch?

Oct 12, 2010

i would like for my first project to be a CPU stress testing program (kind of like Core Damage or Intel Burn Test).I have no problem designing the form, but how and where should I start? I've done some searching, but haven't really found much. I think the reason for that is because nobody is really going to just give out source code for anything (which is completely understandable).

The main thing I would like to understand is what exactly makes the CPU work at 100%? And how could I design it to where it automatically determines the amount of cores/threads the CPU has, and utilize them 100% without having to open up one instance for each? Or is that jumping too far ahead?

EDIT > I know that I'll need to create some kind of loop for the CPU to process over and over until closed. I was thinking something along the lines of calculating Pi to 32 million digits or something like that.

> Another goal is to have some sort of error checking capability. I am an overclocker, and I would like to have this ability with this program. For example, it I make it to calculate Pi, then I would like for it to tell me if there were any errors in the digits it produced.

View 8 Replies

Created A Simple Test With SendKeys

Feb 27, 2010

I created a simple test with SendKeys, and tried both SendWait and Send.[code]I tested in skype, and a few of the letters doubled. I tested in Flash, I got "Iffff yyouu cccaaaannn rrreaaaddd thhhiiisss,,, iiittt wwwooorrrrkkks."Clearly the issue is caused by lag. What can I do to prevent doubling (or tripling) of letters?

View 1 Replies

VS 2010 Simple Program - Unable To Get It To Function

Jun 20, 2010

I am trying to write a simple program but am unable to get it to function.

Module Module1

Private Property sum As Object

Private Property number2 As Integer

[CODE]...

View 5 Replies

Simple Snippet That Will Allow The User To Test The Connection For The FTP Server ?

Jan 12, 2009

I need a simple snippet that will allow the user to test the connection for the FTP server entered in a textbox and the username and password from 2 other textboxes. (Server = TextBox1.Text, U/N TextBox2.Text, PW TextBox3.Text) I forgot to note something obvious - there's a "Test FTP" button

View 2 Replies

Test An Answer To A Simple Addition Sum That Is Input From The User To One Have Stored For The Question?

May 22, 2009

i am trying to make a simple Vb program for children to do simple maths, now im not sure im going about it the right way, i have stored all the questions in a database and have called them up to the form and that is working fine, i cant seem to get the right code to check the answer from the user against my stored answer, i am using txtBox to store my answer and a txtbox for the input

View 5 Replies

VS 2010 - File Saving - Simple Pseudo-encryption Program That Changes Each Character Into Another

Apr 22, 2011

I recently made a simple pseudo-encryption program that changes each character into another. It is capable of encrypting and decrypting a string. This can also be done to any text file as well. The characters range from ASCII 32-254 (This on it's own may be an issue because of #127 being DEL).

Because I believed my own coding may be at fault, I attempted this with Triple Des with identical results.For Triple Des, the requirements for en/decryption was:

Encrypt: String to Byte
Decrypt: Byte to String

And to change them either direction, I used UTF8. I also attempted ASCII and UTF32, but I don't know what I should do. I am considering dropping this but I want to learn problems like this because I am currently in college and haven't started my core classes for programming yet and want the head start.

The point where I have come into a problem is attempting to do this to another file type like an image. I looked at the results from encrypting then decrypting and the results were similar, but it seems file encoding must be the culprit.

View 3 Replies

VS 2010 Make A Simple Program That Can Create A Text File With The Content?

Aug 23, 2011

Im learning Visual Basic 2010 on my programming class and we reached the part of file handling. Here i tried to make a simple program that can create a text file with the content of what i type on the textbox, basically i create the file if it doesn't exist, and if it already exists i append the content to it. Once the file is saved i can read it using the "Open" button. Unfortunataly, whenever i try to create the file, the compiler gives me an error saying that it cannot modify a closed file, although i've followed up the execution instruction by instruction and i can't find the error.

Imports System.IO
Public Class Form1
Dim body As String

[code]....

View 6 Replies

VS 2010 Create A Program That Can Access Information Held In An Excel Database And Show It In A Simple Form

Feb 27, 2012

how to create a program that can access information held in an excel database and show it in a simple form.

View 2 Replies

Program Files Are All Mixed Up - In Class Saved Program In With Load Of Other Test Programs For The Same Assignment

Jan 8, 2010

In class i saved my program in with load of other test programs for the same assignment and got everything mixed up i finally figured out what was what and loaded the program in Visual Basic. Now my program doesn't recognize one of my forms when i try to access the design view of it. I hit run for the hell of it and the program runs with errors of course but the form1 "the missing one" shows up with all the buttons etc and i can use it.

Heres the link to the files. [URL]

View 3 Replies

Test If A Program Is Closed?

Dec 27, 2011

in my Application Prime95 is opened for 60 seconds. i want to know how to make the test end if the user closes prime95.

* how to detect if prime95 is not running in short *

View 15 Replies

Test When I Am Connected To Sql DB Through Program?

Aug 2, 2009

I have the following module and i would like to test connection.[code]...

View 2 Replies

Calculation Program For Test Score

Feb 24, 2009

I'm new to VB and I'm doing a calculations program for test scores. I got everything setup for my clear and exit buttons but not sure what I have to put in the calculate button code for it to calculate. Here is what I have so far.

Public Class Form1
Private Sub Label5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lblTestScore5.Click
End Sub
Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click
[Code] .....

View 13 Replies

Importing My Classes Into A Test Program

Jun 23, 2009

I have a project named Mapstuff which contains several class modules. I have created a console app called TestMapstuff where I would like to test several of the classes that I have created in Mapstuff. All of this is under development. The files are stored like this:[code]How do I import the Mapstuff classes into the TestMapstuff app?

View 8 Replies

Make A Program To Test A Speed Of Mac?

Feb 10, 2012

are there any way we can make a program to test a speed of mac even if you are not using it?

like for instance
64:16:F0:003:9A

how can i test this without using it?

View 1 Replies

Test My Codes Efficiency In Program?

Jun 25, 2011

How can I test my codes efficiency in vb.net?

View 1 Replies

Test When Web Site Is Available From Batch Program?

Nov 5, 2011

I have a 'health check' program that I have scheduled to run every 10 minutes. When it detects a problem, it sends a message to my cell phone.

Right now I have it checking databases by connecting to them, and trying to open them - that seems to work fairly well. I also have it checking web sites but all I'm doing to test them is[code]....

View 3 Replies

Write A Program That Will Allow Input Of Three Test Scores

Nov 25, 2010

I am working on an assignment for my Programming Logic and Design class. I also noticed a couple other similar posts but after going through them I still have an issue. I was suppose to write a program that will allow input of three test scores, average them then display a letter grade in a box. At this point the only thing that is being displayed is "F". [code]

View 3 Replies

Created A Small Test Program For Faxing

Mar 28, 2006

I have created a small test program for faxing.On some machines it works and on others it throws the following COM error when trying to send the fax:[code]Here is the source code from my test application.All it requires is a reference to FaxComExLib.[code]

View 15 Replies

Numbrix Puzzle - Write And Test A Vb Program ?

Sep 9, 2009

I have to design, write and test a vb program to help the user slove the numbrix puzzle

so far I had this

[code]

View 3 Replies

Test The Program I Put Any Number From 1 To 16 And I Get My Own Error Message?

Mar 2, 2012

[code]...Basically, I'm trying to make it so when you type a number between 1 and 16, it runs it through the equation and displays a result in a label. This event happens after you press a "yes" button.The problem is when I test the program I put any number from 1 to 16 and I get my own error message, specifically the <1 error. It doesn't make since because I type in numbers that are greater than 1...

View 1 Replies

Good Program Book For Hardware Test Engineer?

Nov 3, 2009

I am a EE graduate from about a year and a half ago working in the semiconductor industry as a hardware/test engineer. I wan't to learn VB to do lab level data test and acquisition. I am learning this in my free time at work and home, and I would be using VB to talk with different electronic equipment through GBIP to source, measure, and record data. Anyone have any good ideas of a good book for such applications?? I know there are a ton of books and courses out there, but 99.9% of that information is not going to be needed for my industry application. I also took a few C classes in college, and I have some experience with labview so I am not a total noob to programming. So if anyone has a good book, or refferences that would be really appreciated.Also what version of VB would you recomend me learning?

View 4 Replies

Argument Not Specified For Parameter 'test' Of 'Public Shared Function TestThis(test As String)'?

Sep 25, 2010

I don't understand the error, Argument not specified for parameter 'test' of 'Public Shared Function TestThis(test As String)'.

Partial Public Class Form1
Shared Sub ReceiveCallback(ByVal ar As IAsyncResult)
Form1.Invoke(TestThis, New Object(){"test"}) 'error

[code].....

View 6 Replies

Unit Test Private Functions From A Separate Project In Program?

Mar 15, 2009

As I develop code, I often want to unit test some of the building blocks of a class even if they are normally private. If my unit tests are inside the project, I can use "Friend" to accomplish this and still keep the functions private for normal use. But I would rather move my NUnit tests into their own separate project(s).

View 3 Replies

VS 2008 Array - Write A Program For A User To Take A 20 Question Test

Apr 22, 2009

I have to write a program for a user to take a 20 question test (A, B, C, D). The users answers will be stored in an array and compared with a 2nd array that has the correct answers. Its then supposed to go to a 2nd form when you click show score, grade it, and display whether each answer was right or wrong. I'm missing something easy probably.

CODE:

View 5 Replies

VS 2010 Test For Language Bar?

Aug 26, 2011

how I could test for an English Language bar? I have some German users that need to run with and English Language bar, so I want to test and prompt if not English.

View 1 Replies

Create A Program With A Simple Gui?

Jan 4, 2012

Im trying to create a program with a simple gui that enables me to search for and select parent folders containing child folders containing multiple files and then validate those files based off of constants i set per child folder and file.

Example

User selects Parent FolderX
Parent FolderX > (ChildFolder1 ( Constant for ChildFolder1 says open file 4 ) > File 4

Compare multiple strings of text in a specific order based off of file name to constants i have set for that named file Then continue to ChildFolder2 ( Constant for ChildFolder2 says open file 16 ) > File 16 Compare multiple strings of text in a specific order based off of file name to constants i have set for that named file If there is any constants not read in one of the files after all have been checked, return msgbox with a notification and write .txt log with child folder and file names to specified directory?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved