Search found 2756 matches

Search found 2756 matches Page 4 of 276
by mandai
Sat Feb 15, 2014 6:15 pm
Forum: Quick Snips
Topic: Snippet - Select random listbox item
Replies: 5
Views: 3040

It seems to give an exception when I try this:
System.ArgumentOutOfRangeException: InvalidArgument=Value of '3' is not valid for 'SelectedIndex'.
by mandai
Sat Feb 15, 2014 6:00 pm
Forum: Coding Help & Support
Topic: Find and click on a colour's coordinates
Replies: 9
Views: 3097

I am wondering about the fact how I can 'select' a colour to be searched for, because I've put a yellow background on the picturebox and it always gives me the 'MsgBox("Not found")' part. With the first code sample you could use this code to search for a color value: Dim colorBytes As Byt...
by mandai
Mon Feb 03, 2014 12:06 am
Forum: Coding Help & Support
Topic: Search in listview ( vb.com )
Replies: 5
Views: 1821

You can use this code to search in listview sub items: Private Sub btnSearch_Click(sender As System.Object, e As System.EventArgs) Handles btnSearch.Click ListView1.SelectedIndices.Clear() ListView1.HideSelection = False Dim found As List(Of Integer) = New List(Of Integer) For row As Integer = 0 To ...
by mandai
Sat Feb 01, 2014 3:48 pm
Forum: Coding Help & Support
Topic: Split file into multiple files splt by string
Replies: 5
Views: 1786

You can use this code to make the split files: Private Sub btnSplit_Click(sender As System.Object, e As System.EventArgs) Handles btnSplit.Click Dim lines As String() = IO.File.ReadAllLines("input.xml") Dim current As List(Of String) = New List(Of String) Dim count As Integer = 0 For i As ...
by mandai
Mon Jan 27, 2014 11:14 pm
Forum: Tutorial Requests
Topic: System Wide KeyBoard Hooks
Replies: 13
Views: 4895

The listboxes are used to set the keys that it looks for. For example if you need to check for Shift+F1 then ListMod1 would be at index 3 and listKey would match the index for F1. After btnSet is clicked it will listen, then when the hotkey is pressed it will run the code in WndProc. This is all the...
by mandai
Sun Jan 26, 2014 10:28 pm
Forum: Codenstuff boardroom
Topic: Any Ideas? (multi-server setup)
Replies: 3
Views: 1286

I think we need to know the kind of request and the web server that you are using.
by mandai
Sun Jan 26, 2014 10:12 pm
Forum: Coding Help & Support
Topic: Hotkeys | VB.NET | [Help]
Replies: 3
Views: 1358

You can check for hotkeys with RegisterHotKey. There is a VB.Net sample here
by mandai
Sat Jan 18, 2014 7:46 pm
Forum: Installing Software
Topic: Mozilla Thunderbird Help
Replies: 4
Views: 2949

When you use an IMAP account in Thunderbird it will try to download all the messages (according to their article here).
Master M1nd wrote:
I want that it should only download emails that I receive after installing it
You could move the old messages into a different IMAP folder and then switch back to POP.
by mandai
Sat Oct 19, 2013 4:31 pm
Forum: Coding Help & Support
Topic: How to draw a thick arrow in picturebox
Replies: 7
Views: 2220

You can use this code to draw the arrow by mouse click: Dim g As Graphics Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load PictureBox1.Image = New Bitmap(PictureBox1.Width, PictureBox1.Height) g = Graphics.FromImage(PictureBox1.Image) End Sub Sub drawArrow(B...
by mandai
Fri Oct 04, 2013 7:31 pm
Forum: Coding Help & Support
Topic: Process bring to front
Replies: 6
Views: 1925

If you are trying to find the process by name you would need to change some of the code: Private Sub btnpress_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnpress.Click Dim procArray As System.Diagnostics.Process() Dim lb As New ListBox lb.Items.Add("notepad")...
Search found 2756 matches Page 4 of 276
Go to advanced search