Write A Simple Sine Graph?
Mar 21, 2011
How to write a simple sin graph for my calculator? I need , when I'll press the button, to show this graphic.
Private Sub btnsin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsin.Click
For i = 0 To 100
[Code]......
View 7 Replies
ADVERTISEMENT
Apr 10, 2010
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?
View 3 Replies
Jun 7, 2009
i need to take user input and make a very simple bar graph from it in vb.net.
View 3 Replies
Jan 20, 2011
I would like to know a simple method to create a simple line graph, with a grid and X and Y values... I tried just drawing in a picturebox but that was just annoying and not clear... Is there any simple way to create a little graph with prefixed values on X and Y (graph should just be lines drawns from different Y values, with always the same change of X)
View 4 Replies
Dec 17, 2011
I was just wondering if there are any examples around the internet on how to develop a simple CAD program.
Would I be better off drawing on the form directly or use a Panel or a PictureBox for that?
View 2 Replies
Jul 25, 2011
How to write a simple validation expression that will accept any whole number greater than zero but less than 1,000.
View 1 Replies
Jul 7, 2010
I'm currently working in .NET 2.0 Visual Basic. The current project is an Active Directory Wrapper class library within which I have a Searcher(Of T) generic class that I wish to use to search the underlying directory for objects.
[Code]...
In short, I want to offer some kind of Expression feature to my users, unless it is too much work, as this project is not the most important one and I don't have like 2 years to develop it. I think that the better thing I should do is to write something like CustomExpression that could be passed in parameters to some functions or subs.
View 1 Replies
Jan 20, 2009
First I'd like to say I am not fluent in Visual Basic, I down loaded Express 2008 and have easily completed the first few lessons. I have some programing exerpience. I have written a few simple programs with Autolisp for Autocad.Vdraft will only integrate with full blown VB programs. So, Maybe someone can write a simple program using Vdraft api which can be found at :
View 1 Replies
Apr 18, 2010
I've designed a Arithmetic Calculator. I can get my additon button to work but not my multiplication button. My result total comes back as 0.
[Code]...
View 2 Replies
Feb 3, 2009
how to create a sine wave generator in vb.net
View 2 Replies
Jan 25, 2011
Could someone describe the way by which i could generate a sine wave sound with a certain frequency?
View 5 Replies
Feb 28, 2011
[URL]..I wrote a program with a timer set to tick every 100 ms. The values oscillate between 109 and 110 ms. Each tick, a variable adds +1 to itself; it starts at 0 and goes to 9 and then it goes back to 0 where it continues the addition process. When the timer ticks 110, the variables is added to a textbox. The pattern is something like this, which you can see in the above youtube video. 5 9 5 9 5 9 4 8 4 8 4 8 3 7 3 7 3 7 etc.
[Code]...
View 4 Replies
Feb 16, 2011
VS2010 VB.Net Windows Form (not WPF). Any Hello World level example for printing the text within a multi-line text box they can post? Ditto for a print preview? I need to write a simple envelope printing app and I need a good base to build upon.
View 3 Replies
Jun 2, 2009
I am making a program to deal with sine/cosine functions
If rdbsideA.Checked = True Then
Do While AngleB > 0
SideA = (SideB * Math.Sin(txtAngleA.Text)) / Math.Sin(AngleB)
Loop
MsgBox("The Length of Side A is ", SideA)
End If
That is if the user seleects to find side a. When the messagebox pops up, it doesnt state the previous calculation, why is that?
View 10 Replies
May 9, 2010
I am trying to read/write a simple text file in net 2008 but can't, as yet, get it to work. This is how I use to do it in VB6
Code:
MyStr = App.Path & "DataData.txt"
Open MtyStr For Input As #1
[code]....
View 11 Replies
Feb 6, 2010
I have a program with various settings, all stored in the app.config file. Often, I have a need to edit the connection string setting. I cannot do so using the My.Settings.myConnectionStringVariable method, as this is read-only. What I would like to do is have a big text box, and simply load the entire app.config file into it. The user could modify whatever they wanted, click save, and the program would save the new edits to the app.config file, and restart the program. I don't have a huge need to only pull out the connection string, as getting the text for the entire config file would suffice. However, if it is easier to pull out just the connection string from the config file, that would work too.
View 1 Replies
Oct 16, 2009
I'm currently trying to write a really simple game on which the player has to pursuit some figures on the screen. Since i'm just writing the prototype version i'm using a Panel wich i redraw 1000 times per second. Now, i want that every level is similar but not the same as past level, so i created a Level Class that contains the game objetcs of Player Class and the Figure Class, wich are the ones that have all the movement subrutines. So, with a Timer, 1000 times per second, i get the input from a joystick, pass it to the player objetc and update the position of the figure object. All this stuff is reported to an internal Panel that every level object has, wich i refresh and then pass it ByVal to the panel that the player actually sees. The problem i have is that after the first level ends, when the second level starts running, i can see the last frame of the fisrt level flashing behind the figures and it makes the game run a bit slower after every level. I tried keeping a copy of the inicial state of exterior panel and use it to clean the one i'm using on the levels but it didn't work...
View 11 Replies
Jan 12, 2009
I am trying to write a simple program which will simply have buttons to open spreadsheets, and a search facilities to look for spreadsheets with a title which is an invoice number. I have my basic forms layed out, all a need now is help with the code.
I am using Visual Basic 2008 Express, and just need a line of code for a button to open an application/spreadsheet. Also, is it possible to have a search box open a file automatically?
View 9 Replies
Feb 23, 2011
How can i use zed graph web to graph a dataset or datatable, the only examples i have found use test data.
View 2 Replies
Oct 2, 2011
I'd like to write a simple Windows form that will make it easy to record a voice message before uploading it to a remote web server and sending the URL to the recipient(s):
[URL]
Currently, the user has to use Sound Record to record the message, use an FTP client to upload it to a web server, and finally, use an e-mail client to send the URL. I'd like to combine those three features into one.
View 14 Replies
Jul 2, 2009
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.
View 10 Replies
Jun 10, 2011
Is there anyone can post a simple code using vb,that start building a simple games ?
View 2 Replies
May 8, 2010
All I am trying to do is write a simple program that will let me choose a directory and get a listing of all files in that directory and its sub-directories and show it in a RichTextBox. I got as far as being able to select the directory but when I click "OK" I get "access to c:documents and settingsstevedesktopmp3 is denied".The code I am using is listed below.
Imports
System
Imports[code].....
View 10 Replies
Dec 9, 2011
Trying to make a simple browser with some simple addon's. What Ive done is setup a menu(forum) for the user to enter their email providers web address and it will save it in a xml file. When they click on the email link, it should load the email xml iformation and place that info in the tb_html.text and navigate. I keep getting a null exception and im not sure what going on here. Here is the code:
Browsers:
Private Sub btn_Email_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Email.Click
'Load Action
Dim SavedEmailObj As Storage
[code].....
View 2 Replies
Oct 16, 2009
I am looking for Graph libraries for .net. Are there any out?ps: I mean GRAPH libraries, not graphics nor charting libraries!
View 12 Replies
Jan 6, 2010
need to code up a bar graph in vb.net..
View 1 Replies
Jul 9, 2010
A part of my project is related to the dynamic data that stored in excel or access (anyone). i need to create a program which can automatically display the graph for these data. Just let say there are three data in excel or access[code]...
how can i display the graph for these data in visual basic?
View 4 Replies
Oct 13, 2010
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.
View 1 Replies
Mar 1, 2012
i am to generate a line graph in vb.net. The graph should be something dynamic. I have a program calculating total distance, therefore in my output window i have iteration number and its corresponding value.
I have to plot the graph as iteration number by iteration value.I have tried an offline graph where i saved the values of the iterations and then draw the graph with the values.
But this is not what i am actually suppose to do. The graph should be generated simultaneously as the processing is being done. I am finding this a bit tough to do.
View 3 Replies
Apr 30, 2012
I have a CSV file in my working directory and dont know how to load in into a graph in VB. I already loaded my chart into the form and its called "Chart1" with "Series1".
The CSV has the following structure:
Date Value1 Value2
27/04/2012 45.1 60.1
26/04/2012 45.2 60.2
.. ..
how to extract this data from the "*.csv" file and put in it a graph where the Date is the x axis and the Value2 is the y axis.
View 10 Replies