Develop A Program Which Input A Student Details?
Jul 14, 2011am looking to develop a simple program which inputs a students details and prints to the output,
View 3 Repliesam looking to develop a simple program which inputs a students details and prints to the output,
View 3 RepliesI have created a class called Student, with five private variables: [code] My main form is divided into a number of different sub procedures. In one of them, I used a streamreader to take the first name, last name, and phone numbers of a list of records in a text file called PersonalInfo.txt. It seems to work just fine. [code] I have another, separate sub procedure in which I read a different text file containing the "averages" for the students. The first average from Averages.txt belongs with the first student in PersonalInfo.txt. The second average goes with the second student.. How do I add the student average information to the properties of the student records created in the previous sub procedure? [code] I realize why this wouldn't work, but I can't figure out how I could use my counter to reference a specific student.
View 4 Repliesrandomly select a single student out of the student array based on their subscript number. This will be accomplished by the following:
[Code]...
Problem Specification: The Caswell Catering and Convention Service want to install a computerized billing system. You are to develop the application to accept as input the following items:
a.The Name of the customer (string).
b.The number of adults to be served (byte).
c.The number of children to be served (byte).
d.The cost per adult meal (single).
e.The room fee (no room fee if catered at the person's home).
f.Amount of deposit which is deducted from the bill.
The following is a sample application's input section [code]...
I tried to make a phone book but I having some problems inserting it to the databank and then updating the Datagridview. I use a Dialog to input the contact details. I have 7 dialog's and 7 Label's.
Name + Textbox for giving contact details , ...
Then I click the button and I thought to use this code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'I have set it to false so they have to use the dialog to make the contacts but I don't think its the best way'
Form2.DataGridView1.AllowUserToAddRows = True
'Simple Check For checking phone number and Name has values(user must give the value)'
[Code] .....
I am trying to develop a simple math calculator that will allow the user to input the right-hand-side (RHS) of an equation into a textbox on the application and have the application evaluate the expression for a given value of x, which is also input
into the application by the user via another textbox.For example, if the user wants to evaluate the following expression,
y = 3 + 4*x + 5*x^2
then they would input into the textbox the RHS of the equation
3 + 4*x + 5*x^2
and then enter a value of x into the another textbox and click on the calculate button.I tried this:
answer = EquationTextBox.Text
but it doesn't work.
We are creating a VB program for school to collect data on student attendance and populate it to a table. I have all of the 'GET' statements but am having trouble creating the 'Insert' procedure. This is what I have so far. The form being used to fill the table has 4 items being recorded. 'Present' radio button marked as present, tardy or absent; StudentId, PeriodId and date. Not sure if we are on the right track. The target table is tmAttendance. There are approximately 25 rows of data on the input form.
View 3 RepliesWant to develop POS program in visual basic?
View 2 RepliesI have 4 Tables Master And Three Tables Details
how to programming this Technique
This Picture dispaly what i mean http://img300.imageshack.us/img300/3981/26072009110315.png
i am trying to develop a program that will get all the processes in the task manager and from there, i'll get a specific application so that i will restart it. the problem is this:
I can call that specific application yet before restarting it i shall manipulate it's pause button before i can actually kill it,.HOw do i "click" the pause button on the called application? Can you help me with the code that i need to use?
I'm having problems with a stock program that I'm developing. It's a program that adds a quantity of products to a field called stock quantity in a table named Stocks. In the part of adding a quantity inserted by the user it's ok, it works, but it adds to all fields in the table.I need that the user may choose also the product Id of the product to add, in order to prevent the situation above.
[code]...
I have no problems with the Syntax Errors.So far the only problems I'm having are with the Runtime Errors and Logistic Errors.
View 4 RepliesI'm starting to work through Murach's ASP.Net 4 Web programming with vb2010.
Do I leave the 2010 studio default collection of settings from Visual Basic Development to Web Development or Web Development(Code Only) in order to follow the examples and learn to develop web pages? And are there other things I should do to set up the enviornment for persuing this.
As I need a program to develop an ebook, I wrote one. But perhaps I am re-inventing the wheel. Does such a program already exist in visual basic, that is to say is it available in the forums? If not I am willing to upload it.
View 16 RepliesWhat I want to do is to add a new student loan and the program checks the book title if loan exists, does not allow the same loan to be created. There is no limit on the number of loan placed by the student. How do I write the code as above in VB.NET Note: 1 book Per Loan number Add Loan Form
View 1 RepliesI'm trying to develop a simple program which will show a form with a listbox and a button. The buttom will allow a listbox entry to be selected and close the form. The entry will them be sent to the previous open application.
For example, I could select my postcode from the listbox and have it sent to the currently selected field in my internet browser. Or the current date to my text editor.[code]...
I want to develop Modbus RTU Master program ..
I am expert in Modbus communication and I have designed the Modbus pre-programmed remote controls ,, Now I want to interface some Modbus RTU slave devices to my own developed application ...
I am much familiar with the Modbus RTU syntax and I've tried following to initiate the the master query but I am getting initial 3 bytes ok ,, rest of the bytes are changing the values on COM port so slave is not responding to my command ..
CODE:
I dont know how 2 develop PDA system... using vb.net
View 3 RepliesI want to develop Modbus RTU Master program ..I am expert in Modbus communication and I have designed the Modbus pre-programmed remote controls ,, Now I want to interface some Modbus RTU slave devices to my own developed application ... and looking for kind guidance ..I am much familiar with the Modbus RTU syntax and I've tried following to initiate the the master query but I am getting initial 3 bytes ok ,, rest of them are changing the values on COM port so slave is not responding to my command ..
******************************
Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button10.Click
Dim BYTE1 As Byte = 1
Dim BYTE2 As Byte = 6
[code].....
I'm trying to develop a program structure in very broad terms. At this point, the Forms used do nothing but call other Forms and allow for their closure. After startup and initialization activities, I want the user to set up options and run the program. The program can be run again (click one button) and again with the same options, or (click another), the options can be changed for the next and subsequent runs. Clicking a third button will cause shutdown activities to be performed.
Sounds pretty simple. However, I get the options form the first time, but subsequent ShowDialog calls cause the form to pop up (I detected a Load and an Activated call) for an instant, then disappear, and the program rolls on without permitting option selection, even though the key variable NewSetup is definitely True.
Code:
Public Class RunMain
<STAThread()> _
Shared Sub Main()
[code]....
I need to know how to develop an inventory system using vb.net with msaccess
View 1 RepliesI have a project to do for one of my classes that i need help on. Its and extra credit so im left on my own. Project Create a program to allow a student to create there own schedule. what i am trying to do is create a checkedlistbox for the student to check classes they are taking, and need something else to pop up or to show in another box or listbox the classes they can take for the next quarter. I know it has to do with if then statements but i dont know how to write basically:"if (class is checked in checkedlistbox) then ( these are the classes you can take)".
View 2 RepliesAfter dealing with the pain-in-the-____ error "The path is not on a legal form" witch only occured after dragging a file system watcher onto the form, by creating the file watcher in the code. When an event is raised, i have to tell the user what happened. I can do this using messageboxes, without any problem. But, when I wanted the output to be displayed in a textbox, the program terminates without any warning. Here is what my code looks like:
Public Class Form1
Public watchfolder As FileSystemWatcher
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code]....
I was required to create a program that add the contestant details to a listbox.
Add
contestant
to List
button:
[Code].....
I am trying to develop a program that will allow a user to automatically log into a website with a username and password and click login, which works fine, However after clicking login i am trying to have the pragram click another button to submit a file. This is where the program bombs. This secondclick will work in a separate event but not in the same event as the login.
View 9 RepliesI'm trying to get a details view in ASP.NET to display the details of the logged-in user only. I have been told to use:
select * from STAFF where USERNAME = user.identity.name
I thought this was too simple to be true and I was correct as it shows no data when I attempt to run.
Is it possible to develop a program in vb.net which can find the location of vehicle in a cctv camera range?if possible ,what are the APIs and technologies used for it?can any one suggest any link or the steps involved in this process...?
View 5 Repliesi use visual basic 6 i already try making a button to play sounds. by clicking the button and the sound will out. so that i want to know were could i start, when you input words in textbox the program will speak what you have type in the textbox.
_
I have a procedure at the end of my console application that ask the user to either hit enter to end the program, or type s to perform another search. The issue I'm having is no matter what the user types in the program end. What I would like to happen is if the user types s, then the program starts over and lets the user perform another search. The program is procedural and I need to find a way to start back off at the top of the program which ask the user to type a name to search.
[Code]....
I am trying to retrieve file details from files in the Program Files folder. I receive an error while trying to retrieve file details.
Dim sFileName As String = ("%ProgramFiles%Windows DefenderMSASCui.exe")
Dim Info As FileVersionInfo
Info = FileVersionInfo.GetVersionInfo(sFileName)
Msgbox(Info.ProductName.ToString())
I receive file not found error at 3rd line. But if I change the path from "%ProgramFiles%Windows DefenderMSASCui.exe" to "c:Program FilesWindows DefenderMSASCui.exe" it works fine.
What should I do if I want to retrieve file details from the path which includes a "%" character?