Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
88% Quality Score
Upvotes Received
10
Posts with Upvotes
7
Upvoting Members
7
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #3K
~20.9K People Reached

20 Posted Topics

Member Avatar for gozo12

![listboxScroll.png](/attachments/large/4/47909a4b6ef78386e1447565dc52f1ec.png "align-center") ![listboxScroll2.png](/attachments/large/4/5160c4646256003fac492643b66b2647.png "align-center") 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 …

Member Avatar for Xavier_5
0
3K
Member Avatar for Karuna_2

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 = …

Member Avatar for Xavier_5
0
295
Member Avatar for itprosam

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.

Member Avatar for Minimalist
0
451
Member Avatar for Daniel_51

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.

Member Avatar for Xavier_5
0
735
Member Avatar for Mike Bishop

![twoForms.PNG](/attachments/large/4/f37b9e1ca3a97165efa8e82dc1ef9bf6.PNG "align-center") ![twoForms2.PNG](/attachments/large/4/279d9c5d54d9b0ce7a848d3aa0b7166f.PNG "align-center") 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 …

Member Avatar for Xavier_5
0
3K
Member Avatar for Minimalist

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 …

Member Avatar for Minimalist
0
310
Member Avatar for TheMightySpud
Member Avatar for DobyMoby

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 …

Member Avatar for Xavier_5
0
2K
Member Avatar for phphp

I would suggest you to make use of `strtotime()` for both dates and then substract the start timestamp from the end timestamp.

Member Avatar for diafol
0
275
Member Avatar for TheGuy831

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, …

Member Avatar for Xavier_5
0
628
Member Avatar for Luke Benedict

Have you tried to change: `number = cmdItem.ExecuteScalar + 1` into: `number = Int32.Parse(cmdItem.ExecuteScalar) + 1` ?

Member Avatar for Xavier_5
0
191
Member Avatar for Jay_22

One way would be to employ Graphics.FillEllipse, but already having the images and fixing the form's background image looks like this ![ChgOpacity1.PNG](/attachments/large/4/624d1a50414df5a7497b50001e00c3f2.PNG "align-center") ![ChgOpacity1.PNG](/attachments/large/4/624d1a50414df5a7497b50001e00c3f2.PNG "align-center") 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") …

Member Avatar for Xavier_5
0
1K
Member Avatar for xrjf
Member Avatar for Xavier_5
0
2K
Member Avatar for Clif40RD

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.

Member Avatar for Xavier_5
0
2K
Member Avatar for Zainab_4
Member Avatar for Ala'a99

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]

Member Avatar for Xavier_5
0
1K
Member Avatar for Lukas_2

Hold the pan by the handle and make use of `Regex.Matches(inputString, "\W*\w*(?<c>\w)\w*\k<c>\w*")` for pattern.

Member Avatar for tinstaafl
0
474
Member Avatar for Salem_2

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.

Member Avatar for Xavier_5
0
322
Member Avatar for nadiam

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 …

Member Avatar for Xavier_5
0
578
Member Avatar for Bradley_3

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.

Member Avatar for Xavier_5
-1
303

The End.