Position In Class/stream In A School?

May 21, 2012

I am working on an Examination system for a secondary school. The system captures the marks of students of the subjects they take and stores them in the database. from there, it has to compute the grades of marks for each subject that a student takes and get the position of that student in the stream and in the class.

For the gradeing part of it, I have already made it, my problem is to get the positions of students and show them on the rdlc report.

The word class and stream here, I mean;

The school has six classes, senior one/form one TO senior 6/form 6 as classes and each class(form) for example senior one has 4 streams. By streams, I mean; Students are grouped into different streams but under one class(level/form).

for example; form1 A TO Form 1 D that is one class/form secondary level. form 2 also has four streams ( form 2A, 2B, 2C, 2D) and so on. So a student can be number one in his stream but if the marks are compared to other streams of thesame level, he is number 3. it is indicated on the report as Position in Stream 1...........Class 3

View 8 Replies


ADVERTISEMENT

VB Class (class File - Not School Class)

Aug 9, 2011

so I used to mess around with C#, just a little. And someone had helped me make a class for Visual C# that was supposed to do the math parts for "internal structure" - which the program used for a part of its calculations and screen... Basically there were 2 options. Endo-Steel and Standard. The user would use a updownbox to determine weight of the machine and then internal structure was a % of that total. If it was standard then it was 10% of the overall weight, if it was Endo-Steel then it was 50% of standard (so 5% of total weight) rounded to next 0.5 (so .25 was .5, 1.25 was 1.5, 1.75 was 2.0, etc). I have the code for the C# class file for it, but want to make it in VB.

[Code]...

View 11 Replies

VS 2008 Allocating Pupils To A Class In School Software

Nov 11, 2009

I have a people table which stores pupil information and a class table which stores class information. The people table has a foreign key to the class table called ClassID. although this isn't actually a master/detail situation i've coded my form following master/detail principles(using JMcilhinneys great example) so that I can select a class from a combobox and then add pupils to a datagridview, and the selected classid would be pushed through when saving. here is my

[Code]...

View 1 Replies

Set Stream Position From Download?

May 13, 2010

I want to Download a File from a HTTP Server with a System.Net.Webrequest and a Response. I read it with a Binaryreader. I want to set the Position (Binaryreader.BaseStream.Position), but if i do that i get a Exception -> This Stream don't accept Searches.

[Code]....

View 3 Replies

What Is The PHP Equivalent Of The VB Class Stream

Jun 11, 2012

As discribed on this MSDN pageWhat would be the PHP equivalent? Is it even possible to do the three things listed on that page under remarks Streams involve three fundamental operations:You can read from streams. Reading is the transfer of data from astream into a data structure, such as an array of bytes.You can write to streams. Writing is the transfer of data from a datastructure into a stream.Streams can support seeking. Seeking is the querying and modifying ofthe current position within a stream. Seek capability depends on thekind of backing store a stream has. For example, network streams haveno unified concept of a current position, and therefore typically donot support seeking.

View 2 Replies

Copy File With Stream Class?

Feb 7, 2011

why this code doesn't work:[code]....

View 11 Replies

FileReader Class - End Of Stream Loop

Mar 1, 2012

I have a problem with the filereader class (i think). My program has server/client interaction and the client reads from a text file, sends the data to the server. The problem is, the client is sending the last line of the text file twice, so for example I use test data in the text file such as:

Test data 1
Test data 2
Test data 3

The server will receive:
Test data 1
Test data 2
Test data 3
Test data 3

Here is my code, I have a feeling it is to do with the filereader.endofstream loop.
Private Sub readLine()
Dim filePath As String = ("D:outputLog.txt")
Dim fileReader As New StreamReader(filePath)
Do
chrMessageToSend = fileReader.ReadLine()
[Code] .....

View 9 Replies

How To Create A Stream Writer Class

Jun 24, 2011

i am creating a program which scans and saves images. in my program i have the option to save images and with each image i save it gets its own number for example: file1, file2, file3, file4 and so on. the only problem i have is getting the prgram to remember where it left off so it carry's on the number. my understanding is that i need to create some sort of stream writer or file stream class for this proccess to work. so it save's the last image number i was on, and carrys it on next time i open the program up again. and i also need it to re-write the new image number its on for next time. so i need to write and read the text file (.txt) and write it again if you catch my drift? i have a book to help but the wording in it is so confusing at the min, i m lost where to start.

View 1 Replies

Set Up A CLASS To Represent A Data Stream?

Apr 1, 2009

I'm trying to set up a CLASS to represent a data stream.This is a newbie question so if the answer is obvious, please excuse me.Several of the data items are multiples which I would normally represent as an Array element.For example, in the code below, the element SolarNameplate has up to 10 instances, so I'd like to use array notation.I get errors, and it doesn't work, so I assume I can't do it like below.

QUESTIONS : 1 - is it possible to use an array element in a class ?

2 - is there another way to achieve what I want ?

