Search found 2285 matches
- by MrAksel
- Mon Aug 20, 2012 12:31 pm
- Forum: Coding Help & Support
- Topic: VB.NET Help - Checking If Textbox Contains Text
- Replies: 9
- Views: 2291
Code: Select all
And yes, you would be able to check if the captcha is correct your way.If (TextBox1.Text + TextBox2.Text + TextBox3.Text + TextBox4.Text + TextBox5.Text).Contains("letters") Then
End If
- by MrAksel
- Sat Aug 11, 2012 9:07 pm
- Forum: Coding Help & Support
- Topic: OMG so simple yet so hard picturebox help
- Replies: 8
- Views: 2339
ToolStrip.Items.Clear() ?
- by MrAksel
- Sat Aug 11, 2012 8:39 pm
- Forum: Coding Help & Support
- Topic: Tabcontrol into .txt
- Replies: 4
- Views: 1620
For Each file As String In System.IO.Directory.GetFiles("C:\Folder") Dim page As New TabPage() page.Text = Path.GetFileNameWithoutExtension(file) Dim box As New TextBox() box.Text = System.IO.File.ReadAllText(file) page.Controls.Add(box) TabControl1.TabPages.Add(page) Next
- by MrAksel
- Sat Aug 11, 2012 7:54 pm
- Forum: Coding Help & Support
- Topic: Tabcontrol into .txt
- Replies: 4
- Views: 1620
Code: Select all
For Each page As TabPage In TabControl1.TabPages
Dim writer As New IO.StreamWriter("C:\Folder\" & page.Text & ".txt")
writer.Write(CType(page.Controls.Item(0), TextBox).Text)
writer.Close()
Next
- by MrAksel
- Fri Aug 10, 2012 12:13 pm
- Forum: Full Software
- Topic: OpenGL Application
- Replies: 0
- Views: 1024
I found a nice managed OpenGL wrapper on CodeProject , so I have tried a few things. I continued to build on one of the samples that I downloaded ("TwoDSample"), and I like the result :) It responds to a few keys. Try clicking on it (left or right). You can also use the arrow keys, and + a...
- by MrAksel
- Fri Aug 10, 2012 10:26 am
- Forum: Coding Help & Support
- Topic: help with this crazy timer please...
- Replies: 3
- Views: 1279
It would be easier to use a TimeSpan. Public Class mainTimer Dim span As TimeSpan = TimeSpan.Zero Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Me.Dispose() End Sub Private Sub mainTimer_Load(sender As System.Object, e As System.EventArgs) Handles My...
- by MrAksel
- Fri Aug 10, 2012 10:14 am
- Forum: Codenstuff boardroom
- Topic: Decompile help?
- Replies: 2
- Views: 1118
It's is nothing illegal in decompiling your own applications, and you can decompile other applications too if you have permission from the creator.
- by MrAksel
- Tue Aug 07, 2012 12:40 pm
- Forum: Codenstuff boardroom
- Topic: Take Control contest vote
- Replies: 14
- Views: 4284
I don't have the impression that the voters really test the controls, they just look at the images :P
- by MrAksel
- Mon Aug 06, 2012 2:50 pm
- Forum: Coding Help & Support
- Topic: refresh my data didn't work
- Replies: 2
- Views: 1044
You can't close an UserControl. You could call Dispose() instead though.
For the first problem, I don't have any clues at all. It might help if you show how you restore the data ;)
For the first problem, I don't have any clues at all. It might help if you show how you restore the data ;)
- by MrAksel
- Fri Aug 03, 2012 2:34 pm
- Forum: Coding Help & Support
- Topic: Help-Using the cursor to draw a square
- Replies: 3
- Views: 1294
That would not change anything. Replace the DrawRect code with this:
Code: Select all
Dim r As Rectangle = Rectangle.FromLTRB(Math.Min(_pt1.X, _pt2.X), Math.Min(_pt1.Y, _pt2.Y), Math.Max(_pt1.X, _pt2.X), Math.Max(_pt1.Y, _pt2.Y)
_gr.FillRectangle(Brushes.Black, r)
Copyright Information
Copyright © Codenstuff.com 2020 - 2023