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


ADVERTISEMENT

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 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

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

Web Brower From Scratch?

Nov 14, 2010

I was wondering is it would be possible to create a web browser from scrach(meaning not the webbrowser object) in Visual basic(or any other visual studio languages).

View 3 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

Creating Database From Scratch

May 18, 2012

I am trying to create an empty table from scratch using Microsoft SQL Server Compact 3.5 and I am running into this problem.Please take a look at the screenshot below.[code]How come I do not have the same screenshot as the web site link below as Frank Smith showed in his example? What Do I have to do/install to have the same screenshot as in the web site below? I have Visual Studio 2008, Microsoft SQL Server 2005 and Microsoft SQL Server Compact 3.5 installed on my computer..url...

View 1 Replies

Custom Control From Scratch?

Jun 13, 2009

This is purely academic-- I'm looking for an example of a custom control, created from scratch as in not built out of existing controls, you're actually handling drawing it, ect entirely yourself.

View 4 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

C# - Implement WebSockets From Scratch With The .NET 4 Framework (and Nothing Else)?

Jun 22, 2011

I want to build a simple chat app where people can go a url, type in a name and a message and click submit and it will basically show that message to everyone that is current connected.Firstly i would like to state i've had zero experience in sockets programming and the like. I'm simply a web 2.0 person building websites with css/html/js/ajax and backend i have asp.net on vb and sql server for database.So basically coming from an ajax background, i was wondering why do we even need to download any additional stuff to do web sockets? I mean in ajax i can simply create a asd.aspx file and use Response.Write(text) (text based on the input which are available through dissecting the url) and voila, the server side is done, all that's left is just to create new XMLHttpRequest and stuff in the client side.

So ok I'm not worried about the client side part of Web Sockets. but the server side part of web sockets is just difficult. so in the client side i have this: ws://localhost:8080/websocket. Is it true that it will work if is also an .aspx file as such: ws://localhost:8080/websocket.aspx ?I'm wondering so how do i continue from here? in Ajax i will supply parameters from client in the url as such: page.aspx?a=1&b=2 and do output in the server using Response.Write it's all clear but how do we do it in web sockets?

View 1 Replies

System.Drawing.Graphics From Scratch?

Jul 15, 2010

Rather than create a Form and use Graphics generated via the CreateGraphics Method, how does a System.Drawing.Graphics Object get built?

View 16 Replies

VS 2008 Create Bitmap From Scratch?

Dec 25, 2009

I want to know how I could create a bitmap from scratch with no images to start with.(I would say need. but than you would think this was for some sort of school project and it's not.)Basically, what I have is an image which is perfectly square in shape and has a black border with a black x going through it, what is not black is white. What I'm looking to know is how to take that small image (50x50 pixels) and make an image based upon those by placing them in X Rows of X amount. I'll make a couple example to show what I mean.(X's represent the 50x50 image.

[Code]...

View 7 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

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

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

Creating A Corporate .Net Namespace Framework From Scratch?

Apr 21, 2009

We are migrating our applications to VB.Net 2008 from Classic VB and I need to create a base namespace and business layer. My method of approach is going to be to visit our top BA and identify the common areas of our (Fixed Income) company and try to form a decent inheritence model with as much of the code in generics as possible. What's everyone's experience of doing this and also as a second part of the question, we are looking at incorporating Web Focus into the OLAP side, how would this affect the design of the corporate namespace and it's derivatives?

View 3 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 New Battery From Scratch While Using The Old Code As A Reference Point?

May 13, 2012

I'm currently starting a new job in which I will be working on some coding in the future and need some advice on some good places to start so I can learn this correctly. Essentially we need to bring VB4 code over to the new VB.net language and I will be tasked with this. The project consists of a large battery of tests for psychiatric patients consisting of mostly multiple choice questions presented one at a time - since VB4 isn't very compatible, I think I will create a new battery from scratch while using the old code as a reference point.

I started creating the code this weekend for fun and am really enjoying it. However, a huge problem has been the abandonment of control arrays in the new language... by the time I got to creating my first questionnaire I'm stumped and can't follow the old code. Clearly I'm not ready to tackle such a large project with no experience and need to start from scratch; who would have thought .

The reason why I'm here is not to ask you to help me with my work. What I'm wondering is if any of you have any cool advice of great places to start learning the language (books, websites, etc). The amount of literature is very overwhelming so I thought I would ask some people with experience for tips. If any of you have stumbled across learning material with emphasis on coding that would be useful in the design of questionnaires or multiple choice exams, it would be particularly useful.

So far my starting place is Visual Basic 2010 Step by Step with Michael Halvorson, it seems good at a glance in the sense that it couples theory with practice but I'm already sure I'll need a little more.

View 12 Replies

VS 2008 Adding A Record / Create A Database From Scratch?

Feb 2, 2010

I'm following the sops from msdn on how to create a database from scratch. I would now like to programmatically add a single record via a command button?

View 3 Replies







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