Search:

Type: Posts; User: olga55

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    354

    convert minutes to seconds

    Debug.Print Val("62") \ 60 & ":" & Val("12") Mod 60 this converts seconds to minutes
  2. Replies
    2
    Views
    224

    vb6 youtube thumbnail maker ?

    new to this is there a thumbnail maker drag drop and save as
  3. Re: MSHTML worked good on run but show error Method '~' of object '~' failed on exe m

    error because say your using getElementsByClassName and than if you view the webpage source code you will see <div id="above_postlist" class="above_postlist">
    now this will work...
  4. dos output.cls cmd (how to break execution )?

    DOSOutputs.cls


    Option Explicit
    Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)
    'The CreatePipe function creates an anonymous pipe,
    'and returns handles to the read and...
  5. HTMLDoc.body.innerHTML = oHttp.responseText help

    returns body only.

    HTMLDoc.body.innerHTML = oHttp.responseText
    debug.print HTMLDoc.body.innerHTML

    How do i store all of it instead of storing body html only?

    ...
  6. use one line for each tag rather than 2 loop or more

    With HTMLDoc.body
    Set AnchorLinks = .getElementsByTagName("div")

    For Each AnchorLink In AnchorLinks
    On Error Resume Next
    LineTrim AnchorLink.id
    LineTrim AnchorLink.className
    LineTrim...
  7. Replies
    2
    Views
    191

    extract these strings

    [youtube] esKnWAIgpLY: Downloading webpage

    WARNING: Requested formats are incompatible for merge and will be merged into mkv.

    [download] Destination: funny_video.flv.f398


    [download] 0.0%...
  8. can this be Integratingi to vb6 and if so how

    https://github.com/qsniyg/maxurl
    go to section Integrating IMU in your program
    or

    As mentioned above, userscript.user.js also functions as a node module.


    var maximage =...
  9. Replies
    3
    Views
    308

    Re: html source viewer error

    It is amazing to see how professional coders like you do this in blink of an eye while me trying here for hours while scratching my hair.
    Thank you so much westconn1 and other gents.
  10. Replies
    3
    Views
    308

    [RESOLVED] html source viewer error

    on vb6 forums and some sites the treeview gets populated as i move mouse over element objects. but if i try it on that site or youtube this error fires up.
    https://i.imgur.com/qOmLLSE.png...
  11. Re: Get all html id + Value + Class + Button id

    https://i.ibb.co/g9msC8Q/2020-05-10-022449.png
    https://i.ibb.co/FBcRkgG/2020-05-10-022501.png

    i than removed .innerhtml and it says ( Object doesn't support this property method )
  12. Get all html id + Value + Class + Button id

    Private Sub Command76_Click()
    Text2.Text = ""
    Dim sResponse As String, html As HTMLDocument, elements As Object, i As Long
    With CreateObject("MSXML2.XMLHTTP")
    .Open "GET",...
  13. Thread: Command Button

    by olga55
    Replies
    11
    Views
    507

    Re: Command Button

    http://www.vbforums.com/showthread.php?539493-Classic-VB-How-to-use-Unicode-with-forms-and-standard-controls
    https://i.imgur.com/dYJKhIQ.png
    ...
  14. Thread: Command Button

    by olga55
    Replies
    11
    Views
    507

    Re: Command Button

    make blank button and put label on top
  15. Replies
    12
    Views
    449

    Re: Unlimited Form Size on Ide

    Option Explicit 'This line tracpes errors esp those of undeclared viriables in the entire module.

    Private Const minWidth = 4500 'This is our minimum form's width.
    'NB: It helps to use const in...
  16. Re: What can cause no selected color in rich text box?

    Private Sub Command1_Click()
    PrintRTB "", "voice error, refresh voice token." & vbNewLine
    End Sub
    Private Sub PrintRTB(struser As String, strMsg As String)
    On Error Resume Next

    With rt...
  17. Re: Getting the number count of strings

    Private Sub Command1_Click()
    Dim sTemp As String
    Dim Count As Long
    Dim i As Long
    Dim j As Long
    For ii = 0 To List1.ListCount - 1
    sTemp = List1.List(ii)
    Count = Text1
    i = 0
    j...
  18. [RESOLVED] Getting the number count of strings

    according to my other post http://www.vbforums.com/showthread.php?886263-split-string-by-space-help-on-this&is_resolved=1
    i want to get the space count and add it to combo1.


    Private Sub...
  19. Re: split string by space help on this

    Private Sub Command1_Click()
    Dim sTemp As String
    Dim Count As Long
    Dim i As Long
    Dim j As Long
    For ii = 0 To List3.ListCount - 1
    sTemp = List3.List(ii)
    Count = Text1
    i = 0
    j...
  20. Re: split string by space help on this

    if i select value 5 then debug.print each line of string that has 5 space.
  21. Re: split string by space help on this

    Private Sub Command9_Click()
    Text1.Text = ""
    Dim sTemp As String
    Dim Count As Long
    Dim i As Long
    Dim j As Long
    Dim names As String
    For ii = 0 To List3.ListCount - 1
    sTemp = List3.List(ii)
    ...
  22. Re: split string by space help on this

    sorry list3
  23. Re: split string by space help on this

    thank you for the reply.
    if you test this

    Private Sub Command4_Click()
    Dim sTemp As String
    Dim Count As Long
    Dim i As Long
    Dim j As Long

    sTemp = "You can use the SendMessage API to get...
  24. [RESOLVED] split string by space help on this

    Private Sub Command4_Click()
    Dim sTemp As String
    Dim Count As Long
    Dim i As Long
    Dim j As Long

    sTemp = "You can use the SendMessage API to get the Current Line from"
    Count = Text2 '...
  25. Replies
    11
    Views
    412

    Re: richtextbox string format for vb6 code.

    this .ctl file giving me error
    Line 22: Property TextRTF in rtb had an invalid value.
    Line 22: Property TextRTF in rtb had an invalid value.
    Line 22: Property TextRTF in rtb had an invalid value....
  26. Replies
    11
    Views
    412

    Re: richtextbox string format for vb6 code.

    searched nothing downloadable and some code i found for ctl not sure how to use it and it has errors on it.
    maybe if u can it zip and up and send it
  27. Replies
    11
    Views
    412

    richtextbox string format for vb6 code.

    I guess the picture explains most of what am trying to archive.
    I have a richtextbox and if I type or paste any vb6 code than the results should layout like Stack Overflow code format
    the string...
  28. Replies
    7
    Views
    362

    Re: Sentence splitter

    Private Sub Command5_Click()
    List1.Clear
    Dim strText() As String
    strText = Split(Text1.Text, vbCrLf)
    Dim x As Integer
    Dim xx As Integer
    If UBound(strText()) > 0 Then
    For x...
  29. Replies
    7
    Views
    362

    Re: Sentence splitter

    https://i.imgur.com/WAYaMel.png


    Combo1 value is set to 4.
    if any textbox row that has 4 word sentence then add them to list1.

    it is like grouping text together

    i love you
    i am cool
  30. Replies
    7
    Views
    362

    Re: Sentence splitter

    i have text1 multi-line pasted with keywords.
    now according to how much each keywords have space or sentence i want to extract them and add to list1.


    this is a test if i select value 4 in...
  31. Replies
    7
    Views
    362

    Sentence splitter

    i have a textbox multi line
    button 1
    combo1 with value 3 to 10
    list1

    now i added say for the sake of this example 10 lines of strings with space.


    this is a test
    bonus test string is good...
Results 1 to 31 of 31



Click Here to Expand Forum to Full Width