Search:

Type: Posts; User: LaVolpe

Page 1 of 13 1 2 3 4

Search: Search took 1.93 seconds.

  1. Thread: FYI: Adios

    by LaVolpe
    Replies
    60
    Views
    3,450

    Re: FYI: Adios

    For many of us that are a jacksof all trades and a master of just one, that's exactly what we needed: a break, a company to take a chance. That happened to me twice. This current job and my last one....
  2. Thread: FYI: Adios

    by LaVolpe
    Replies
    60
    Views
    3,450

    Re: FYI: Adios

    I first messed with Python when it was introduced via an application I supported in my job. I had to learn it well enough to troubleshoot scripts. Writing apps using Python is far more complex...
  3. Thread: FYI: Adios

    by LaVolpe
    Replies
    60
    Views
    3,450

    Re: FYI: Adios

    I was in the same boat - a dinosaur But worse for me is my age -- nearly 60. In my case, I worked for a company that did contracts for the government. So I had active clearances and there are special...
  4. Thread: FYI: Adios

    by LaVolpe
    Replies
    60
    Views
    3,450

    Re: FYI: Adios

    I'll monitor this thread for a few days to answer any questions.

    The reason why I won't be around is simply that I won't be devoting any time at all to VB. Honestly, no point in just monitoring...
  5. Thread: FYI: Adios

    by LaVolpe
    Replies
    60
    Views
    3,450

    FYI: Adios

    I'm leaving the VB community probably for a very long time. Want to thank everyone that has ever provided help and contributed in any way. Made me a better VB coder in so many ways.

    This may be...
  6. Replies
    7
    Views
    713

    Re: Listview Row Color

    Possible? Yes.

    You can subclass the listview and set fore/back colors. One example found here. More examples exist & recommend experimenting.

    You can use Krool's common-controls-replacement...
  7. Re: How is the behaviour of VB6 compiler while comparing two string?

    When talking about equality/inequality, i.e., Str1=Str2 or Str1<>Str2, then first test should probably be string length. If strings are not the same size; then strings cannot be equal.
  8. Replies
    25
    Views
    1,585

    Re: IPicture interface methods

    IPicture can't support all image formats, it supports bitmaps, icon/cursor, and metafiles. JPGs are converted to bitmaps, GIFs (1st frame) are converted to bitmaps with a transparency mask/color...
  9. Re: VB6: GDIPLUS - how change pixels colors on a faster way

    @passel. The issue isn't necessarily colors as much as efficiency I would think.

    We can iterate the segments of a path, in order added to the path. We can use GdipDrawLine to render the individual...
  10. Replies
    25
    Views
    1,585

    Re: IPicture interface methods

    You cannot load a PNG via VB's LoadPicture. VB doesn't support PNG/TIFF and some other image formats/subformats.

    If you search the forum, you will find lots of examples of getting a PNG into a...
  11. Re: [RESOLVED] VB6 EXE does not work, but runs from VB6 IDE

    @Niya. Agree except I think @8 is correct vs. @6
    Those DLLImport samples were extracted from a .Net module per the OP. Well a .Net Integer/UInteger = VB Long where a .Net Short/UShort = VB Integer....
  12. Re: [RESOLVED] VB6 EXE does not work, but runs from VB6 IDE

    Take a closer look at the alias in the declaration for example:

    Declare Function mk_Msr_AutoDarkCtrl Lib "mkusb.dll" Alias "_mk_Msr_AutoDarkCtrl@8" _
    (ByVal i As Integer, ByVal ctl As Long)...
  13. Re: VB6: GDIPLUS - how change pixels colors on a faster way

    I once thought about warping images via GDI+ paths. As we know, we can't do it directly because a path can't be created from an image like a brush can. However, we could dissolve the image into...
  14. Re: Help with an error in a simple mouse simulation script

    Simply call your recurring routine from within a timer.

    Inside the timer event:
    1. Disable timer to prevent unwanted re-entrance due to your DoEvents calls
    2. Call your initializeTrainer...
  15. Replies
    36
    Views
    4,593

    Re: [vb6] Per-Monitor DPI Awareness Framework

    That fact gives me something to look at and research. Per-monitor awareness does not apply to Win7 anyway. This means that possibly the framework, in your case, is taking some actions when it...
  16. Replies
    36
    Views
    4,593

    Re: [vb6] Per-Monitor DPI Awareness Framework

    Using your Project1.exe, both @ 100% and 125%, I cannot replicate your screenshots. I am using Win10

    1. I ran the exe @ 100% DPI. It maximized and looked similar to your 1st image in your...
  17. Re: vb6: how use an user type parameter on a class function\sub?

    This seems the easiest solution and a "Friend" scope isn't needed either in that case. In addition, if the class has a privately declared POINTL (or whatever), that DrawImage can Dim its own UDT from...
  18. Re: Help with an error in a simple mouse simulation script

    Don't see anything that would indicate memory leaks related to GetDC(); at least not with the code you posted in #10 above.

    However, you are basically creating an infinite loop and stack...
  19. Replies
    36
    Views
    4,593

    Re: [vb6] Per-Monitor DPI Awareness Framework

    Try it without making the form start-up as maximized.

    There is an issue otherwise and I don't immediately see the cause. The problem appears to be related to messages related to moving into/out...
  20. Replies
    36
    Views
    4,593

    Re: [vb6] Per-Monitor DPI Awareness Framework

    That doesn't help any. There appears to be other things going on in your tests. For example, the option buttons don't have the same Left property value any longer.

    It looks like you are manually...
  21. Re: VB6: GDIPLUS - how change pixels colors on a faster way

    Valuable reference for GDI+ functions: http://www.jose.it-berater.org/gdiplus/iframe/index.htm
    Looking at GdipSetImageAttributesRemapTable the last parameter is an array of COLORMAP structures.
    ...
  22. Replies
    71
    Views
    39,498

    Re: [VB6] Manifest Creator II

    @BobbyAxelrod112. Not really sure what the question is. The steps are fairly straightforward
    1. Create a valid manifest file
    2. Add that manifest to a resource file and rename the resource item, if...
  23. Replies
    36
    Views
    4,593

    Re: [vb6] Per-Monitor DPI Awareness Framework

    A more complete description would be helpful; maybe upload a test project and steps to reproduce the problem. I have some guesses, but don't want to confuse the issue by just blurting them out. Need...
  24. Re: WM_SETREDRAW being incredibly slow for ListView

    This is going to sound odd and is just a curiosity thing... Is there a significant difference when you run your project elevated? Or are your results already from an elevated process? I was...
  25. Replies
    7
    Views
    687

    Re: Truncate the Array

    Either restucture or create a new array and transfer old array items to new in a loop, after first sizing the new array.
  26. Re: how can i get the GDI+ declaration functions\types?

    http://www.differencebetween.info/difference-between-trapezium-and-parallelogram#:~:text=Difference%20between%20Trapezium%20and%20Parallelogram%20Key%20Difference%3A%20A,quadrilateral%20that%20has%20t...
  27. Replies
    7
    Views
    687

    Re: Truncate the Array

    Reconsider how you are dimensioning it. You can only resize a multidimensional array on its last dimension while using the Preserve keyword.

    Dim myarray (110,2) -- won't work for you
    Dim myarray...
  28. Re: how can i get the GDI+ declaration functions\types?

    If the image file cannot be opened exclusively by GDI+ (i.e., open it and lock it), then GdipLoadImageFromFile fails. The error code of 3 does not always mean "out of memory". It seems that GDI+ uses...
  29. Re: Help with an error in a simple mouse simulation script

    You still have code where you are calling GetDC but may not be calling ReleaseDC.
    1) initializeTrainer
    2) Timer_Logout_Timer

    In both of those routines, your ReleaseDC call is inside an IF...
  30. Re: LVM_CREATEDRAGIMAGE truncating half the item

    ImageList_BeginDrag m_lIL, 0, 10, 10
    Have you played with the last 2 parameters above? Per MSDN:
  31. Replies
    4
    Views
    453

    Re: LVS_OWNERDATA and sorting

    The only project where I use virtual listview & sort, the data is not recordset-bound. In my case, the items are initially sorted when read from unsorted source. As suggested, use a fast sorting...
  32. Re: how can i get the GDI+ declaration functions\types?

    One of my favorite sites:
    http://www.jose.it-berater.org/gdiplus/iframe/index.htm
  33. Replies
    21
    Views
    1,165

    Re: Read background color of a bitmap

    As dilettante asked, what is the goal?

    For example, "PNG" clipboard format is not standard from what I've read. In other words, there is no guarantee it will exist and no guarantee if it exists,...
  34. Replies
    21
    Views
    1,165

    Re: Read background color of a bitmap

    With image formats that support transparency, you would parse the format to determine a specific pixel location that is 100% transparent. Then you would locate that pixel position in the rendered...
  35. Replies
    21
    Views
    1,165

    Re: Read background color of a bitmap

    without knowing if transparency can even be applied, this is kind of a question with no good answer.

    For example, look at this image:
    1) If black is "transparent", you see a white vase
    2) If...
  36. Replies
    21
    Views
    1,165

    Re: Read background color of a bitmap

    A standard bitmap on the clipboard? Out of luck. Any color you choose, via pixel location or color-usage-count, is a guess at best. If you know the content of the bitmap, then you can theoretically...
  37. Replies
    21
    Views
    1,165

    Re: Read background color of a bitmap

    No, unless you know a pixel offset or know the 'content' of the bitmap.

    Otherwise if image content is unknown, then how would one define background color? You cannot just assume it is the...
  38. Replies
    23
    Views
    1,842

    Re: Problems with IDE and W10

    So, including the ".dll" in the declaration fixed the crashing?
  39. Replies
    23
    Views
    1,842

    Re: Problems with IDE and W10

    What happens if you you declare it like one of these two:

    Private Declare Function APIGetCurrentThreadId Lib "kernel32" Alias "GetCurrentThreadId" () As Long
    Private Declare Function...
  40. Replies
    12
    Views
    1,028

    Re: VB6 Draw Smooth Text

    If dilettante's suggestion does not fix the problem...


    Compare only at 100% unless your IDE (or compiled exe) is manifested as DPI-aware and/or scales fonts. If your screenshot is from a non-DPI...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width