-
Replied To a Post in Refreshing data when using a datareader
Well, perhaps it does not make the difference, but: Public Function LoadLabels() As Int32 Dim cn As New SqlClient.SqlConnection("your connection string") Dim cmd As New SqlClient.SqlCommand( _ "SELECT db_Team.db_team_TeamName, db_TeamMember.db_teammember_FirstName, … -
Replied To a Post in Refreshing data when using a datareader
I guess your timer is an instance of System.Windows.Forms.Timer. Then, add an label to the form, say "label_error", and modify the Timer.Tick event so: Private Sub Timer1_Tick(sender As Object, e … -
Replied To a Post in Refreshing data when using a datareader
Be careful, though, with threading and pop-up windows: is not a good practice. Really, the thread should send a message, in case of error, to the main thread to be … -
Replied To a Post in Refreshing data when using a datareader
Well, a Try-Catch would allow, for example if there are any transactions to cancel. Also, if the timer calls once the function without any problem and suppose that for some … -
Replied To a Post in Math Parser and Evaluator Programming Overview Tutorial
Finally, the other 3 classes are: Public Class m8Response Public sExpression As String Public retDouble As Double Public rpn As RPN_Stack Public Overrides Function ToString() As String Return retDouble.ToString(MathGlobal8.us) End … -
Replied To a Post in Math Parser and Evaluator Programming Overview Tutorial
"reNum" stands for a Regex instance defined in class MathGlobal8. The purpose of "reNum" is to parse a number out from input string: Imports System.Reflection Imports System.Text.RegularExpressions Imports System.Runtime.Serialization <Serializable()> … -
Replied To a Post in Math Parser and Evaluator Programming Overview Tutorial
If you have understood the above "Module1" example, you'll also see that class exprParser follows similar mechanics: nextExpr() calls nextTerm() which, in turn, calls nextPow(), that calls nextToken(). Here, nextToken() … -
Replied To a Post in Math Parser and Evaluator Programming Overview Tutorial
Present explanation is about version 8.4.1. There have been many changes, so the code is differs slightly from 8.4.0: I am sorry for the inconvients it may cause. But, now, … -
Replied To a Post in Refreshing data when using a datareader
Yes, your code now looks much neater. Have you seen [this](http://stackoverflow.com/questions/10367925/refresh-sqldatareader-on-button-click) thread before? -
Replied To a Post in Math Parser and Evaluator Programming Overview Tutorial
Here is the explanation, along with a VB.Net module. There are four consecutive functions. Each one invokes the next and, on exit, returns back to the previous function the result. … -
Began Watching Refreshing data when using a datareader
Hi, I am new to VB.NET and am working on what is pretty much my first app. The app is based on a sql data source (created within Visual Studio) … -
Replied To a Post in Refreshing data when using a datareader
Why use labels? Why not a datagrid or simply a listbox or a multiline textbox? BTW, why not enclose in a try-catch and use a name more meaningful as myvalue? … -
Replied To a Post in Datagridview
I believe any code is valid, may be (why not?) old fashioned, if achieves the required tasks without errors, all the rest will need improvement. I am almost sure you … -
Began Watching checkbox symbol in draw methods
Please consider my ondrawitem methods of my derived checkedListBox class. At this stage I put "-->" in front of he selected item and " " in front of the others. … -
Replied To a Post in checkbox symbol in draw methods
Instead of drawing the box, another approach would be to load 2 images: one with the box and the other without (or whatever images you decide). Then in the OnDrawItem() … -
Replied To a Post in Math Parser and Evaluator Programming Overview Tutorial
I see, in a short term, I'll provide Daniweb an extense explanation. -
Created Math Parser and Evaluator Programming Overview Tutorial
Have you ever wanted to develop a math parser and evaluator? Are you in such a quandary or just have curiosity or interest in the matter? If so, you may … -
Began Watching Math Parser and Evaluator Programming Overview Tutorial
Have you ever wanted to develop a math parser and evaluator? Are you in such a quandary or just have curiosity or interest in the matter? If so, you may … -
Replied To a Post in VBCodeProvider Referenced Assemblies
For me works fine: in last line number 12. the instance of class EvalRunTime is created in variable "o". You just need to add a method called "EvaluateItNonShared" in class … -
Began Watching insert and update using same button in vb.net
hi sir, i have vb.net project connected with msaccess ,in that when i inserting a value to one table i want to update the value in another table is it … -
Replied To a Post in insert and update using same button in vb.net
Who knows when a security issue may overcome, but take a look at [Click Here](http://msdn.microsoft.com/en-us/library/windows/desktop/ms723115(v=vs.85).aspx) Then, I think this other way may help: objConn = New OleDbConnection(sconn) objConn.Open() Dim AccessCommand … -
Replied To a Post in Datagridview
...of course: dim Konter as Int32 -
Began Watching Datagridview
hi..... i want to show data i datagridview...  This is my function codes : Public Function AutoNumber() As String Dim cnn As New SqlConnection(StrConn) Dim cmmd As New … -
Replied To a Post in Datagridview
I can't verify your code, but seems it should work iterating: Konter = 1 ' intialize Do While dReader.Read() ' get in Kode a 3char string of Konter filled with … -
Replied To a Post in VBCodeProvider Referenced Assemblies
Change the above to something like: If oCResults.Errors.Count <> 0 Then Console.WriteLine(oCResults.Errors.Item(0).ToString) Else ' No Errors On Compile, so continue to process... oAssy = oCResults.CompiledAssembly Dim vModules() As System.Reflection.Module = … -
Replied To a Post in Mates8 grapher
The above code has been replaced by this new one. Here, the points of discontinuity have been taken into account. So, for example, function tan(x) does not joint adjacent points … -
Replied To a Post in Drawing graph responding to continuous input
sorry for the index mistakes, let me retry: ...then a new point, say (h,f(h)), must be drawn between point (xi,yi) and (x(i+1),y(i+1)) because xi<h<x(i+1). Redrawing problem is, now, to repaint … -
Replied To a Post in Drawing graph responding to continuous input
Suppose code [Click Here](http://www.daniweb.com/software-development/vbnet/code/474958/mates8-grapher) was adopted for a window's panel control. Suppose again, in a given instant the panel has drawn points (x0,y0) (x1,y1)... (xi,yi) ...,(xn,yn) and then a new … -
Began Watching VBCodeProvider Referenced Assemblies
Hello, I have another question about dynamically compiled code. I am using the VBCodeProvider class to compile, test, and run "scripts" that users type into my program (Code Below). Public … -
Replied To a Post in VBCodeProvider Referenced Assemblies
Converting method 'EvaluateIt' to 'shared' Imports System.Text Imports System.CodeDom.Compiler Imports System.Reflection Module Module1 Sub Main() Compile("return 2+3", "") End Sub Public Sub Compile(ByVal vbCode As String, ByVal argsString As String) … -
Began Watching final year project
i am a final year computer science student and im trying to develop a voice based email system for the blind as my final year project,which means the user can … -
Replied To a Post in final year project
You may find the answer by inspecting in which programming language do you feel more confortable. Maybe it's no so important the language choice -most languages are sufficiently empowered-, but … -
Edited Mates8 grapher
By means of Mates8, graph coding becomes a bit easier. The web page has four textboxes so the figure gets bounded to the left, right, top and bottom; and a … -
Edited Mates8 grapher
By means of Mates8, graph coding becomes a bit easier. The web page has four textboxes so the figure gets bounded to the left, right, top and bottom; and a … -
Edited Mates8 grapher
By means of Mates8, graph coding becomes a bit easier. The web page has four textboxes so the figure gets bounded to the left, right, top and bottom; and a … -
Created Mates8 grapher
By means of Mates8, graph coding becomes a bit easier. The web page has four textboxes so the figure gets bounded to the left, right, top and bottom; and a … -
Began Watching Mates8 grapher
By means of Mates8, graph coding becomes a bit easier. The web page has four textboxes so the figure gets bounded to the left, right, top and bottom; and a … -
Began Watching Drawing graph responding to continuous input
I would like to draw a graph (on a PictureBox) using Graphics in VB.net The input values are added over some time which need to be presented as graph. But … -
Replied To a Post in Drawing graph responding to continuous input
I'm not very sure if a PictureBox is best, depending perhaps a Panel control would do. I also think that the graph's background (axis, axis divisions, text and so on) …
The End.