Check If Two Series Crosses Each Other?
Jul 19, 2009
If used the following code to create three line series and three point series consists of only one point each.
Public Function JYJAD_EVNELOP()
ENVELOP.Series("Take-off").Points().Clear()
ENVELOP.Series("Zero Fuel").Points().Clear()
[code].....
View 4 Replies
ADVERTISEMENT
May 14, 2012
If used the following code to create three line series and three point series consists of only one point each.[code]I need to check if X value and Y value of the two series matches.How can I find the X and Y value of a point within a line between two points like the ones in the picture?
View 5 Replies
Jan 5, 2011
how to check if numerous textbox's have a value, and then if they all have a value that is greater than zero, and then if they do, execute a command?
View 1 Replies
Mar 22, 2009
Im currently trying to make a windows form application of the game noughts and crosses/tic tac toe ive got everything else working but i can seem to get the Sub that check if the player has won to work.
it says "Conversion from string "O" to type 'Long' is not valid.".below is the code to check if someone wins NOTE: value = O or X , and each line of the IF is a possible winning combo
[Code]...
View 4 Replies
Jan 4, 2010
I've got a website and we just had a huge jump in traffic. Now all of the sudden we're getting sql parameter errors left and right. We switched to a new sql server a few weeks ago and everything has been fine but the added traffic seems to be breaking us.I have a data access class that is called when each user trys to logon. It runs through several tasks before finally updating the users last login date and forwarding them to the administration section.
What I'm seeing from the trace logs suggests that when I'm logging in the first several tasks are using my data (lets say user=birk pass=word). But at some point the accessor class starts sending over the data from someone else who's trying to login (lets say user=abcxyz).Every connection we make to the server is closed when we're finished with it. I'm nulling out all of the accessor objects when I'm finished with them. But somehow different user data from different sessions are making their way into other peoples instances of the object.
I'm not using session/application/cache/viewstate to store the objects so I'm not really seeing how they could edit eachother... Its just really weird and I'm not sure how to even go about researching the problem.This is roughly the accessor class... I trimmed out some of the parts that weren't reliant to the issue
Imports Microsoft.VisualBasic
Imports System.Data
Imports System.Data.SqlClient[code]......
View 3 Replies
Mar 10, 2010
I have a question about listbox. I want to display a series of * in one row. I know I have to use a loop, but I can not have the asterisk lined in one row.
View 3 Replies
May 15, 2012
I have a form in which there are two checkboxes then based on which check box the user selects a
series of labels and combo boxes are shown. I can't get the series of labels and cbx's to show and
to show when the check box is clicked.[code...]
View 3 Replies
Nov 24, 2010
Imagine there is a line, in a text file, with three values separated with commas.
View 4 Replies
Jul 19, 2010
I am using VB.net Express I need to produce a chart so am using MSchart object.I am using the following code to try to add data (2) to column 1 of a series
Me.Reject_Chart.Series(0).Points.AddXY(1, 2)
I do not get an error immediately but then before the form can be refreshed I get a stack overflow.how to I set this data?
View 2 Replies
Jun 14, 2010
I have a strong amount of pictures, which i would like to "protect" by adding watermark on them. Is there any way of adding watermark by using vb.net or C# ?
View 3 Replies
Sep 16, 2011
I am new to Visual 2010 and cannot seem to find any information about using Charts.I have an array, call it PressureOutputs(1000), which I wish to plot against a second array,e(1000).Can anyone please explain how I would add these two arrays to create a series on an x-y scatter graph (which is already present on the Windows Form Application), or point me to a source of information about how to do this?
View 2 Replies
Oct 16, 2010
Program: Visual Basic 2010
Database: MS Access
When I use the following piece of code to delete a single row in a table, it works.
Dim daCcorrente As OleDbDataAdapter[code]...
View 6 Replies
Aug 31, 2009
I am trying to write a code for Fibonacci series in VB, but some of the values in my series are incorrect.Below is what I have so far.
[Code]...
View 4 Replies
Aug 26, 2010
I want to know how a row from a datagridview can be put into a series of textboxes say 1,2,3.I have connected the datagridview to my ms access db, with three fields. I have three text boxes too. i just want to know how to get the row from datagridview to be moved to the three textboxes accordingly.
View 1 Replies
Sep 5, 2011
i'm new to visual basic and i'm trying to expand my programming knowledge by creating random projects that include personal advantages. Right now I am trying to create a program that prescribes a series of commands necessary for the execution of game emulators with the touch of a couple buttons. ive created a gui of sorts ... i just don't know to make it function.
[Code]...
View 1 Replies
Sep 11, 2009
I have this task of writing a code that would play a series of wav files and then allow a person make comment on that wav file.
View 1 Replies
Jan 6, 2012
Trying to write a series of lines to a streamwriter in ASP.NET 3.5 VB.NET but I get an error 'Object reference not set to an instance of an object.' Here is the code
Dim sW As StreamWriter, iX As Integer = 0
For iX = 0 To 5
sW.WriteLine("SomeThing") 'Error occurs here
Next
My goal is to write a write a series of strings in different lines. This seems so simple but I don't see how the reference isn't set; I'm declaring two lines above.
View 4 Replies
Oct 24, 2011
Does someone here experienced this error: ERROR [58005] [IBM] SQL0902C A system error (reason code = "") occurred. Subsequent SQL statements cannot be processed.sQLSTATE=58005..I'm Trying to make a program that will retrieve data from IBM i Series DB2.I established a code below that will check if the program can connect to the server but the error message above appeared.[code]The error will appear on CheckDB2.Open()
View 2 Replies
Jan 7, 2010
I am able to place a single series of chart data with my code but I cannot for the life of me figure out how to add a second series. I can add the Series ... I can Select the series but cannot with out errors figure out how to put data the the series' that I am creating ...
Ol' Mitch
xlApp.ActiveChart.SeriesCollection(1).Values = Rng1 <-- Error
xlApp.ActiveChart.SeriesCollection(2).Values = Rng2 <-- Error
[Code].....
View 2 Replies
Jan 26, 2012
is there any series to learn Server and Client in VB.NET?
View 1 Replies
Oct 19, 2009
If I have posted this question in the wrong forum, please tell me how to find the correct forum.
I am working on an application that presents the average of a list of compass readings. The readings are wind directions. The problem occurs when the wind is oscillating around North. Some of the readings will be in the 300's, other readings can be 1, 2, 10, etc. degress. (A compass reads from 1 to 360 degress. 360 degrees is the same as 0 degrees.
You can't just average the numbers. For example, if you had two readings, 355 degrees and 5 degrees, just averaging the two results in an answer of 180 degrees. The correct answer is either 360 degrees or 000 degrees.
Most likely I can code data analysis logic to look for the problem, but I am hoping there is a simplier way. Does anybody know the answer?
View 9 Replies
Jun 21, 2010
I want to picture a line graph based on my array. I can create a graph line with 3 different series, but I don't get my exact chart as in excel. As can be seen from graph in the attachment. It has additional lines. I want just the 3 curved lines, but i don't know why it create other lines. Here is the code I used:
ReDim dataGraph(2, UPPER + 1)
Chart1.Series.Add("Series1")
Chart1.Series.Add("Series2")
[Code]......
View 1 Replies
Jun 21, 2010
i want to know how to create a program in vb.net about Fibonacci series
View 1 Replies
Jun 27, 2011
I am trying to write a program that writes information from texts boxes to a text file on the users hard drive. I would like to create a new text file if one already exists, for example if text1.text exists, it creates a new text file called text2.text, then if text2.text exists it creates text3.text and so on. Here is what I have so far:
[Code]...
I've tried fooling around with if statements to create a new file but it doesn't seem to be working. Additionally, How can I write to a new line in a text file. For example there are 4 text boxes and each string from each text box gets its own line.
View 1 Replies
Nov 21, 2009
The below photo shows that point 4 is connected to point 1 while point 5 is not connected to point 1 according to the flow direction. How can I programme this?
The below code shows the connections between nodes where the row of the matrix represents "FromPoint" and the column represent the "ToPoint".Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load
[Code]...
View 11 Replies
May 9, 2012
I am wrinting a program which takes customers details and their order details, each order line is added to a DGV and eventually saved to a MDB, a Crystal Report Viewer than queries the information back and displays it in the format I setup in the report i created, then this is printed via the Epson TM T88(from III to V). The thing is this is printing very slowly (line by line) compared to our EPOS software which prints as a thermal printer should.This is how i call the report parameters and print the report:
[Code]...
View 2 Replies
Jul 17, 2009
To Whom It May Concern, could I with this program, so far I think I got it to do what it asked, but I cannot get the program to continuously loop
' Declare TempInCelsius As Double
Dim TempInCelsius As Double
' Declare F As Double
[code]......
View 4 Replies
Dec 29, 2011
I have an idea for a program that is, essentially, a series of calculators. These calculators are specific in their function and user data requirements but may be used independantly or perhaps sequentially. I am thinking along the lines of a "wizard" kind of interface but the user has the option to start, and/or end, at any point in the interface. Each calculator could be used independently, or may even recieve data from the calulcator that prefaces it. To complicate things even further, there may be more than one "wizard" pathway as there may be a variety of calculators in a variety of "threads" so to speak.
I'm thinking along the lines of a "component" style where each calculator, or "calculation thread", might be loaded in when the program starts. This way, I can build on the program over time or perhaps even control access to various components based on user previlages.
View 6 Replies
Jun 17, 2010
1) How is ON ERROR GOTO -1 used? I don't understand the help text.
2) ON ERROR seems to be deprecated. What is the recommended Try...Catch replacement for ON ERROR RESUME NEXT. ie. where I have a series of commands, any of which may throw an exception, and I want to ignore all exceptions yet attempt every command?
View 7 Replies
Jul 1, 2009
I've been looking around for a way to accomplish this to no luck, but is it possible to have a series of keypresses (Like Ctrl + Shift + O) or something like that act as an event? I'm trying to find a way to make something like this show a form using the old Me.Show() code.
View 3 Replies