Posts by mago • 46 points
5 posts
-
3
votes1
answer289
viewsA: VBA Variant array position for String
In VB.NET you can use LINQ to do this, but as you are using VBA you can simply loop and concatenate the string. In your example, I think it would be as follows: strFile = strFile &…
-
0
votes1
answer190
viewsA: Pass form parameters to the reportview and generate proof with the information in Visual basic.net
From what I understand your reportview is a class, no? Just instantiates it with a constructor with arguments. In VB, the constructor is called by the following method: Public Sub New(byval arg1 as…
-
0
votes2
answers2143
viewsA: Filter Datagridview by Interval Between Dates in VB.NET
You can also filter through the datatable, after the query without the date filters. For that just create something like: Dim filtro as String = "data >= '" & dt1 & "' and data <= '"…
-
0
votes1
answer202
viewsA: Sendkeys.Sendwait() is not working in a particular application
Try placing the following function in the constructor (New) or in the event (Load): Me.KeyPreview = True In this case it will detect the pressing of some key and you need to develop the routine that…
-
0
votes1
answer135
viewsA: Visual Basic - Progress Bar reset automatically
Add the following code within the function Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick RPGMakerBar.Increment(1) If RPGMakerBar.Value = 100 Then QtdDinheiro.Text =…