Search:

Type: Posts; User: baka

Page 1 of 13 1 2 3 4

Search: Search took 0.08 seconds.

  1. Re: VB6 vs .NET differences ... IDE, libraries, functionality, whatever

    theres a similar thread in chit chat

    https://www.vbforums.com/showthread.php?894147-VB6-vs-Net-Ending-the-debate-once-and-for-all

    and this one is almost the same
    ...
  2. Poll: Re: IF you regularly use a VB6 embedded movie play, which do you use?

    Im not using it at all. but I have from time to time thought, what about adding a video (preferable .mp4).
    its not really what you asked, but could be interesting to look into, I mean, I did ask for...
  3. Replies
    26
    Views
    795

    Re: [RESOLVED] Playing music

    I looked into it a bit more, I thought, why do we need mousemove? why not just click?
    so replace with:


    IMediaEventEx.SetNotifyWindow MediaControl.hWnd, &HF5&, 0

    Private Sub...
  4. Replies
    26
    Views
    795

    Re: [RESOLVED] Playing music

    Hmm. not sure why you get it two times. I only get it once.
    but if you change it like this it will work, even if its fired twice: (also remember to use Option Explicit)


    Option Explicit
    ...
  5. Replies
    26
    Views
    795

    Re: [RESOLVED] Playing music

    did u try the suggestions I wrote?

    also I dont get anything when I start the mp3, only when its done.
    are u sure u are using EC_COMPLETE?

    Const EC_COMPLETE = &H1&
  6. Replies
    26
    Views
    795

    Re: [RESOLVED] Playing music

    not sure why you would use a timer at all.
    the SetNotifyWindow is created for the purpose to get the status immediately.
    you could say that "SetNotifyWindow" gives you a precise timer, so you...
  7. Replies
    26
    Views
    795

    Re: [RESOLVED] Playing music

    AccessShell u can't get anything better than SetNotifyWindow. it will notify you when its done.
    Im sure if you look into it you can make it better.
    as you wrote: u need to know if its start or end...
  8. Replies
    4
    Views
    201

    Re: VScrollBar Issue

    the reason is that u have a component in your form that doesn't have .Name

    but, as Arnoutdv wrote, if you just want to move fraScroll, u don't need For Each,
    and if you have an array, u can use a...
  9. Re: User action versus code causing event to raise

    I tried GetMem/PutMem API (HScroll1)
    I was able to Get and Set the value using ObjPtr() + 232/234

    this is for HScroll (and VScroll)


    Private Declare Sub PutMem2 Lib "msvbvm60" (ByVal Addr As...
  10. Re: User action versus code causing event to raise

    hold on
    what about this:

    MouseDown
    MouseUp

    and

    KeyPress
    KeyRelease
  11. Replies
    3,749
    Views
    365,717

    Re: Corona virus, China major city lockdowns, etc.

    and soon we have a mandatory vaccination, the nazi Von der Leyen will force everybody to take it. no free will, just dictatorship.
    theres no more politicians, just people advocating for big pharma....
  12. Re: User action versus code causing event to raise

    another thing. why use "click"?
    why not Mouse_Down/Up? as Zvoni suggested.
  13. Re: User action versus code causing event to raise

    that is why you have a master-function

    everything is going through the master-function
    u could have a "stop"
    like

    - u click button1
    - button1 calls master-function
    - inside master-function,...
  14. Re: User action versus code causing event to raise

    as I wrote, a master-function

    all buttons/checkboxes would (if they are in an array)
    call the master-function,
    that way u only need to add 1 time the "if=exit sub" thingy.
    instead of each one...
  15. Replies
    3,749
    Views
    365,717

    Re: Corona virus, China major city lockdowns, etc.

    quite strange that Americans tells people that they need to obey.
    its smell communism here, not a liberal world.
    your rights? its going down the drain.
    u need to obey the communist party or you...
  16. Re: User action versus code causing event to raise

    I would never code that like
    all the buttons will always call another function

    Private Sub Command1_Click()
    Call Function or Call Class.Function
    End Sub

    if I need a value I would instead...
  17. Replies
    26
    Views
    795

    Re: Playing music

    I looked into my old projects, here what u can do:


    Private Control As IMediaControl
    Private EventEX As IMediaEventEx
    Private WithEvents MediaControl As VB.CommandButton

    Private Sub...
  18. Replies
    26
    Views
    795

    Re: Playing music

    Im not using ActiveMovie control anymore,
    but Im sure theres a property to see if the music is playing or not.
    use a timer to check that?
  19. Replies
    3,749
    Views
    365,717

    Re: Corona virus, China major city lockdowns, etc.

    yeah, but it should be about protecting life not protecting big pharma or poll degree.

    right now they are "forcing" all people to take it, not just elderly, sick or just people that want to take...
  20. Replies
    3,749
    Views
    365,717

    Re: Corona virus, China major city lockdowns, etc.

    I would say that you need to read the data more carefully.
    25% of death are under 65 of age.
    but ~22% do have underlying conditions, so they are not fully healthy.
    and of those ~3% they are not...
  21. Thread: Encrypt/Decrypt

    by baka
    Replies
    39
    Views
    1,088

    Re: Encrypt/Decrypt

    another lie.
    what I can give you is, that in the 11th century when they wanted to build a new church, they used Greek books/notes from Aristotle, to create a foundation and Plato's academia, that...
  22. Thread: Encrypt/Decrypt

    by baka
    Replies
    39
    Views
    1,088

    Re: Encrypt/Decrypt

    Greeks tends to believe they are the one that invented everything.
    read some real history book about it instead of spreading lies.
    be proud for what you have in your history, but you need to...
  23. Thread: Encrypt/Decrypt

    by baka
    Replies
    39
    Views
    1,088

    Re: Encrypt/Decrypt

    The word algorithm is derived from the name of the 9th-century Persian mathematician Muḥammad ibn Mūsā al-Khwārizmī
    https://en.wikipedia.org/wiki/Algorithm

    so, no, its not from Greece.
  24. Thread: Encrypt/Decrypt

    by baka
    Replies
    39
    Views
    1,088

    Re: Encrypt/Decrypt

    yeah. not everything is from the Greek. I remember reading that some old Greek scholars traveled to Africa to "learn".
    and it seems we can go back to the Babylonian and find algorithms. and Im sure...
  25. Replies
    3,749
    Views
    365,717

    Re: Corona virus, China major city lockdowns, etc.

    I think the pill is a good idea. best idea so far.
    if you get sick, and feel u need a medicine, take the pill.
    it should be easy to buy, similar to paracetamol, so, just take a self-test and if u...
  26. Thread: Encrypt/Decrypt

    by baka
    Replies
    39
    Views
    1,088

    Re: Encrypt/Decrypt

    u are getting all help u need but even so u ask for more.
    u want people to code for you? u need to try yourself. with all the info u have u should be able to make what u need.
    I also wrote a very...
  27. Thread: Encrypt/Decrypt

    by baka
    Replies
    39
    Views
    1,088

    Re: Encrypt/Decrypt

    because chr can not do unicode characters.
    did u try with chrW?
    I would still use the StrConv() function to create a byte array

    and why do u add 111? it will go outside the scope of the...
  28. Thread: Encrypt/Decrypt

    by baka
    Replies
    39
    Views
    1,088

    Re: Encrypt/Decrypt

    what u do is:
    string > byte array
    encrypt
    save data

    load data
    decrypt
    byte array > string

    so u are not using any encryption/decryption on a string.
  29. Thread: Encrypt/Decrypt

    by baka
    Replies
    39
    Views
    1,088

    Re: Encrypt/Decrypt

    what do u mean, encryption/decryption has nothing to do with any languages.
  30. Re: [RESOLVED] .ForeColor = 0-16842751 but not more.

    as I wrote in another thread, Im not using component like that, I create everything on my own and utilize direct2d and other things,
    this was just for curiosity, I mean

    picture1(index).FillColor...
  31. Re: [RESOLVED] .ForeColor = 0-16842751 but not more.

    yeah. I know that we can use strings like that, but I wanted a integer type that I can store numbers
    it could be that I want to create a controlbox and moveable pictureboxes, or a picturebox that...
  32. Re: .ForeColor = 0-16842751 but not more.

    I was just playing around if I could use another property to store values not just .tag
    if the picturebox is only used to show pictures, I could use both .ForeColor and .FillColor to store a value...
  33. Re: .ForeColor = 0-16842751 but not more.

    yeah. the calculation is counting 0 as well.

    but, it will still be below that
    16777215 is below 16842751 by 65536
    so what is that number and what's the need?
  34. [RESOLVED] .ForeColor = 0-16842751 but not more.

    this is the maximum number I can place inside a:

    Picture1.ForeColor =
    Picture1.BackColor =
    Picture1.FillColor =

    if I try with 16842752 it will tell me invalid property value.

    why is...
  35. Replies
    3,749
    Views
    365,717

    Re: Corona virus, China major city lockdowns, etc.

    yeah. the mRNA is like a shortcut, will trigger the cells to create a protein that looks like the virus, and doing so it will trigger a immune-response as something is there (if you are unlucky it...
  36. Replies
    3,749
    Views
    365,717

    Re: Corona virus, China major city lockdowns, etc.

    its part truth,
    the virus will evolve randomly and more u give it chance to stay inside your body, more time it has to change.
    and we have 2 different people that gives the virus time:

    - people...
  37. Replies
    3,749
    Views
    365,717

    Re: Corona virus, China major city lockdowns, etc.

    so, now a new covid strain showed up. vaccinated are "spreading" this around, since they have this "false safety" they think everything is good.
    the problem is that covid mutates all the time, like...
  38. Replies
    13
    Views
    537

    Re: [RESOLVED] IDE Question

    u could get the vb6 learning edition and see if you like it. u can compile p-code at least. PM me if u want to try it.
  39. Re: PictueBox MouseDown/Up (Button Mutual Exclusivity)

    that line 5, is not needed. u already check if the "correct" button is pressed, and button=3 will pass.
    that means:

    If Button = vbLeftButton Or Button = vbRightButton Or Button = 3 Then
    is...
  40. Re: [RESOLVED] Remove dead COM entries in the registry.

    I did use cleaners in "xp" days.
    after installing windows7 many years ago it still work great, no strange performance issues or annoying popup telling me this and that.
    I think the reason is:
    - I...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width