Search:

Type: Posts; User: Brenker

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    16
    Views
    611

    Re: VB6 QUESTION: icon to bitmap

    @fafalone:

    Thank you for letting me know of this one, a perfect one. This is the 1st time I see it.

    The one I referred must be an earlier one, because to my impression there were many more...
  2. Replies
    16
    Views
    611

    Re: VB6 QUESTION: icon to bitmap

    I am not talking of PNG files, I am talking about the ICOs (including PNG items) in EXE/DLL as a library. In such EXE/DLL files there is not a mask for any PNG item.

    Because I don't use the APIs...
  3. Replies
    16
    Views
    611

    Re: VB6 QUESTION: icon to bitmap

    Just to clarify, a PNG item doesn't have a mask. Starting from the file-stated .dwImageOffset, it is a PNG file in its entirety, including the PNG file signature, and the PNG image bytes are...
  4. Replies
    16
    Views
    611

    Re: VB6 QUESTION: icon to bitmap

    "Windows\System32\Shell32.dll" is a resouces library file of Windows; if you happen to be using Win 10 Home Edition, to test what we are talking about are the same thing, would you please show what...
  5. Re: VB6 Program Compiling Errors - Who would like to try?

    As I see it, just use a Hex Editor.
  6. Replies
    31
    Views
    1,208

    Re: Error Trapping in an Executable

    I also had a "quietly exits without a word" encounter last year, similar to what mms_ is now experiencing.

    I have an "Animated PNG" form and an "Animated GIF Editor" form which are invoked from a...
  7. Replies
    31
    Views
    1,208

    Re: Error Trapping in an Executable

    It is in a user control. Because I allow various toolbox tools for user to select the area to be removed and filled with synthesized pixels, viz Rectangular Region, Oval Region, Polygon Region and...
  8. Re: [RESOLVED] How to clear Err, when there is no way to know where it occurs

    From a posting in a new thread, https://www.vbforums.com/showthread.php?896828-Error-Trapping-in-an-Executable I found the answer to my question. There


    Although I am not practising the above,...
  9. Replies
    31
    Views
    1,208

    Re: Error Trapping in an Executable

    Here I have my Lesson 101.

    Even if I don't practise it as a rule, at lease I could have deployed it to help diagnose the nasty problem I had just a little while ago. Just a little while I ago I...
  10. Replies
    24
    Views
    831

    Re: [RESOLVED] Last Class to Go

    @baka:

    Thank you.
  11. Replies
    24
    Views
    831

    Re: [RESOLVED] Last Class to Go

    I don't actually use GDIplus for animated GIF, nor animated PNG. I use my own code (plus zLIB for compression/decompression in the case of PNG or animated PNG). GDIplus is incapable of doing certain...
  12. Replies
    24
    Views
    831

    Re: [RESOLVED] Last Class to Go

    GDIplus is indispensable to me, as I refrain from using a 3rd party DLL except for zLIB. I don't use GDIplus to load/save graphic files except for TIFF, but I need it for things like letting the...
  13. Replies
    10
    Views
    545

    Re: [RESOLVED] SavePicture, JPEG, quality?

    For info, the screenshot below, of a Save As JPG screen, explains a few salient points about saving a JPG:

    -- If the original is JPG, chances are there are EXIF and/or ICC information in the...
  14. Replies
    7
    Views
    534

    Re: Control Transparancy

    32-BPP image blend in with 32-BPP image, that is typical the job of AlphaBlend API. However, some old-fashioned guys are very much against that "premultiplied" idea, and insist on using their own...
  15. Re: [RESOLVED] How to clear Err, when there is no way to know where it occurs

    Did I ask you to help specifically? If not, and if you don't even bother to understand the issue, why waiting your time, and mine too. I consider your postings here are just creating nuisance.
  16. Re: [RESOLVED] How to clear Err, when there is no way to know where it occurs

    @wqweto: As a hobbyist I don't have a suitable tool at my disposal like you professionals do. Arnoutdv has a point, but in my retirement time I try to get some intellectual satisfaction, hence I...
  17. Re: [RESOLVED] How to clear Err, when there is no way to know where it occurs

    For over 15 years I never have to unchek "Remove array bounds checks" first, even when I am coding the extremely complicated stuff such as writing a function to form the interlaced PNG bytes for 1,...
  18. Re: [RESOLVED] How to clear Err, when there is no way to know where it occurs

    80% v 90%, I feel better now.
  19. Re: [RESOLVED] How to clear Err, when there is no way to know where it occurs

    @dilettante, you're right; the captioned question is not answered, yet. I caught the error spot myself, the hard way.

    I'd never been so abashed before. IDE is perfect, but EXE crashes (if...
  20. Re: How to clear Err, when there is no way to know where it occurs

    Today is my lucky day; I finally caught the culprit function causing the unforgiving EXE crash. I am glad that I can have the "Remove array bounds checks" ticked again.
  21. Re: How to clear Err, when there is no way to know where it occurs

    Just a note. In Posting #1 I said:



    This problem no longer exists, after adding a DoEvents everytime RaiseEvent to monitor the progress, from Viewport (user control) to Form so that Form can...
  22. Re: How to clear Err, when there is no way to know where it occurs

    Thank you, wqweto.

    Overall my system environment is less complicated. I only play with graphics (e.g. no database), only use intrinsic controls and I don't have any 3rd party DLL except zLIB ...
  23. Re: How to clear Err, when there is no way to know where it occurs

    Incidentally for such a big job, only a handful of Copymemory and a few APIs are used. The entire process is among byte arrays, but with very complicated arrangements, hence it can be forgiven if...
  24. [RESOLVED] How to clear Err, when there is no way to know where it occurs

    Recently I have a very nasty encounter: I added a "Context-Aware Fill" function to my program; the program runs fine in IDE, but gets crashed on EXE (all error trap attemps just don't work), if user...
  25. Replies
    25
    Views
    1,849

    Re: Animation png load image

    The screenshot below illustrates the actual practice of "Alpha Blend" and "Render". In real life, by a great majority the individual frame images in an Animated PNG are not the processed ones, and...
  26. Replies
    25
    Views
    1,849

    Re: Animation png load image

    I often use GDIplus to do the rendering. Below is an extract of the code lines, simplified a bit for clarity.

    Note 1: Here the destination is a flat surface, although 32-BPP, all apha bytes are...
  27. Replies
    25
    Views
    1,849

    Re: Animation png load image

    A few more pieces:

    -- Before rendering a frame after the first frame, one has to restore the destination image to its original first, thus



    (Store away the destination image first, say of...
  28. Replies
    25
    Views
    1,849

    Re: Animation png load image

    I just append some pieces of information for your reference.

    -- I seldom see PNG files have a "pHYs" chunk (for pixel aspect ratio), but the subject file uses one. So I have to check it out. I...
  29. Re: With GDIplus, how to extract original frame images per file (not processed ones)?

    No solution seems forthcoming?

    BTW, I've meanwhile found out why my GIF.cls failed to decompress the frame image bytes of the subject file. It seems the compressed bytes in file are "dislocated"...
  30. Re: How can I get the 3-letter Windows language name? [VB6]

    For your reference, this is what I am using. Hope it helps.



    Private Declare Function GetUserDefaultLCID Lib "kernel32" () As Long
    Private Declare Function GetLocaleInfoA Lib "kernel32"...
  31. With GDIplus, how to extract original frame images per file (not processed ones)?

    Normally I use my own GIF.cls to process static or animated GIF files. For an animated GIF file, the original frame images per file are stored away for subsequent edit if wanted. It is only when...
  32. Re: VB Form line break encoding- Can't open some forms (perhaps wqweto knows?)

    For info, in mid-Feb (last month) I downloaded wqweto's "VB Gif Library Project" at GitHub, and ran it "as is", without any problem. (Remarks: I downloaded the said project to re-test its Sub...
  33. Replies
    6
    Views
    633

    Re: [RESOLVED] about stdpicture.render

    For your reference, I don't use StdPicture; I use DIB -- when I rotate the image horizontally or vertically.



    If inIndex = 0 Then
    StretchBlt inDIB.hDC, (w - 1), 0, -w, h,...
  34. Re: Mystery Value Assignments - Where did these property values come from?

    Just to clarify a point. In posting #12 I said



    Actually I didn't use "mouse over" throughout. To ensure what I said is true, I did it again this morning, only with F8 and without any "mouse...
  35. Re: Mystery Value Assignments - Where did these property values come from?

    First of all, I confirm what you've just said is true, but this doesn't change the explanation I offered.



    Please take a look at frmMonitor which clsMonitors called. After clsMonitors called...
  36. Re: Mystery Value Assignments - Where did these property values come from?

    Frankly I rarely ran Debug and haven't run a single Debug for the past many years. Therefore it took great effort for me to get a screenshot comparable to yours, well, slightly better than yours as...
  37. Re: Detection on which monitor an windows is shown

    I no longer have the original copy, but from what I have I got these:



    Public Property Get DesktopLeft() As Long
    DesktopLeft = GetSystemMetrics2(SM_XVIRTUALSCREEN, 0)
    End Property

    ...
  38. Re: Detection on which monitor an windows is shown

    I guess they have Sub Refresh() instead of Sub Class_Initialize in case you add/unplug a connected monitor after the class initialization. Refresh() is to establish a collection of monitors, and the...
  39. Replies
    25
    Views
    1,356

    Re: Is there a code that changes the language?

    @fafalone: I got it, and I thank you very much.
  40. Replies
    25
    Views
    1,356

    Re: Is there a code that changes the language?

    @wqweto: Regarding deleting a folder/file without using Unlocker, is it just adjusting the file attribute(s) will do?
Results 1 to 40 of 369
Page 1 of 10 1 2 3 4



Click Here to Expand Forum to Full Width