I'm making a cricket project, and I'm trying to insert a bar graph that will update as I score the match, showing the total for each over. The code I have so far is below, at the moment I'm trying to draw the graph into a picture box, is this correct? Also, if the below code is ok, how do I call the sub?
Public Sub graph_paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles graph.Paint
Dim total(20), i As Integer
For i = 1 To 20
total(i) = over(i, 1) + over(i, 2) + over(i, 3) + over(i, 4) + over(i, 5) + over(i, 6)
[Code] .....
I have to draw a bar graph in my vb.net program. I used AxMSChart to create a graph. Everything has gone fine but when i published this and run on Vista PC, all form was good except my form includes MSChart. It says class not registered.So i have to draw a graph except MSChart tool.
I am assistant soccer coach and my daughter is the score keeper, I am trying to create an app that makes it easier to keep track of the players score as well as the total and the kids names. So this is what I am considering...Since the numbers of kids is never the same since some miss games, I want to be able to enter in the number of players present and then ask the players names the exact amount of times my daughter previously entered as kids present. Then display the names in an array with a text box for each child to keep track of individual points scored and total points scored by each child. So in the end it would be nice to display each child with the amount of points scored, total individual points next to there name and total points for the team in a separate form. I assume I will need at least 3 forms, either a multi dimensional array for the names and the score, and possibly a user control to take in the players for the game.[code]...
I downloaded mschart20.ocx manually and register it with regsvr32.exe bu it gives an error ven I tried to launch my program. link to set up mschart property to my visual studio 2008 prof.edt. I need to draw a x/y graph with visaul basic.
I want to develop a graph application in VB.Net (VS2008). I have many point with (x,y) values. There I have calculated angel and radius by Pythagoras theorem. How to draw line with X,Y co-ordinate with scaling and put the point into this graph.......
Based on some calculation i will get the (x,y) coordinates of the points to be plotted. I need to draw a line graph based on these points. Which is the best and easiest way to do so?
I have series of video files that i need to automatically draw some line over through to the en. The line varies, the values will be provided, is this possible in vb.net?
I am having problems passing data from one form to another form opened from the first form.Here is my scenario: I have my start-up form. From this form I open a form by using the following:
[code]...
I use this because I want to be able to open multiple forms from the start-up form.Then from the PartyDetail form I open another form to display order details, like this:
[code]...
I want this order details form to be able to get a partyid variable from the party detail form.This works, but depending on the order that I open the forms the variables are incorrect Example:If I open the first PartyDetail form and then open the OrderDetail form, it works correctly. I can open as many PartyDetail and OrderDetail forms that I want and the variables are correct.But, say I open a PartyDetail form and then open another PartyDetail form and then open the OrderDetail form from the first opened PartyDetail form, it displays data based on the second opened PartyDetail form instead of the first. Basically, I want to be able to open multiple PartyDetail forms and then open OrderDetail forms based on whichever PartyDetail form it is opened from.Right now I am using Public Shared variables on the PartyDetail form and accessing this variable from the OrderDetail form. I suspect this is my main problem but don't know the best way to pass the variables from the PartyDetail form to the OrderDetail form.What would be the best way to do this?
Will any of the free light-weight charting libraries; ZedGraph or NPlot, be able to draw a simple graph similar to attached image (no waste of space, and with colored plot areas)? This plot will act much like the task manager "CPU Usage" plots, with update of last value every 500ms, but only making a new datapoint every 1 minute or so.
Or is this so extremely simple that it's better to hard-code it? What classes should I look into for this?
Is there a way to draw a graph in real time. The excel file has one column with the time in sec.(x) and the other column is data(y). The examples with charts I've seen is about converting to a picture, then paste it to a picturebox.
I have a ms access database with few tables and queries. I need to draw a graph/chart with the results of the queries in excel. Is it possible to do with vb.net coding?
I want to draw graph in visual basic 2010 form which changes with time. Just like the CPU usage history graph in the "Windows task manager" dialog box. Thats time vs. usage graph. I want to make applications with that kind of graph.
I have two values those are contiguously One is Time along x-axis and second is the CPU Usage in percentage along Y - Axis. I want to draw a continuous line Chart/graph what ever called.
I was just thinking if there is any component which monitors sound output. My intention is to recognize a particular sound coming out from my soundcard. I know its an issue about the driver of my sound card but is there a way I can get atleast noise level coming out of my speakers and maybe draw a graph and detect the peak at when the sound is played?
Haveing troubles with an assignment. I am writting code that will allow user to enter a score and the program returns a grade based on the score entered. I can get it to work using "IF" statements but want to use code for ranges. My "IF" code is as follows.......
Haveing troubles with an assignment. I am writting code that will allow user to enter a score and the program returns a grade based on the score entered. I can get it to work using "IF" statements but want to use code for ranges. My "IF" code is as follows.......
I am writing a noughts and crosses game and I want to be able to keep score everytime each character wins a game, I have written a sub routine to handle this but it seems to count up in 5's and 10's??I have used a global variable like this Dim i As Integer = 1 then declaired that variable in my sub like this i += 1 (I thaught that this would just add 1 everytime X won a game)then used the variable i to add the score to the label control that keeps the score for the character X.My question is, am I using the correct syntax (+=) for the variable.
I am doing some graphics work like Paint event, but I found a problem that the form will flash again and again whenever I call the method IRefresh() or Invalidate(). What can I do if I want to update a graph continuously but not causing the form to flash?
On programming assignment without having any real experience in vb. I guess I don't understand subroutines that well. When the program runs it never goes to the computer's turn and does not update the users score either. This assignment is already in but would like to know what is going wrong. Using VB 2010, and this is windows application.
Code: Public Class Form1 Dim Myturn As Integer Dim Computerturn As Integer
Am trying to match characters or combination of the characters i specify in any order they appears
vb Regex.IsMatch(teststring "[nuls]")
what i want matched is either any single character, or combination of any of them in any oder. this means that it should not match any character not specified in the pattern.
I need to get the DataGridView to perform the way it should perform. I'm new to the .NET environment, but I learn fairly quickly. However, I find it difficult to decipher themassive black box of the DataGridView control enough to make it do anything other than what it already does--Draw very slowly.
is there any way yo get the score of one player in counter strike? one of the player on the computer. not all the players. i know that when you are looking att server info, then you can see all the player and there scores. is there anyway to replicate that function?
I've made a computer game in Visual Basic Express 2008 and my only remaining problem is to run a data table to keep a running track of the best score. To do this I've created a datatable form called BestScore.xsd. My first problem here is to recognize that it should will start off with nil values and I need to initialize it to zero. Next I need to update the score. I will need to save the score when I exit the game. (Does VBE automatically save the datatable or there a command here?). When I reopen the game program I want it to find my best score from last time.
I have been working on a class project for sometime now. Currently stuck and need some help. Project is due today, so I'm desperate for some help. Please see attached project file.
i just got another assignment with no instruction on how to do it. I have no prior programming skill so these assignment are really hard for me, [URL]..