- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 10
- Posts with Upvotes
- 7
- Upvoting Members
- 7
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
20 Posted Topics
Re:   The code is working for me. Afterwards, I've made little changes to it: Imports System.Windows.Forms Public Class listboxScroll Private Sub BetterListBox1_Scroll(sender As Object, TopIndex As Integer, thumbtrack As Boolean) Handles BetterListBox1.Scroll TextBox1.Text += String.Format("Scroll to {0}, thumbtrack is {1}", TopIndex, thumbtrack) + vbCrLf End Sub End … | |
Re: I find no way, unless having a class inherited from ProgressBar: Public Class Form1 Dim myPBar As New MyProgressBar Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click With Me.ProgressBar1 .Visible = False myPBar.Location = .Location myPBar.Minimum = .Minimum myPBar.Maximum = .Maximum myPBar.Size = .Size myPBar.Step = … | |
Re: Anyone at home can call variables as he pleases, why not? By modular variable I can understand for example `z = (z+1) mod 3` where z will take values {0,1,2} and wraps around passed the upper bound (also called circular or wrapping variable), but not applicable to a string. | |
Re: Your question has to do with windows forms and not with WPF. BTW I would move coordinates first to the mouse's position and then transform. | |
Re:   I would do the following: A) Create a console application B) Add two forms: form1 and form2 1) form1 has one button to open and show form2 and another button to copy a text from a textbox to a textbox in form2 2) each button will … | |
Re: You may take a look at [Click Here](http://stackoverflow.com/questions/42443542/how-can-i-allow-the-user-to-modify-connection-strings-stored-in-app-config-if-th) and to the custom Config Class. Then you may set a property into the class, so the first time the application is run, establish setup parameters once typed the correct user and password -perhaps encrypted-, and finally set that flag property to … | |
Re: [Click Here](https://en.wikipedia.org/wiki/Arduino) | |
Re: Imports System.Collections Imports System.Linq Public Class searchInComboBox Public aC As New ArrayList Private Sub searchInComboBox_Load(sender As Object, e As System.EventArgs) Handles Me.Load Try aC.AddRange(cboxDomains.Items.Cast(Of String).ToList()) Catch ex As Exception End Try End Sub Private Sub cboxDomains_TextUpdate(sender As Object, e As System.EventArgs) Handles cboxDomains.TextUpdate Try Dim query = From str As … | |
Re: I would suggest you to make use of `strtotime()` for both dates and then substract the start timestamp from the end timestamp. ![]() | |
Re: For Each link In webbrowser1.Document.All If link.innerHTML IsNot Nothing Then Dim sTag As New StringBuilder(link.innerHTML.ToString) If Regex.IsMatch(sTag.ToString, "^(\s*\<)") Then Dim posGT As Int32 = InStr(sTag.ToString, ">") If posGT Then sTag.Remove(posGT - 1, sTag.Length - posGT + 1) End If Dim m As Match = Regex.Match(sTag.ToString, "^\s*\<\w+\s*") If m.Success Then sTag.Remove(0, … | |
Re: Have you tried to change: `number = cmdItem.ExecuteScalar + 1` into: `number = Int32.Parse(cmdItem.ExecuteScalar) + 1` ? | |
Re: One way would be to employ Graphics.FillEllipse, but already having the images and fixing the form's background image looks like this   Imports System.Drawing Imports System.Drawing.Imaging Public Class changeOpacityClass Dim bRed As Boolean = False Dim bmpBlue As Bitmap = Image.FromFile("C:\Users\Public\Pictures\blue.png") Dim bmpRed As Bitmap = Image.FromFile("C:\Users\Public\Pictures\Red.png") … | |
Re: Again, site comments are possible [Click Here](http://xrjunque.nom.es/commentfrm.aspx) | |
Re: There is XMLHttpRequest's open and send methods in Javscript. Open method has a boolean parameter so the call can be done synchonous or asynchronous ([Click Here](http://www.w3schools.com/xml/dom_httprequest.asp). BTW, looks like the image in line 27, has something to do with a product in the shopping cart. | |
Re: No matter where you are, you may try freelancer.com | |
Re: Not sure but maybe ` Ma(n x m) * Mb (m * k) --> Mc (n * k)`: for i in range (0,n): for j in range (0,m): for k in range (0,m) Mc[i][j] = Mc[i][j] + Ma[i][k] * Mb[k][j] | |
Re: Hold the pan by the handle and make use of `Regex.Matches(inputString, "\W*\w*(?<c>\w)\w*\k<c>\w*")` for pattern. | |
Re: The stored procedure is a Select where the only parameter is @LicenseNumber: just only one parameter. Then, when executing the stored procedure, there are a bunch of arguments. These are more likely arguments for a INSERT INTO than a Select sql instruction. | |
Re: Maybe this snippet can do the work. Also, you may add handlers if you wish to, as Reverend's code points out. Public Class Form1 Dim vLbl(-1) As Label, vTb(-1) As TextBox, iv As Int32 Dim posY As Int32 Private Sub btnAdd_Click(sender As System.Object, e As System.EventArgs) Handles btnAdd.Click Try Dim … | |
Re: I would change tinstaafl's line 12 back to `if (i % 2 ==0)` since the problem was adding `i` contents instead of `arry[i]` contents where the random values lay. |
The End.