Search:

Type: Posts; User: VbNetMatrix

Page 1 of 6 1 2 3 4

Search: Search took 0.05 seconds.

  1. Re: [vb6]Alpha Image Control v2 - Final Update (15 Jan 2012)

    Hi Lavolpe, thanks for your answer.
    I'm not using DoEvents (EVER) I consider it a "last" resort that has the potential to crash a program... for many reason you just mentionned.

    I can reproduce...
  2. Re: CommonControls (Replacement of the MS common controls)

    I did that... still don't understand... something is incredibly easy for me like programming.... and other are incredibly complex, like managing a smart phone. And I read this forum since the first...
  3. Re: [vb6]Alpha Image Control v2 - Final Update (15 Jan 2012)

    Hi Lavolpe,

    recently I started to have random crash with AIC as if Microsoft made a patch where the garbage collector make something where the parent container initialize after the init event... ...
  4. Re: CommonControls (Replacement of the MS common controls)

    Agree... let's focus on Krool project...



    not sure I follow... Krool is not totally replacment since it depend on original control. It's improvment of original control, meaning it require...
  5. Re: CommonControls (Replacement of the MS common controls)

    Some people seem to think the -75000 pixel unit .Left is a bug for hidden tab as in fact is a feature. we can live well with it when testing for it.



    didn't experienced that


    You need to...
  6. Re: CommonControls (Replacement of the MS common controls)

    just for curiosity, any reason you gave up on the sstab ? I use it a lot and I was wondering if there were bug I should be aware of ...
  7. Re: CommonControls (Replacement of the MS common controls)

    really fast turn around! thanks.
  8. Re: Get image size of IPicture with GDI routine

    Hi Lavolpe,

    you'll be glad to know that I arrived at a decent solution...
    only glitch are Alphachannel... not good... but regular (background) transparency work well
    not sure how I could get...
  9. Re: Get image size of IPicture with GDI routine

    ok... I found the problem... but at first I was stuck with my INITIAL problem :(

    I'm using AlphaBlend() Api with AC_SRC_ALPHA flag
    The AlphaBlend flag FAIL if there is no transparency in the...
  10. Re: Get image size of IPicture with GDI routine

    Sometime I wonder if there is someting you don't know about Vb6 :)
    as for me... I really consider myself... a high level user... but still, I believe I have touch only a fraction of what Vb6 had to...
  11. Replies
    17
    Views
    67,038

    Re: [VB6] Tutorial: Being DPI Aware

    Edit: to benefit FROM your knowledge
    I'm still interested at the subject I'm currently developping something I want to make DPI compliant... so I'll come back soon when I fix my own bug...
  12. Re: Get image size of IPicture with GDI routine

    The IPictureDisp bug didn't fix the problem...

    same thing...

    I'm really puzzled. maybe too tired... tomorow is another day.
  13. Re: Get image size of IPicture with GDI routine

    thanks Lavolpe.

    I tried your suggestion... I was still puzzle because everything looked fine...
    so I decided to make a simple test project.

    a simple OCX that show a BMP but saving and reading...
  14. Re: CommonControls (Replacement of the MS common controls)

    What some people don't seem to understand is that FORUM are limited from what we can do.

    Krool did a tremendous job and proposition like the documentation really show teamwork collaboration and...
  15. Re: CommonControls (Replacement of the MS common controls)

    I've looked into your post...

    can you give us your code for the ADO you're using for connection ?
    Win Win7+ you must use at least ADO 6.0
    with Office 2010, you CANNOT use JET OLE, you MUST use...
  16. Re: Get image size of IPicture with GDI routine

    yeah I'm aware of the autoredraw but that's not the problem. It's showing the image properly before I close IDE
    and showing garbabge when I open it back.

    I tried with bigger picture and I...
  17. Re: Get image size of IPicture with GDI routine

    I saved the IPicture directly as suggested.
    I confirm the IPicture can be saved that way, I can retrieve the content on a picture box.

    but my OCX fail to print it directly on the OCX when the...
  18. Re: Get image size of IPicture with GDI routine

    I have noticed the high bit and low bit are reversed. Probably because how memory store value.
    although not really related to our problem, I found this:
    ...
  19. Re: Get image size of IPicture with GDI routine

    Sorry, I faulty explained myself....what I meant was : I understood you changed the IDispatch to IPicture interface from your comment, I didn't understood the hex value because I couldn't find the...
  20. Re: Get image size of IPicture with GDI routine

    Hi Lavolpe.

    I check the code and I don't understand the value you're using for [riid] param in OleCreatePictureIndirect
    can you explain to me or point out to documentation ??

    since value you...
  21. Re: Get image size of IPicture with GDI routine

    meh! You're the fastest answer I got and the one I was awaiting for. I applaude your willingness to help me :)



    some part of this code is way out of my leagues. I don't do graphics, I'm a...
  22. Re: Get image size of IPicture with GDI routine

    didn't know that.... I was using AlphaBlend() and a StretchBlt() on the DC before calling the FreeGDIPlus lngToken

    maybe that explain why on some occasion IDE crash on mouse over the...
  23. Re: Get image size of IPicture with GDI routine

    I apreciated your deep knowledge of the subject.

    <<Are they the same values?
    I checked the first value of plngHBitmap on the CreateBitmap()
    and yes, they are ok, I checked as you suggested.
    I...
  24. Re: Get image size of IPicture with GDI routine

    I got a question...

    if I'm using StretchBlt (from GDI32)
    can I set it to work with GdipSetInterpolationMode() ?

    if not, what the best way to stretch an IPicture using NearestNeighbor ?
    ...
  25. Re: Get image size of IPicture with GDI routine

    yes, it does return 0, S_OK = 0. The guy that made the code didn't used Long for function (wich I hate)
    he was doing:

    Set mIPicture = CreatePicture(...)

    I modified all function so the...
  26. Re: Get image size of IPicture with GDI routine

    why people doesn't put their credential in ZIP file with code it elude me...

    so again... credit is due to the author, I borrowed a few routine from a project and I got the zip but not where I...
  27. Re: Get image size of IPicture with GDI routine

    sure, let me post the code... (give me a minute)
    in the meanwhile, accessing the .width and .height of the IPicture only crash when you put your mouse cursor over it in debug mode.
    and I answered...
  28. Get image size of IPicture with GDI routine

    Hi all...

    how do we get the image size (real one) of a IPicture with GDI call.
    (let's suppose I don't want to use the IPicture.width for some IDE crash issue)

    1. I Open GDI+
    2. I load an...
  29. Replies
    9
    Views
    16,213

    Re: How to get size of image in VB6

    you're right about the thread.... I thought it was ok since it was same question...

    sorry.... here the new thread:
    ...
  30. Replies
    9
    Views
    16,213

    Re: How to get size of image in VB6

    Hi Lavolpe!

    once again, I seek your wisdom and knowledge! :) for the same related problem!!

    I got a IPicture that I loaded with GDI function.
    I know I can get the "real" image size of the...
  31. Re: CommonControls (Replacement of the MS common controls)

    There is a few thing I have noticed but it is really simple Vb6 programming rules that are not applied.

    one of the is your declaration with the NEW keyword.

    in Vb6 you must NEVER declare a...
  32. Re: CommonControls (Replacement of the MS common controls)

    double post for some server reason...
  33. Re: [vb6]Alpha Image Control v2 - Final Update (15 Jan 2012)

    Thanks Keith, very much appreciated...
    as a side note, I work ONLY with BMP and PNG
    (for image quality purpose)
  34. Re: [vb6]Alpha Image Control v2 - Final Update (15 Jan 2012)

    Thanks for this code... was waiting for it long time ;)
  35. Re: CommonControls (Replacement of the MS common controls)

    if your program is using more then 4gb ram memory (in ANY scenario), it is most likely a memory leak issue.
    in c# for example, lot of people are using COM component without using the garbage...
  36. Re: CommonControls (Replacement of the MS common controls)

    I believe it would not. Office x64 is not compatible with 32bit COM
    beside for your information, Microsoft does recommand to NOT install x64 version of Office UNLESS:

    "you are opening image or...
  37. Re: [vb6]Alpha Image Control v2 - Final Update (15 Jan 2012)

    Hi Lavolpe, hope you fixed your problem with last version of Win10. As for myself, I gave up on "Win10 & Vb6"
    I installed Oracle VM and on my Win10 machine, I ran a VirtualBox of Win7 in full...
  38. Re: CommonControls (Replacement of the MS common controls)

    the image you provide is blurry and I cannot read it to see the error msg.
    it seem to do with the public enum wich cannot be passed at outside perogative (normal)

    however, did you tried to...
  39. Re: CommonControls (Replacement of the MS common controls)

    I see no problem in what you're trying to achieve but make sure you changed the CLSID of the project AND the output filename of the OCX to avoid compatibility issue. if someone make a commercial...
  40. Replies
    82
    Views
    69,724

    Re: [VB6] Manifest Creator II

    yes thanks, now I understand... I was aware about the v5 (themable dll) and v6 (static ocx)
    as for the vb6.exe, I don't use manifest on it because it cause too many problem in the IDE (the main one...
Results 1 to 40 of 230
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width