Public Class SM1PS01
Private _Projid As String '... name or number of project
Private _LogoFile As String '... file containing customer logo[code]...........

View 18 Replies

Send A XML Serialized Class Over A Network Stream?

Oct 13, 2009

I'm trying to send a XML serialized class over a network stream

the send is working

Dim IP As Net.IPAddress = System.Net.IPAddress.Parse(IPAddress)
Dim IPE As New Net.IPEndPoint(IP, 10003)
Dim TCPClient As New Net.Sockets.TcpClient

[Code]....

I always get an error {"Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."} The XMLFile has the xml document in it most of the time and I can go on and everything works but 1 out of every 5 times it doesn't work at all and the XMLFile contains nothing ..

View 6 Replies

Class Variables - Preserve The Last Window Position

Jun 4, 2011

I have two forms that are called by the main form. One is named frmEdit, and is invoked by the ShowDialog (modal) method. The other is named frmSearch and is invoked by the Show (non modal) method. In both cases I want to preserve the last window position so each form (class) begins with Public Class frmEdit (or frmSearch):

Dim lastx as Integer = -1
Dim lasty as Integer = -1

in the Shown event handler for each form I have the code
If lastx >= 0 Then
Me.Left = lastx
Me.Top = lasty
End If

and in the FormClosing handler I do
lastx = Me.Left
lasty = Me.Top

What I don't understand is why the frmEdit (modal) form remembers its previous position but the frmSearch (non-modal) does not. frmSearch always invokes with lastx and lasty equal to -1.

View 5 Replies

Stream Read Return Length 0 While Stream Is Open And Has Valid Data In It?

May 25, 2012

