Search:

Type: Posts; User: Flashbond

Page 1 of 13 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    1,004

    Re: Access dbf file on a LAN machine

    Ahh, now I see... No, I am accessing to remote's local drive directly from Cannon's client software. Bad news, ain't it? I think it should be on a shared folder to access via VB.Net? But this is a...
  2. Replies
    4
    Views
    1,004

    Re: Access dbf file on a LAN machine

    First of all, thanks for your reply. Dbf file is somewhere in c:\ on the remote computer. Let say "C:\PUC7\Shots.dbf"
  3. Replies
    4
    Views
    1,004

    Access dbf file on a LAN machine

    Hi,

    We are using a Cannon manufacturing machine in our factory. It is using Windows Server operating system and it is connected to same network with my PC. I can view machine's dbf content in a...
  4. Replies
    2
    Views
    695

    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).
  5. Replies
    3
    Views
    1,351

    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...
  6. 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...
  7. 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...
  8. 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...
  9. VS 2013 [RESOLVED] Center vertical scrollbar position of a RichTextBox

    Hi Guys,

    I think the title is enough.

    Thanks a lot!
  10. Replies
    3
    Views
    1,018

    Re: HttpWebRequest POST method Test6

    oic!
  11. 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 :(
  12. 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...
  13. Replies
    3
    Views
    1,018

    HttpWebRequest POST method Test6

    Sorry for this!
  14. Replies
    0
    Views
    434

    HttpWebRequest POST method Test6

    Sorry for this!
  15. Replies
    0
    Views
    448

    HttpWebRequest POST method Test5

    Sorry for this!
  16. Replies
    0
    Views
    438

    HttpWebRequest POST method Test3

    This Rocks!
  17. Replies
    0
    Views
    408

    HttpWebRequest POST method Test4

    Hello World!
  18. 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
  19. Replies
    0
    Views
    365

    HttpWebRequest POST method Test2

    Hello World!
  20. Replies
    0
    Views
    509

    HttpWebRequest POST method Test

    Hello World!
  21. 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...
  22. 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...
  23. Replies
    12
    Views
    3,851

    VS 2013 Re: Can't write mshtml document

    Application.DoEvents() did the trick. Have to wait for document write.
  24. Replies
    12
    Views
    3,851

    VS 2013 Re: Can't write mshtml document

    See my post above.
  25. Replies
    12
    Views
    3,851

    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
    ...
  26. Replies
    12
    Views
    3,851

    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...
  27. Replies
    12
    Views
    3,851

    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
    ...
  28. Replies
    12
    Views
    3,851

    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.
  29. 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...
  30. Replies
    12
    Views
    3,851

    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() =...
  31. Re: Convert form object to MSHTML.HTMLFormElement

    Same problem. Please help!
  32. 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)...
  33. 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
    ...
  34. Replies
    13
    Views
    2,107

    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...
  35. Replies
    22
    Views
    2,471

    Re: Generating ordered 7 digit numbers

    Didnt know that. Thanks!
  36. Replies
    22
    Views
    2,471

    Re: Generating ordered 7 digit numbers

    And there is no reply from the questioner. Interesting :confused:
  37. Replies
    22
    Views
    2,471

    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
  38. Replies
    22
    Views
    2,471

    Re: Generating ordered 7 digit numbers

    Nice shot!
  39. Replies
    22
    Views
    2,471

    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...
  40. Replies
    22
    Views
    2,471

    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...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width