Search found 2285 matches

Search found 2285 matches Page 5 of 229
by MrAksel
Sat Jul 07, 2012 3:53 pm
Forum: Coding Help & Support
Topic: [HOW TO]Webbrowser shows only CAPTCHA
Replies: 5
Views: 1551

When the page has finished loading:
Code: Select all
For Each el As HtmlElement In WebBrowser1.Document.All
    If el.GetAttribute("class") = "captcha-img left" Then
        WebBrowser1.Navigate(el.FirstChild.FirstChild.GetAttribute("src"))
        Exit For
    End If
Next
by MrAksel
Sat Jul 07, 2012 3:45 pm
Forum: Quick Snips
Topic: shadow on form!
Replies: 13
Views: 5848

mandai wrote:
This will only give it a shadow if you have the visual effect enabled for 'show shadows under windows'.

There is no such style named CS_DROPSHADOW. The value for this is actually taken from WS_GROUP.
What? MSDN
by MrAksel
Sat Jul 07, 2012 3:43 pm
Forum: Coding Help & Support
Topic: Enable Disable Dropshadow With Checkbox
Replies: 10
Views: 2976

What do you mean Mike? Add the code below to the form you want to change the shadow state. In Form2 you can then do "Form1.SetShadowEnabled(True)" (or false)
Code: Select all
Public Sub SetShadowEnabled(ByVal EnableShadow As Boolean)
   Shadow = EnableShadow
   RecreateHandle()
End Sub
by MrAksel
Fri Jul 06, 2012 10:00 am
Forum: Coding Help & Support
Topic: Screen Recorders in vb.net
Replies: 9
Views: 1953

And what do you mean by advanced? Most screen recorder tutorials you find on the net saves images, not even an AVI movie. I would say that the one here is pretty advanced
by MrAksel
Fri Jul 06, 2012 9:58 am
Forum: Coding Help & Support
Topic: If webpage contains text like "username invalid"...
Replies: 6
Views: 1745

Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted If WebBrowser1.DocumentText.Contains("Your username is invalid") Then MessageBox.Show("The username you chose is invalid") End...
by MrAksel
Fri Jul 06, 2012 9:53 am
Forum: Quick Snips
Topic: shadow on form!
Replies: 13
Views: 5848

#mshimranpro you just paste it anywhere in an existing class. In your Form1.vb file (for example), paste it under "Public Class Form1" (or anywhere else for that sake). #Bogoh67 #clanc789 Yea Mike just posted this, the only difference in the code is that pip uses hexadecimal numbers and no...
by MrAksel
Fri Jul 06, 2012 9:49 am
Forum: Codenstuff boardroom
Topic: What are you doing?
Replies: 8
Views: 2030

I'll be leaving tomorrow and be away for about a week, and the Monday after that I'll be going for Spain :D wahooo; On the programming front, I'm not as active as before. I tried Java some days ago and found that to be fun, C# isn't as fun as it was half a year ago :P I have a crazy idea of making a...
by MrAksel
Fri Jul 06, 2012 9:39 am
Forum: Coding Help & Support
Topic: Enable Disable Dropshadow With Checkbox
Replies: 10
Views: 2976

Private Const CS_DROPSHADOW As Integer = &H20000 Private Shadow As Boolean = False Protected Overrides ReadOnly Property CreateParams() As CreateParams Get Dim p As CreateParams = MyBase.CreateParams If Shadow Then p.ClassStyle = p.ClassStyle Or CS_DROPSHADOW ElseIf (p.ClassStyle And CS_DROPSHA...
by MrAksel
Thu Jul 05, 2012 7:21 pm
Forum: Coding Help & Support
Topic: Enable Disable Dropshadow With Checkbox
Replies: 10
Views: 2976

Guys the problem is that the CreateParams property is only called once; when the window (form) is created. Its not something you can just change at runtime. I've been searching for a while now, but I haven't found any solution :(
by MrAksel
Tue Jul 03, 2012 7:31 pm
Forum: Tutorials
Topic: Website redirect help
Replies: 7
Views: 3834

I think you just have a file inside the folder, nothing else but having an html file :? I dunno
Search found 2285 matches Page 5 of 229
Go to advanced search