CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Bruin 1953

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    464

    Is there a better VAL()?

    As you know, Val() stops at commas, parentheses, etc, but ignores spaces between separate numbers!
    CDBL(strTxt) offers help, but only if the string is fully numeric

    I often write code to process...
  2. Replies
    7
    Views
    1,681

    Re: Please: How to copy text from webpage?

    You are probably right!
    I thought I tried it and it worked, but I am finding out that this code return HTML in the page, not the textual data itself.
    So, my request is on!
  3. Replies
    7
    Views
    1,681

    Re: Please: How to copy text from webpage?

    Great! Thanks
  4. Replies
    7
    Views
    1,681

    Please: How to copy text from webpage?

    Pls show me How to copy text from any given webpage to thee ClipBoard.
    I now open the page manually and SelectAll - Copy data from File menu, but would like my program to do the copyin
    Saving ...
  5. Replies
    2
    Views
    816

    Re: MP3 properties

    Thanks for the reply!

    I now know that there are two ID3 versions:
    v1 at the end of the file (128 bytes)
    v2 at the beginning of the file (up to 256MB!)
    Obviously, v1 tags are fixed-length, while...
  6. Replies
    2
    Views
    816

    MP3 properties

    I have 1000's of MP3 files whose properties (title, artist, etc) need standardization.
    The files are stored in different folders according to genre, and the file name reflects the name of piece and...
  7. Replies
    9
    Views
    700

    Re: Easy String Delete / Insert

    Thank you for the suggestions

    I pasted the code with spacing, but it was lost at posting. I am new to the site and will try to use the blue code box

    Error example:
    textA="ABC" :...
  8. Replies
    9
    Views
    700

    Easy String Delete / Insert

    ****************** Dedicated To WoF! *********************

    String editing in VB is a drag! It involves a mixture of Left, Mid, Right, and Len functions. Errors will creep in if calculations of...
  9. Replies
    3
    Views
    488

    Re: StatusBar in Form, but none in code!

    Thanks! That's it!
    NUM, CAPS, Date, etc. don't need any programming.
  10. Replies
    2
    Views
    407

    Why controls are fixed?

    On a form I downloaded, all controls are fixed. They can be moved and resized only programmatically. I couln't locate the property that is responsible for this.

    Any help!
  11. Replies
    2
    Views
    611

    A Problem with SendKeys

    Please add the following to the KeyUp (or KeyDown) event of Text1
    Place cursor at the beginning of a word and press F-12. The word will be selected, as expected.

    If you break execution manually...
  12. Replies
    11
    Views
    1,470

    Re: Easy MsgBox!

    Even better!
    Thanks WoF!
  13. Replies
    11
    Views
    1,470

    Re: Easy MsgBox!

    Thanks for the simplification!

    On second thought, I think dividers should stay, and changed to something like " | ", to show which parameters are missing.

    So, here is the latest V:


    ' Easy...
  14. Replies
    3
    Views
    488

    StatusBar in Form, but none in code!

    I am trying to modify a public-domain NotePad to suit my needs.

    FormMain has a StatusBar (named StatusBar1). It's is working fine (Date, NUM, etc), but I like to post something else to it.
    ...
  15. Replies
    11
    Views
    1,470

    Re: Easy MsgBox!

    I found a simpler code.
    Let Errors do the job!



    ' Easy MsgBox (up to four items of any type)
    Sub mb(A As Variant, Optional B As Variant = "", Optional C As Variant = "", Optional D As...
  16. Replies
    6
    Views
    887

    Re: Is there a list of all vbConstants?

    Thanks for the help, but I have not located the complete list>

    I know about the Object Browser, but I want to ? the list
  17. Replies
    11
    Views
    1,470

    Easy MsgBox!

    I use MsgBox a lot in development to make sure that variables have the proper values before proceeding further.

    I wrote the following Sub to display up to 4 variables, and take care of bothersome...
  18. Replies
    6
    Views
    887

    Is there a list of all vbConstants?

    Hi
    I oftentimes declare a constant only to find later that an equivalent has already bee declared by VB6. For exaple: vbRed, vbNull, etc

    My Q:
    Is there a list of all vb constants (preferably by...
  19. Replies
    7
    Views
    7,757

    Re: "byref argument type mismatch"

    Bingo!
    Thanks!
  20. Replies
    2
    Views
    602

    Re: Two statements I don't understand

    Great help!
  21. Replies
    7
    Views
    7,757

    Re: "byref argument type mismatch"

    Thanks for trying, but did not work!

    Here is the simplified code (VB6):



    Private Sub Form_Load()
    Dim i, x, y As Long
    x = 5: y = 2
    i = Total(x, y)
  22. Replies
    2
    Views
    602

    Two statements I don't understand

    I recently visited this MSDN page:
    http://msdn.microsoft.com/en-us/library/6x627e5f.aspx

    Found this code:


    For i As Integer = 0 To TestArray.Length - 1
    If TestArray(i) <> "" Then
    ...
  23. Replies
    7
    Views
    7,757

    "byref argument type mismatch"

    I always thought that (x&) is passable as an argument to a Sub expecting (x As Long)!
    I was wrong (I think!).
    I got the dreaded "byref argument type mismatch" from this code:


    Private Sub...
  24. Replies
    1
    Views
    411

    Find box obstructs text!

    I have written a little word processor just to help myself with VB6

    I hane noticed that the Find box obstructs found text if the two happens to be in the same location on screen

    Please show me...
Results 1 to 24 of 24



HTML5 Development Center

Click Here to Expand Forum to Full Width