in an winForm app in VS2010 win 7 compiling to x86, I try to do what Alvas.Audio seems to work. See (c# ex: [URL] for reference.

Dim data() As Byte = wr.ReadData(second * i, second)

The result give me data.length()=0. I do not have any exception, I can read format from it and whatever reader I use I got this problem.EDIT : After some tests, it seems like the uncompressed file I create in the first step (in PCM format, with .wav extension) can not be recognized by the Alvas.audio library for the second step. I must miss something around Audio file markups or something alike.

Here is the code that might be the source (basically this is step 1):

Dim functOut As String = String.Empty
Dim wr As Alvas.Audio.IAudioReader = Nothing
Dim fs As IO.FileStream = Nothing

[code]....

How can I write the resulted stream to be sure I can read it again later?

View 1 Replies

VS 2010 Make Shoutcast Stream Info Like The Stream Name

May 5, 2011

Im making a desktop player for a online web radio, and for the program I wanna make it show all the stream info. Like the stream name, and such. However I dont know how to do this? I looked everywhere

The server url is setup like this "[URL]" And it has all the stream info and that there. So is there a way I can get the info from there onto like say a label? Live updates btw.

View 1 Replies

Crypto Stream To Memory Stream?

Nov 22, 2011

I have a problem with the cryptostream, if i write the stream to a memorystream the memory that the stream used is still alocated and i have no way of unalocating it.what am i missingdoing wrong? im using-using on the streams,readers and crypto stuffs so the framework should shut them all down right? i tryed calling .close and .dispose but nothing ,in fact i moved it all over I have provided the sub that im using for the encrytion im in .net 4.5 so there is a lil async stuff but i know thats not the problem coz i moved this code out of my main app(.net 4) for testing to see if i could fix the problem.[code...]

View 12 Replies

Saving Window Size And Position Multiple Monitors Toolbar Position Etc.

Aug 24, 2009

I have looking for a tutorial or class that demonstrates more than a trivial example of saving a windows position on closing. The ones I have found don't seem to work on all systems because of:

1. Multiple monitors. (and resolution between those monitors)

2. Toolbar size and position (toolbar is only on the primary monitor, well sometimes)

3. Sometimes the programs dont open on the right monitor they were closed on.

Is there an extensive class or tutorial on all the stuff a programmer needs to get right to have a window size and position persisted between executions?

View 1 Replies

VS 2008 BindingSource.Position - Event To Fire Only Once After The Position Command

Dec 5, 2010

I am using the following code to populate data in Textbox1:

[Code]...

I have few functions assigned in TextBox1_TextChanged event. The problem i am facing is this event is fired twice, once after the Fill command and another after the Position command whereas i want the event to fire only once after the Position command. What should i do?

View 6 Replies

Teach VB High School?

Jan 22, 2006

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 Replies

Generate A TimeTable For School Autogenerate?

Dec 29, 2010

I want to generate a TimeTable for School autogenerate.how i can generate it with Any algorithm? and which algorithm can i use for it?is any Prepare Algorithm is available for generate it?

View 1 Replies

Project For School (snake Game)

Dec 6, 2010

Iam doing a project for school (snake game) Ok here is the code:

[CODE]:................

Snake.image is the head of snake and snake2.image to snake27.image are the rest(body...) So i want create a code that (if snake intersect snake2 to snake27 parts) then timer1.stop I have tryed with:

CODE:

But it doesnt work..

View 6 Replies

Add Extra Function To A School Project

Jan 11, 2011

I'm wanting to add two forms to my project that will allow me 1) Pull all the current MS Updates installed and list them in a nice looking grid, 2) Pull a list of all the available updates for the machine. I would love for this to work on XP/Vista/7.

View 5 Replies

Aid In A Technology Classroom At A Middle School?

Nov 10, 2009

I am an aid in a technology classroom at a middle school. They have 12 computers that must be logged into everyday. The teacher has given me the password to log in the computers for the students, because he doesn't want them to know it. The teacher's computer is linked to the other 12. I was wondering if it is possible to develop a program that has a list of the 12 computers with 2 fields, one for user name and password. These for each computer. You would enter the username and password and it would log in the computer. This would be done from the teacher's computer. It would make it a lot easier than having to go around and log in those computers. [URL]..

View 17 Replies

How Can Made School Project In VB 6 Or 2008

Mar 29, 2010

how can made school project in vb6 and vb.net2008 with full sources code?How can Made School project in Visual Basic 6 or 2008?

View 2 Replies

Make A VB Program For A School Assignment?

May 20, 2011

I have to make a visual basic program for a school assignment. I am an absolute beginner at it though, but am willing to learn.I have to make an income calculator for farmers that make giant turnips.

So basically:

1. If the turnip weighs less than 350kg, the farmer will receive $2 per kilo
2. If the turnip weighs 390 or more, the farmer gets $1.50 per kilo MINUS $180 for a maintenance fee.
3. If the turnip weighs between 350 and 389kg, it has to be sent to a paddock that costs $25 per week for lease. Turnips loose 1% of their mass per week in this paddock. When the turnip gets below 350kg it can be exported. As ships depart weekly, turnips may drop a bit below 350Kg before departure.

Create a profit calculator for the turnip farmer for a list of cattle weights.

Functional Requirements: oEnter the weight of each cow into an array oCalculate the income from each cow and store in another array oAdd up the values in the array and display total income.

View 1 Replies

School Assignment - Drawing A Filled Box

May 8, 2009

Hi, I am currently working on a school assignment where I have to draw a house. I cannot figure out how to draw a filled box on the Form using my mouse. I have figured out how to get my pointers X,Y coordinates assigned to variables to be used, but I do not know what code to enter to draw a filled box.

My code is below

CODE:

View 2 Replies

School Project Remote Acess

Mar 4, 2011

im working on a school project where i shall show/explain how a remote acess program work and i coded the most but when want to send all listbox items from server to the client and in the client is another listbox where it should be transfered over..[code]

View 4 Replies

Upload Files To School Server?

Jul 19, 2009

I am only allowed to use HTTP in my school (ie, no FTP is allowed). and i have to upload some file from a specific folder on my PC to a web page at 1 hour intervals automatically (ie, every hour a file is dropped into that folder, and i have to get a windows service or desktop application that would automatically detect the new file, and the file finally show on my website page, hosted on the school server.) Remember, the files reside in a folder called DAT on my personal computer in my office.

View 4 Replies

.net - School Assignment: Examples Of Different Types Of Applications?

Nov 18, 2010

I'm a student taking a beginner computer programming course. My teacher told me to use this website if I have any questions. The lesson I have just studied is about the different types of applications in VB.NET. My assignment asks me to "Give at least five examples of each type of application." I'm supposed to do a web search to find these. The different types of applications I'm supposed to find examples for are: Console, Window, Web, Class Library, Control Library, and Smart Device. Then I'm supposed to provide a description or a screen shot of each example.

I hope my question isn't considered too simple for this forum, but I don't know what else to do! I've spent a long time trying to search for examples myself and I can't seem to find anything.

View 1 Replies

Make An HTML Editor For School Project?

Jan 27, 2012

I'm trying to make an HTML editor for my school project. color coding the text so if they type <html>, <b>, <body> in any case it'll color code it to turn blue.

View 5 Replies

Null Reference Code In My School Project

Jan 15, 2011

I am basically 4 weeks into my first ever programming class and we are working on a project for the game "Hangman". While I have struggled with everything for the past 3 weeks, I have finally cams across something I have no idea how to correct. I am getting a Null.Reference error in the following line of my

If Not strWordToGuess.Contains(strLetterGuessed) Then

Now this code was provided in my project files, it was dated 4/07, I am currently working in VB 8 express, I am thinking this might have something to do with it.

View 14 Replies

Program Will Eventually Be Installed On The School System?

Mar 16, 2010

I am using Visual Basic 2008 express and I have created a simple database application for my y6 pupils. The program will eventually be installed on the school system but, i want to know how I can ask vb to find which folder the application was installed in and get it to return a string. Does anyone know how to do this??

View 5 Replies







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