Search:

Type: Posts; User: beic

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: Winsock - Connection is forcefully rejected (10061)

    Ok, I understood the concept and the description, but I don't get the full implementation of it.

    Now, how would I configure both Winsock control in this case at Form Load and beyond?, because now...
  2. Re: Winsock - Connection is forcefully rejected (10061)

    I don't want a multiple connections, basically I just want two application to talk between each other.
  3. Winsock - Connection is forcefully rejected (10061)

    Hi there,

    I made a simple remote Server / Client application and it's working fine, but the Client wont reconnect at the second time, it will only work if I exit the Server and rerun it.

    I'm...
  4. Replies
    17
    Views
    17,482

    Re: Winsock: "Connection is forcefully rejected" error

    I know it's an old post, but I got the same error with same description.

    Did you manage to solve it?

    Thanks! ;)
  5. Re: Windows Media Player (wmp.dll) on Windows 11

    It's up to date, but I was running Tiny version ("Media Feature" was removed from it permanently), so, it's worst than N version.

    I installed a normal version of Windows 11 and everything was...
  6. Replies
    21
    Views
    948

    Re: Detecting Sleep / Standby mode

    @fafalone It worked, need some more live test, but it's working as intended!

    Thank you! ;)
  7. Re: Windows Media Player (wmp.dll) on Windows 11

    https://www.vbforums.com/images/ieimages/2024/03/12.png
  8. Re: Windows Media Player (wmp.dll) on Windows 11

    Unfortunately I'm unable to install it! :(

    https://www.vbforums.com/images/ieimages/2024/03/10.png
  9. Re: Windows Media Player (wmp.dll) on Windows 11

    So, we have the exact same Object referenced to "wmp.dll":



    Object={6BF52A50-394A-11D3-B153-00C04F79FAA6}#1.0#0; wmp.dll


    Maybe I know what is the issue, let me check that out,...

    p.s....
  10. Re: Windows Media Player (wmp.dll) on Windows 11

    No, I don't think so, I'm always installing Pro versions, but I will check it right away.

    Could you please post here from your Project file the Object reference line to wmp.dll ?
  11. Re: Windows Media Player (wmp.dll) on Windows 11

    I have the same "Windows Media Player Control" included/compiled on Windows 7 64-bit, I don't understand why is it not working under Windows 11?, on Windows 10 it's working as intended.
  12. Re: Windows Media Player (wmp.dll) on Windows 11

    I see something on the screenshot Franky, but unfortunately I don't get it, how did you create those controls?

    Could you please show me the demo/example?

    Is it backward compatible with Windows...
  13. Replies
    21
    Views
    948

    Re: Detecting Sleep / Standby mode

    Yes, just checked and I don't have this part in my Registry:



    \PDC\Activators\Default\VetoPolicy
  14. Replies
    21
    Views
    948

    Re: Detecting Sleep / Standby mode

    Good, good, you are almost there, no worries I will check it for you! (highly appreciated, btw...) <3 :D



    Yes, I know that, thank you! ;)
  15. Replies
    21
    Views
    948

    Re: Detecting Sleep / Standby mode

    Let me see that one, I found something like this:


    Computer\HKEY_CURRENT_USER\Control Panel\PowerCfg


    with Key and Value:


    CurrentPowerPolicy
  16. Replies
    21
    Views
    948

    Re: Detecting Sleep / Standby mode

    That part is correct, I really meant to detect the "Power Management Schema" configured by the User, so, if he/she configured as "Always On", it that case for example in the CoboBox drop-down it will...
  17. Replies
    21
    Views
    948

    Re: Detecting Sleep / Standby mode

    No, not really, for example if the system is "Always On", in that case I can't put it into Sleep state.
  18. Replies
    21
    Views
    948

    Re: Detecting Sleep / Standby mode

    Oh, thanks, but can't test it, it seems that some declarations/references are missing:


    DischargePolicy(0 To (NUM_DISCHARGE_POLICIES - 1)) As SYSTEM_POWER_LEVEL


    But to don't get to any...
  19. Replies
    21
    Views
    948

    Re: Detecting Sleep / Standby mode

    I don't know that, but it's working fine, I found the details here http://allapi.mentalis.org/apilist/IsPwrSuspendAllowed.shtml

    Now I just need to figure out the rest somehow!
  20. Replies
    21
    Views
    948

    Re: Detecting Sleep / Standby mode

    Oh, thank you to getting me to right way ;) , I found something like this:

    1. If the computer supports the sleep states (S1, S2, and S3), the function returns TRUE. Otherwise, the function returns...
  21. Replies
    21
    Views
    948

    [RESOLVED] Detecting Sleep / Standby mode

    Hi there,

    Is there a way to detect system Sleep / Standby mode like Enabled = (True / False) over W32 API, WMI or REG settings?

    Thanks :)
  22. Re: Windows Media Player (wmp.dll) on Windows 11

    I'm using Windows 7, as I mentioned above and I don't think I could use it in VB6.
  23. Re: Windows Media Player (wmp.dll) on Windows 11

    I will try to write a simplest Test/Demo app with ActiveMovie (quartz.dll) control to see the behavior on Windows 11 (if it even works).

    I'm only using it for playing direct Urls (streaming), no...
  24. Re: ComboBox dropdown scrollbar height

    Oh, somehow it worked! ;)

    Thanks alot!
  25. Re: Windows Media Player (wmp.dll) on Windows 11

    Yes, I tough so, but I sent the exe file to my friend too, he has also Windows 11 and has the same issue.



    I don't know if the ActiveMovie (quartz) supports direct stream Urls like Windows...
  26. Replies
    19
    Views
    1,063

    Re: Capture audio and visualize it

    First of all, thank you for those beautiful explanation and directions described above!



    Yes, I'm using Windows Media Player control (wmp.dll), it's working just perfectly for my needs, also it...
  27. Re: ComboBox dropdown scrollbar height

    Thanks Bone for the suggestion, but, yes, it will remove the visual style, but the height of the dropdown is still the same (showing all items), even worse, because now there is no scrollbar in it.
  28. [RESOLVED] Windows Media Player (wmp.dll) on Windows 11

    Hi there,

    I'm trying to run my compiled "Audio Player" application on Windows 11 64-bit, but without success.

    Getting this message:


    Run-time error 339:

    Component wmp.dll or one of its...
  29. Replies
    19
    Views
    1,063

    Re: Capture audio and visualize it

    No, no, no, don't get me wrong here...

    I tough that it can be still done over APIs:


    Private Declare Function waveInOpen Lib "winmm" (phwi As Long, ByVal uDeviceID As Long, pwfx As Any, ByVal...
  30. Replies
    19
    Views
    1,063

    Re: Capture audio and visualize it

    The logic say, that if I would know to make it myself, I wouldn't asked on forum/here.
  31. Replies
    19
    Views
    1,063

    Re: Capture audio and visualize it

    Hi Olaf,

    Oh, I really like the Peak meter in your linked post, but the issue is with it that I can't afford to include 4Mb library with 150Kb single file executable.

    Is there any in-code...
  32. [RESOLVED] ComboBox dropdown scrollbar height

    Hi there,

    I have some issue with the ComboBox Scrollbar height after adding items to it, instead of max. 8 items, it shows me almost all with a long vertical scrollbar.

    Here is the sample code:...
  33. Replies
    19
    Views
    1,063

    Re: Capture audio and visualize it

    Hi there, thank you for your input, but the issue is that is a 3rd party control (separate file), so I would need a simple implementation.

    Just to listen to the default playback device and draw...
  34. Thread: Arduino in VB6

    by beic
    Replies
    12
    Views
    691

    Re: Arduino in VB6

    I can't view the attachment!
  35. Thread: Arduino in VB6

    by beic
    Replies
    12
    Views
    691

    Re: Arduino in VB6

    Me, but first of all you would send only a number and not a whole "sentence", something like this:



    Dim stOn As String
    Dim stOff As String

    stOn = "1"
    stOff = "0"
  36. Thread: Arduino in VB6

    by beic
    Replies
    12
    Views
    691

    Re: Arduino in VB6

    And also be aware that MSCOMM Control (mscomm.ocx) can see port numbers until Port 16, after you need a "modified" mscomm.ocx version.
  37. Replies
    19
    Views
    1,063

    Re: Capture audio and visualize it

    Hi Trick,

    Thank you for your support! ;)

    I downloaded it, unzipped, loaded the Recorder project and after running it, I got an error saying "Invalid property value" in Form_Load, line:

    ...
  38. Replies
    19
    Views
    1,063

    Re: Capture audio and visualize it

    Thank you for the fast response! ;)

    1. It has an external additional library
    2. It's over complicated for my needs (but it's epic)

    What I need is like this simple example:

    190567
  39. Replies
    19
    Views
    1,063

    Capture audio and visualize it

    Hi there,

    Do someone has a simple audio capturing and visualization snippet?

    I need something simplest ever, to visualize audio in Picturebox with dark gray background and with orange spectrum...
  40. Replies
    12
    Views
    8,432

    Re: set mouse pointer to hand

    Life saver snippet! Thanks! :)
Results 1 to 40 of 150
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width