Search Results - VBForums

Search:

Type: Posts; User: Flashbond

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    218

    VS 2010 Re: How would I do this?

    Code removed by Moderator. We do not help banned people in this forum (this is no reflection on you Flashbond).
  2. Replies
    3
    Views
    242

    VS 2013 Re: changing default value of numericupdown

    Hi,

    Although there is no built-in property for this, you may still achieve with a custom NUD control:

    Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles...
  3. VS 2013 [RESOLVED] Filter the same values in the previous string list

    Hi Guys,

    I have list1 and list2 Lİst Of String.

    I am filtering the unique values in list1 with:


    list1 = list1.Distinct().ToList()

    I want to filter the same item numbers in list2 with...
  4. VS 2013 How to merge nodes with same value by preserving structure in XML

    Hi Guys! I want to parse it with VB but if there is an easier way, I am open to suggestions.

    I have:

    <search value="5/12/2014">
    <departure value="US">
    <resort...
  5. VS 2013 Re: Center vertical scrollbar position of a RichTextBox

    This is clever. I was dealing with low level classes etc.. This is very clever...
  6. VS 2013 [RESOLVED] Center vertical scrollbar position of a RichTextBox

    Hi Guys,

    I think the title is enough.

    Thanks a lot!
  7. Replies
    3
    Views
    361

    Re: HttpWebRequest POST method Test6

    oic!
  8. VS 2013 Re: Script Error Window handling not working with HttpWebRequest

    I also want to set ScriptErrorsSuppressed to false but it doesn't display webside with httpwebrequest :(
  9. VS 2013 Re: Script Error Window handling not working with HttpWebRequest

    Both, makes sense and doesn't make sense. Let's say, 'without script stuff' thing is true. Then how does it know that there are scripts to run? And do you have any workaround suggestion to suppress...
  10. Replies
    3
    Views
    361

    HttpWebRequest POST method Test6

    Sorry for this!
  11. Replies
    0
    Views
    114

    HttpWebRequest POST method Test6

    Sorry for this!
  12. Replies
    0
    Views
    117

    HttpWebRequest POST method Test5

    Sorry for this!
  13. Replies
    0
    Views
    112

    HttpWebRequest POST method Test3

    This Rocks!
  14. Replies
    0
    Views
    111

    HttpWebRequest POST method Test4

    Hello World!
  15. VS 2013 Script Error Window handling not working with HttpWebRequest

    Hi Guys!

    This is not working:

    Imports System.Net
    Imports System.IO
    Imports System.Text

    Public Class Form1
    Private WithEvents ErrorWindow As HtmlWindow
  16. Replies
    0
    Views
    146

    HttpWebRequest POST method Test2

    Hello World!
  17. Replies
    0
    Views
    120

    HttpWebRequest POST method Test

    Hello World!
  18. VS 2013 Re: Cast XmlElementList on custom class XmlNodeList

    Yeah, And the stranger is, if you say like:

    Dim mylist As XmlNodeList
    mylist = CType(myWeb.GetElementsByTagName("span"), HtmlNodeList
    it works... If you use XmlNodeList on the...
  19. VS 2013 Cast XmlElementList on custom class XmlNodeList

    Imports System.Xml
    Imports System.IO
    Imports System.Net

    Public Class Form1
    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click

    Dim myWeb As...
  20. Replies
    12
    Views
    566

    VS 2013 Re: Can't write mshtml document

    Application.DoEvents() did the trick. Have to wait for document write.
  21. Replies
    12
    Views
    566

    VS 2013 Re: Can't write mshtml document

    See my post above.
  22. Replies
    12
    Views
    566

    VS 2013 Re: Can't write mshtml document

    Ok, I modified it like that and body stills returns 'Nothing'.

    Public Function GetElementsByTagName(Element As String) As StringCollection
    Dim Elements As New StringCollection
    ...
  23. Replies
    12
    Views
    566

    VS 2013 Re: Can't write mshtml document

    Then tell me that "You can't cast a string to object array".
    Don't say "Oh and its not a string".

    I am asking what is my fault. Tell me my fault, don't make prejudgemnets. And even you'll make...
  24. Replies
    12
    Views
    566

    VS 2013 Re: Can't write mshtml document

    Public Class WebPage
    Public Shared _s As String
    Private Sub New(ByVal s As String)
    _s = s
    End Sub
    Public Shared Widening Operator CType(ByVal s As String) As WebPage
    ...
  25. Replies
    12
    Views
    566

    VS 2013 Re: Can't write mshtml document

    I can't say it's magical. It's a public string with html source. I've attached a comment in the code already next to it.
  26. Re: Convert form object to MSHTML.HTMLFormElement

    Sorry I didn't know that rule. I thought it would be a douplicate post. But then I 've realized my situation is different so, yes I did start a separate thread. Thanks for warning. I won't bump an...
  27. Replies
    12
    Views
    566

    VS 2013 [RESOLVED] Can't write mshtml document

    Public Function GetElementsByTagName(Element As String) As StringCollection
    Dim Elements As New StringCollection
    Dim ms As New HTMLDocumentClass()
    Dim obj As Object() =...
  28. Re: Convert form object to MSHTML.HTMLFormElement

    Same problem. Please help!
  29. VS 2013 Re: Create custom String Class with a custom Method

    Yeah, I did it:

    Imports System
    Imports System.Net
    Imports System.IO
    Imports System.Text.RegularExpressions
    Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs)...
  30. VS 2013 [RESOLVED] Create custom String Class with a custom Method

    Hi Guys!



    Public Class WebPage
    Inherits String 'I know String is not inheritable

    Private Method Url(address As String) As String 'I know there is no such thing
    ...
  31. Replies
    13
    Views
    637

    Re: Decompiler suppression

    Yeah, I know several obfuscator and deobfuscator tools but have never heard of "Decompiler suppression". Anyways, it doesn't sound like a method for obfustraction. There is a open source...
  32. Replies
    22
    Views
    518

    Re: Generating ordered 7 digit numbers

    Didnt know that. Thanks!
  33. Replies
    22
    Views
    518

    Re: Generating ordered 7 digit numbers

    And there is no reply from the questioner. Interesting :confused:
  34. Replies
    22
    Views
    518

    Re: Generating ordered 7 digit numbers

    Aaah! Very clever! How I didn't think that? You are building the number instead of attempting each to check. Very very clever!

    EDIT: And It's more than 60x faster any of our codes :D
  35. Replies
    22
    Views
    518

    Re: Generating ordered 7 digit numbers

    Nice shot!
  36. Replies
    22
    Views
    518

    Re: Generating ordered 7 digit numbers

    I made Shaggy's code work with a little touch. Use it, it's 1.5x faster.

    Private Function CheckForFour(inNo As Integer) As Boolean
    Dim last As Integer = 1
    Dim cnt As Integer...
  37. Replies
    22
    Views
    518

    Re: Generating ordered 7 digit numbers

    For i = 1000000 To 10000000
    If Not System.Text.RegularExpressions.Regex.IsMatch(i.ToString, "(.)\1{3}") Then
    'Do your stuff
    End If
    Next
    BTW, it's shorter but nearly 2 times slower...
  38. Re: Addressing a series of textboxes in a loop?

    Yeah, Shaggy Hiker is right. With his correction:

    Dim str As String = "ABCDEFGHIJKLMN"
    For i As Integer = 2 To 15
    DirectCast(Me.Controls("Textbox" & i), TextBox).Text =...
  39. Re: Addressing a series of textboxes in a loop?

    There are two ways to achieve this. One way is addressing the real control names:

    Dim str As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
    For i As Integer = 1 To 15 'Assuming having 15 TextBoxes...
  40. VS 2010 Re: How I can get the href and src This a HTML- Webbrowser

    Hi from Istanbul :)
    As you know, an index starts from 0 in VB nearly for all cases. So 0 index means 1st item.
    Above, we said that,
    For each div tag, select the ones with the class attribute...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.