Teach Or Give Me A Code For A Simple Grading System Using VB '10?
Mar 7, 2012can you teach or give me a code for a simple grading system using VB '10..?
View 2 Repliescan you teach or give me a code for a simple grading system using VB '10..?
View 2 RepliesI want to know about grading system in visual studio I am new in software engr just tell me how we make grading system in windows application in visual studio like when we put 5 in grade section the basic salary will be 15000 and home allowance will be 15 percent of basic salary and conveyance allowance should be 10 percent of basic salary then integer in gross salary will be shown and it will be basic salary plus home allowance plus conveyance allowance minus 5 percent of tax on basic salary and net amount will be shown
View 2 RepliesIs there anyone can post a simple code using vb,that start building a simple games ?
View 2 RepliesCreate an app for the DMV that grades the written portion of the driver license exam.Theexam has 20 multiple choice questions. Here are the correct answers to the questions:1=A 2=C 3=D 4=A 5= B 6=D 7= B 8=C 9=A 10=A 11=B 12=B 13=C 14=D 15=C16=A 17=C 18=B 19=D 0=DStore the correct answers in an array. The user interface form should allow the user to enter an answer for each question.When the user clicks the Score Exam button, the application should display a message showing whether each question was answered correctly or incorrectly, and whether the student passed or failed the exam.A student must orrectly answer at least 15 of the 20 questions to pass.Input validation: Only accept letters A, B, C, and D
here is what i have so far:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
[code]....
I used the following code to save what the user editing , the code don't give me any error code , but in the same time it don't do any thing , the data still without any new changes: [code] I wrote the whole code , so what is the wrong exactly ?There is some columns that may have many same data in its cells .
View 1 RepliesI was before knew how to code that it will give me a random number! Also i know it was 2 ways i could make it. A range from like 0 to 100 if i want that. And then it draws a random number from that! And i knew another there i could type in the numbers and it draws a random from there.
View 3 RepliesI'm trying to analyze the number of a, b, c, d and e after applying the curve percentage selected by the user. Here is what I have so far. I'm using for loop and its adding the curves to the grade distribution.
Public Class frmHW13
'Variables
Dim grade As Double
Dim avail As Integer
Dim curved As Integer
[Code] .....
Where can I find some books that might be used at the High School level to teach students programming using Visual Basic from the ground up, assuming no knowledge of programming?
View 5 RepliesI'm trying to make an application that would give me the source code off a web page. But so far I have nothing.
View 39 RepliesI have tried a lot to search a book which has good discussion about sending SMS through vb2010 application.I have tried in Google,Bing, Google Books etc. but couldn't find any book which can teach me how to sent sms through WEB API..
View 8 RepliesI am looking for a simple lesson plan or work sheet or tutorials to help me teach VB to pupils. It will be an introduction to programming for them so it must be easy. Online versions would be best. I am prepared to pay..And they do not like reading so it needs to have more images/videos to follow than words. Online versions would be best. I am prepared to pay.We have MS office at school so it would be good to teach them how to use VB in excel so I do not have to get a separate compiler or smallbasic?All I can find are too high a level tutorials online which are too wordy and do not have instructions/tasks set. I need simple worksheet/ instructions or examples for them to edit.I am sure Microsoft must have this and I am not having to re invent the wheel!
View 4 RepliesI m making registration form for teachers in which teach ID is one column name i want message box error if id number already exist in side the table means uniqe ID e.g if id no 1 is already exist then 1 should not be added when next time user register the new teacher with id no 1 with msg box this is my coding
Private Sub btnsave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsave.Click
Dim con As New SqlConnection("Data Source=.DHEERAJ;AttachDbFilename=D:Program FilesMicrosoft SQL ServerMSSQL.2MSSQLDataschools.mdf;Integrated Security=True;User Instance=false;initial catalog=schools")
[code].....
I am currently writing a program in Visual Basic 2008 express edition to read and write to tags on an Omron PLC. I am using the DeviceXPlorer OPC Server V4.1.1.1 program to connect to the Omron PLC. I have made two programs, one is a form program which works fine, two is a windows service program where it does not let me connect to the OPC Server. The connection code is identical, the only difference is the windows service code is called by a timer. The timer works fines and jumps into the connection code, but stops at the line
[Code]...
[code]Close to no real programming skills (PhotoShop artist turning Visual Basic Beginner)This is a snippit of the code used in my browser. Basically the items that are in the list box are loaded from a text file hidden in the installation directory so a manager (or such) will be able to edit which websites are navigate-able.Here comes the problem though, I have not been able to get it to work correctly it will not block any of the listbox items. If I can remember it will only block the site which is selected.How can I re-code it to make the program block all the items in the listbox instead of just one.(Also if not too much trouble how can I make something that will enable and disable the code)BTW this isn't a commercial program or anything just a project I have been working for ever at home.
View 9 Repliesi want to create a simple POS system, can you tell me how can i hide group of buttons/ controls on the first load of a form and then group of controls will just show after a button is clicked or selected. Also i want to have a display (on same form) of what is selected by the user.
View 3 RepliesI am trying to develop a simple inventory system. I now have all the database set up and would like to know if there is any code that I can refer to that alert users when the stock is low (e.g pop out window informing users that stock is low or change the number of stock in the database table into different colors).
View 16 RepliesI am creating a game which has a simple score system which I don't understand why it isn't working the way I want it to. When loading the game the User starts with 10 credits and for every time they run the game it costs 2 credits
This is my code for this below
Dim intCredits As Integer = 10
Dim intGamesPlayed As Integer = 0
intGamesPlayed += 1
intCredits = intCredits - 2
It has no errors but it doesn't take away the credits each time the game is played besides the first time. So when I run the game it will go to 8 credits, and it will stay on 8 credits even if I run the game again.
I'm trying to create a simple user tracking system so whoever has the program open can see who else has the program open. I know how to retrieve the username and everything. What I was doing was updating (loading and saving) a listbox with a text file on the network with the usernames in it. I can't get it to work right and I think its because the simultaneous opening and saving of the same text file by multiple users. I know this isn't technically the best way to go about doing this but it seemed like it should be the easiest. I don't want to make a huge project out of this because it isn't that important, it would just be nice.
View 7 RepliesI am creating a points system for a game, this is the code I have but it isn't working as I want it to.
Dim intScore As Integer = 10
Dim intNumOfGames As Integer = 0
intNumOfGames += 1
intScore = intScore - 2
The user will start will a score of 10, but everytime they click the button the user should lose 2 points off the score. But my code above that doesn't happen, when the user clicks the button it only happens once leaving the user with 8 points throughout the game.
after searching for around a half hour or so, I found that the regularexpression API could do what I need.Basically, I needed to only allow letters, numbers, and symbols in my textbox. The problem was, I could stick alt codes in there, even with a keycode case check
View 2 Repliesi know how to make a simple login system but im not sure how to script it. I make a txt stored at a website. And i will open it with a invisible textbox (to login, only username requed). Then when i have a logon screen. And if i write like:"ABCUSER""SUSER"And make a if like: If 'text in login screen' equals line 1 or 2 in invisible textbox, then ...etc
View 14 RepliesIm still a bit newb to coding in Vb but Im trying to figure out how to make a simple inventory system for my video game. I need it to do a few simple things and Ive never made a inventory system before so im a bit lost on how to approach it.
Functions Needed:
Player has 40 pb that act as the visual inventory or display the item in that slot.
[URL]
I set up my armor menu to allow drag an drop of the item but again not sure how to even get the inventory system created to finish the armor menu to allow the object to be dragged into its box and remove its self from the player inventory.I think I need to make a array for 39 or 40 in my adventurestorage class. That part Im pretty certain of but how do I set that part up? I have over 200 images that need to act as a item that can be dropped into the inventory.
I'm trying to run a simple database and im getting a "System.NullReferenceException" error ) & "Additional Information:Object reference not set to an instance of a object" .
txtItemName.Text = rowCurrent.Item("ItemName") <-- highlighted in yellow
Code is as follows:
vb.net
Imports System.Data.OleDB
----------------------------------------------------
Public Class Form1
[code]....
Im trying to make a simple send key system on my project but it dosent send to the window in in why ?
SendKeys.Send(X)
My.Computer.Keyboard.SendKeys(X)
I'm a rookie in Visual Basics 2008 and i am trying to make a program to communicate and read tags from an Omron PLC. I am trying to connect to the PLC via devicexplorer opc server, because it can let me read DInts and Reals from the PLC tags. I have referenced Microsoft ActiveX Datas Objects 2.5 Library and OPC DA Automation Wrapper 2.02. I have made some code which connects to the PLC "in a form", but I cannot use the same code and connect through as a Windows Service program.Here is my code,
Public Sub OpcConnect(ByRef Items() As String, ByVal PLCType As Integer)
Dim j As Integer
Dim TempSvrHandles As Array[code].....
Note: this code is run in a timer on the windows service, it connects properly to the "RSLinx OPC Server", but "Takebishi. Dxp.1" (devicexplorer shortcut) exits the sub routine at MyServer.Connect(PLCServer) ' connect to the opc server.
I just finished making a Tetris game in VB.NET, and I wanted to add a high score system to the application. So, when a user completes their game, they have the option of submitting it as a high score, which will compare their score against the previous high scores, then place it accordingly. I was thinking of an XML approach of doing this, where the user's name, rank, score, level, and number of lines cleared will be stored in tags. Here is what I thought the XML might resemble:
[Code]...
So the program will have an array to store all the previous scores. It will read through the XML, and copy the the score data into this array. Then, when the time comes to submit a score, it will compare this score against those previous scores, and find the proper position for that score, and then save it into the array. At the end, it will then copy all the score data from this array to the XML, replacing the <Level>, <Lines>, and <User> tags in the process.I am however having trouble implementing this, as I have no experience with XML files and everything I've read has been very confusing.
I think its better if i attach my files for you understand what i wanted to happen in my program.
We are now in our finals and for our project we need to make a program that shows connection of database(sql or access) and vb.net so dont mind if it has a problem in design or anything bcoz the objective of this project is to show what we've learn in our subject IT Programming 1 (vb.net)
I dont know what to do in this part of my program. what to do first? why is it attaching zip files is not allowed?
code for calculator using vb.net
View 2 RepliesI have a windows service written in .NET 2.0 that will run every 5 minutes and executes bunch oracle SQL/PLSQL scripts based on time/validation, it throws the above said error some times against some SQLs, the same SQLs run fine at later point without any error, I have no idea what is going on with the app. I am not sure if this has any thing to do with oracle connection pool as I am properly closing the connections after every SQL execution.
Exception:
System.Exception: Unexpected return code: 1 at System.Data.OracleClient.DBObjectPool.GetObject(Object owningObject, Boolean& isInTransaction) at System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection(String encryptedConnectionString,
[CODE]............................
i m usingin vb.net hw can i call system calculator thought code
View 3 Replies