Search:

Type: Posts; User: baka

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    5
    Views
    350

    Re: [RESOLVED] AGAIN Playing mp3 files in VB6

    for the above, if you can't make it work, you need a reference to ActiveMovie control type library (quartz.dll)
  2. Thread: Adjust font size

    by baka
    Replies
    15
    Views
    417

    Re: Adjust font size

    I always use API and pixels.
    the API GetTextExtentPoint32 will help u get the needed sizes. and we can use the API DrawText or the API TextOut or API ExtTextOut to write the text, after we...
  3. Replies
    11
    Views
    365

    Re: Internet Distribution Site For VB6 Project

    if its an update, u can create a "update.patch.12.exe" that would do a registry or file search to allocate where they installed it, and from there update the files.
    u can make the program to be...
  4. Re: VB6 elevated IE-Control-usage with HTML5-elements and COM-Event-connectors

    what about unity webgl content?
    here: https://docs.unity3d.com/560/Documentation/Manual/webgl-browsercompatibility.html
    it says its compatible, not fully, but at least to start it in internet...
  5. Replies
    17
    Views
    577

    Re: How to get hDC Image & Shape

    I think the reason nobody knows or uses IOleInPlaceSiteWindowless is because theres already other ways to work with images, drag/drop operations, perform drawing operation etc.
    the "image/shape" are...
  6. Replies
    13
    Views
    453

    Re: How good is my source coding or what, then???

    when flash is abandoned and not longer copyrighted, it is possible to run it without it being installed on the computer, u just need any version of the *.ocx file
    and use the register ocx method at...
  7. Replies
    13
    Views
    453

    Re: How good is my source coding or what, then???

    I have stopped using app.path a long time ago,
    the reason is the app.path is not returning the correct path if theres some unrecognized unicode letters in the folder-path.
    I use GetModuleFileName...
  8. Replies
    14
    Views
    633

    Re: windows 10 is blocking this site

    it worked, I cleared cookies and I can now login.
    the odd part is the both firefox and edge had the same problem, now trying with edge and I cant login. now clearing cookies in Edge fixed it there...
  9. Replies
    14
    Views
    633

    Re: windows 10 is blocking this site

    I created a new user, and I can login to the site.
    So it seems u are right passel. Now knowing the problem is there a fix for this?
  10. Replies
    14
    Views
    633

    Re: windows 10 is blocking this site

    how can my iPhone enter the website, using the same IP and the same router but from my desktop computer using windows 10 I can't?
    if its IP blacklisted for abuse, it would stop even my iPhone.
    ...
  11. Replies
    14
    Views
    633

    Re: windows 10 is blocking this site

    I have mobiledata disabled. I dont pay for internet on my iPhone.
    So, my iPhone needs wi-fi or I canít access internet.
  12. Replies
    14
    Views
    633

    Re: windows 10 is blocking this site

    my windows 7 computer is on another location, so no helping here.

    my desktop computer and iPhone is using the same ISP, both connected to my router.
    from my iPhone I can access this forum...
  13. Replies
    14
    Views
    633

    [RESOLVED] windows 10 is blocking this site

    using windows 7, it works, using my iPhone (safari) I can reach it, but my desktop computer with windows 10 is not allowing this site to show, I get "Not Found" (both firefox and edge)
    using a VPN...
  14. Re: Capturing/detecting MouseDown/MouseUp

    I use hooks as well, mostly for the mouse wheel.
    but here, the "stealing" of another applications hwnd is just temporary, so its not something that will be running all the time.
    you take something,...
  15. Re: Capturing/detecting MouseDown/MouseUp

    hooking is not needed.
    a timer and a few API,


    Private Type POINTAPI
    x As Long
    y As Long
    End Type

    Private Const VK_LBUTTON = &H1
  16. Replies
    12
    Views
    542

    Re: Using the handle of a process

    if the "control" has a hwnd, u can do that,
    theres API to get all kind of information from the hwnd, object name, rect, parent etc.
    and u can enumerate all the child and parent objects from it, or...
  17. Re: Capturing/detecting MouseDown/MouseUp

    u can change the question.
    as I do custom forms without the standard controls I always need to come up with a way to monitor the mouse. and as I suspect from your "edit", the answer is yes.
  18. Replies
    18
    Views
    641

    Re: Remove the title bar from a Form

    well, I did a try, IDE and compiled, using K4CY code + the movewindow API, and I get a title-less form that is resizable.
    I thought that was what K4CY wanted? without movewindow API it will not...
  19. Replies
    18
    Views
    641

    Re: Remove the title bar from a Form

    using this kind of API usually require you to also "refresh" the form to apply it.
    try using the API MoveWindow with bRepaint set to True
  20. Replies
    28
    Views
    1,128

    Re: Zoom in and zoom out in the picture

    just a solution, not the best solution, it all depends on how much the OP want to do.
    vector graphics is much better, but require more work.
    I would go with Direct2D, that is fast and has different...
  21. Replies
    28
    Views
    1,128

    Re: Zoom in and zoom out in the picture

    another solution is to create a memory DC, that you use to "draw" everything, this DC is later used to stretch into any picturebox and sizes.
    you can use both GDI and GDI+ for this purpose, or even...
  22. Replies
    9
    Views
    398

    Re: Save the entire webpage

    in another thread I wrote about the use of the API URLDownloadToFile
    that one you can use to download the html of a page, of course php can't be downloaded that easily and some sites has...
  23. Replies
    11
    Views
    447

    Re: save .bmp only image1 not picture1

    why not use Microsoft Windows Image Acquisition Library 2?
    since you have the "images" already in your drive, as you are loading them into the images, you can actually do the "merging" without...
  24. Replies
    20
    Views
    1,766

    Re: [RESOLVED] I offer $100 for text filter in vb6

    I agree Bobbles,

    the expert in here have been helping "tremendously" over the years, giving working solutions, typelibs, full source projects etc.
    he PM me if I wanted to help, and I told him to...
  25. Replies
    20
    Views
    1,766

    Re: I offer $100 for text filter in vb6

    I have done a couple programs that do this kind of work, its quite easy if its html or something that can be downloaded.
    the API URLDownloadToFile is good for this purpose, u download the page to a...
  26. Re: tearing at "circular dependencies between modules" in ActiveX project

    isn't that an error u get if your class/activex depend on each other, like:
    A need B, B need C, C need A
    that will make it impossible to add, if the initialization is automatic.
    but it could be:...
  27. Replies
    15
    Views
    1,043

    Re: Program acquires virus online

    I use https://www.virustotal.com
    to see how different antivirus would react to my program.
  28. Re: A popup menu has disruptive effects on the KeyUp method

    ok, this is not something easy to explain, theres a bunch of stuff to remember.

    I have done many different ways to control key/mouse, so theres no 1 solution, but many. it all depends on your own...
  29. Replies
    19
    Views
    479

    Re: vbKeyControl issue in keydown event

    the Shift will give you: fmShiftMask, fmCtrlMask, fmAltMask in any combinations, so the value "6" is Ctrl and Alt together. and "6" is the value of Alt Gr (for my keyboard)
    but it will not tell you...
  30. Replies
    19
    Views
    479

    Re: vbKeyControl issue in keydown event

    as I wrote, Mustaphi is right,
    right alt, right ctrl and right shift will not return the correct KeyCode.
    when I press "Alt" I get 18, but when I press "Alt Gr" I don't get 18, instead I get 17, so...
  31. Replies
    19
    Views
    479

    Re: vbKeyControl issue in keydown event

    yeah, those keys will not return the right number, what we can do is:


    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer

    Sub Form_KeyDown(KeyCode As...
  32. Replies
    19
    Views
    479

    Re: vbKeyControl issue in keydown event

    Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer

    no, I have not tried it, but since Im creating a game where u can use all the keyboard keys and define the...
  33. Replies
    19
    Views
    479

    Re: vbKeyControl issue in keydown event

    I dont have problems with ctrl/alt,
    the issues I have is to know if I pressed left or right alt/shift/ctrl:
    heres how I do, I use "free" keycodes (11,14,15) and if I press right alt/shift/ctrl, I...
  34. Re: Where is *.exe file from Full Compile?

    when problem solved, click Thread Tools on your first post, and pick: Mark Thread Resolved, that way we all know its solved.
    177527
  35. Replies
    18
    Views
    7,468

    Re: Computer creates a music.

    amazing work the trick,
    its not just a 8bit track-composer, but much more, a complex sound-generator that could compare to a professional synthesizer program!
  36. Re: What's the best way to load 16bit-grayscale and 48bit-RGB PNG and TIF images?

    you are confusing WIC with WIA.
    I posted a link to microsoft about WIC, if you bothered to check it out you would know what WIC is.
    if you are interested in WIC, The trick created a typelib to use...
  37. Replies
    13
    Views
    578

    Re: Image Alignment issue

    I suspect its about the twips. depending on dpi it will not be 1,2,3,4,5 like pixels but 20,40,60,79,99,120 , so depending where on the form, it could add a pixel or sub pixel making it look bad....
  38. Replies
    13
    Views
    578

    Re: Image Alignment issue

    looking at your code, u could create labels, images (both 1/2) using the load method at startup,
    that way u dont need to adjust it manually each one and u can place each label/image at the exact...
  39. Replies
    13
    Views
    578

    Re: Image Alignment issue

    very strange way to align the boxes, heres how i usually do:
    (I only have 1 image2(0) in the form, all other are loaded, but u can remove it if u dont use it.

    Dim x&, y&, i&

    For x = 1...
  40. Replies
    13
    Views
    578

    Re: Image Alignment issue

    change all parameters for all images, left, top, width and height.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width