Search:

Type: Posts; User: Argus19

Page 1 of 8 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: How to load a .WEBP image into a PictureBox using WIC?

    Steve Grant, dilettante.
    Checked your modules on Windows 10. Works great.
  2. Replies
    3
    Views
    345

    Re: Function

    Simple example:

    Option Explicit
    Dim A1 As Single, A2 As Single

    Private Sub Form_Activate()
    'Assigning some values to variables
    A1 = 25.426
    A2 = 1.315
    Print RetString(A1, A2) ...
  3. Replies
    3
    Views
    345

    Re: Function

    Decimal values - single or double precision real numbers?
  4. Re: How to load a .WEBP image into a PictureBox using WIC?

    Here is the code for the form:

    Option Explicit
    Dim cWICImage As New cWICImage
    Dim iWidth As Long
    Dim iHeight As Long

    Private Sub Command1_Click()
    cWICImage.OpenFile App.Path & "\Mik.webp"...
  5. Re: How to load a .WEBP image into a PictureBox using WIC?

    I have, when trying to load a .webp image, the OpenFile method exits at the line:

    If IWICImagingFactory_CreateDecoderFromFilename_Proxy(m_ImgFact, StrPtr(sFile), UUID_NULL, GENERIC_READ, _
    ...
  6. Re: How to load a .WEBP image into a PictureBox using WIC?

    Thanks. The class works fine with bmp, gif and jpg formats, but does not work with webp format.
  7. Re: How to load a .WEBP image into a PictureBox using WIC?

    cWicImage.cls requires a link to oleexp.tlb.
    I wrote:
    How to load .WEBP image into PictureBox using WIC functions without using .tlb?
  8. How to load a .WEBP image into a PictureBox using WIC?

    On the page:
    https://www.vbforums.com/showthread.php?891043-VB6-In-memory-convert-to-JPEG-using-WIC
    wqweto gave a great example of converting .bmp image to .jpeg using WIC functions.
    How to load...
  9. Replies
    13
    Views
    1,616

    Re: [VB6] In memory convert to JPEG using WIC

    Unfortunately, due to lack of knowledge of the English language, I could not find out if it is possible to get the playing time of animated .gifs using the WIC functions?
  10. Replies
    10
    Views
    438

    Re: WITH PRINTER...image

    Top middle:

    Printer.PaintPicture picBarCode.Image, (Printer.Width - picBarCode.ScaleWidth) / 2, 0, picBarCode.ScaleWidth, _
    picBarCode.ScaleHeight, 0, 0, picBarCode.ScaleWidth,...
  11. Thread: Extending VB6

    by Argus19
    Replies
    65
    Views
    3,376

    Re: Extending VB6

    While working.
    Olaf writes the IDE alone. This is the feat of Hercules.
    Does anyone say that he does it out of boredom ?!
  12. Thread: Extending VB6

    by Argus19
    Replies
    65
    Views
    3,376

    Re: Extending VB6

    If we started talking about sexual associations ...
    VB 6.0 programmers have become an oppressed minority against which Microsoft is waging a deliberate genocide. To deprive your favorite programming...
  13. Replies
    11
    Views
    762

    Re: What FRACTAL have you created in VB6?

    Comments in the file are not translated into English.
  14. Replies
    63
    Views
    13,136

    Re: Planet Source Code Jumbo Resource CDs

    This phenomenon is observed even when communicating between citizens of the same country.
  15. Thread: Extending VB6

    by Argus19
    Replies
    65
    Views
    3,376

    Re: Extending VB6

    VB.NET is an object oriented language. For many purposes, linear programming is sufficient, which is simpler and does not require Net.Framework.
    As already mentioned, TwinBASIC can be an excellent...
  16. Thread: Extending VB6

    by Argus19
    Replies
    65
    Views
    3,376

    Re: Extending VB6

    Microsoft has ended support for VB. Stopped developing VB.Net. I still couldn't figure out what development environment they offer in return?
  17. Replies
    28
    Views
    1,496

    Re: Accessing animated gif frames.

    If finding the delay time for each frame is a complex process, then it is easier to add a timer to the form, set a fixed value for it, and move the code from the Form_Click event to the timer event....
  18. Replies
    28
    Views
    1,496

    Re: Accessing animated gif frames.

    There are 5 items in the ImageFile.Properties collection. I didn't understand what exactly they contain. And there is nothing like the delay time in them.
    Looked here:...
  19. Replies
    28
    Views
    1,496

    Re: Accessing animated gif frames.

    An elegant solution. Is it possible to get the playback time of GIF frames using WIA?
  20. Thread: Parse a String

    by Argus19
    Replies
    12
    Views
    669

    Re: Parse a String

    The Split function splits a string into an array of strings. The following functions are used to convert strings to numbers: CBool, CByte, CCur, CDate, CDbl, CDec, CInt, CSng. Now you don't have...
  21. Thread: Parse a String

    by Argus19
    Replies
    12
    Views
    669

    Re: Parse a String

    Option Explicit

    Private Sub Command1_Click()

    Dim sTestString As String
    'sTestString = "2+5"
    sTestString = "3+4+2+6"
    'sTestString = "4+12+5"

    Dim ParsedNumbers() As...
  22. Re: MSCOMM control freezes the VB6 IDE

    Private Sub Form_Unload(Cancel As Integer)
    If MSComm1.PortOpen = True Then MSComm1.PortOpen = False
    End Sub
  23. Replies
    20
    Views
    1,315

    Re: [RESOLVED] WIA Automation

    I `m a pensioner. I am engaged in programming for myself.
    I change topics often. For example, now I found an example of using the dx7vb.dll library. Interesting to try, but I don't have a manifest...
  24. Replies
    20
    Views
    1,315

    Re: [RESOLVED] WIA Automation

    I loaded the original image into the PictureBox using VB tools. Then, using GDI +, I loaded a transparent .png, rotated it with GdipRotateWorldTransform and superimposed it on the original image,...
  25. Replies
    20
    Views
    1,315

    Re: [RESOLVED] WIA Automation

    The strangeness is that from WIA to standard controls - no problem. The problem is in the return shipment.
    Which is strange.
  26. Replies
    20
    Views
    1,315

    Re: [RESOLVED] WIA Automation

    It is interesting.
    Is it possible in this case for the interaction of the WIA and GDI + handles?
    For example, image rotation in WIA is only possible by angles that are multiples of 90 degrees. If...
  27. Replies
    20
    Views
    1,315

    Re: [RESOLVED] WIA Automation

    As I understand it, this example shows loading an ARGB image into an array?
  28. Replies
    20
    Views
    1,315

    Re: [RESOLVED] WIA Automation

    Thanks. I replaced the line but did not visually see the change. Perhaps due to the fact that I have a small image (711X598).

    I'm interested in working with photos taken with a smartphone. This is...
  29. Replies
    20
    Views
    1,315

    Re: WIA Automation

    Many thanks!
  30. Replies
    20
    Views
    1,315

    Re: WIA Automation

    Using GetDIBits (), I get an array of bytes. To check it, I copy it to another PictureBox using the SetDIBits () function. Everything works fine.
    I try to assign the resulting array to a vector, I...
  31. Replies
    20
    Views
    1,315

    Re: WIA Automation

    Yes. I used the examples from Microsoft that I could find.
    Thanks for the answer.
    I liked WIA for its simplicity of loading and capturing images without requiring multi-line code.
  32. Replies
    20
    Views
    1,315

    [RESOLVED] WIA Automation

    The following code is used to load into a PictureBox using WIA:

    Dim Img 'As ImageFile
    Set Img = CreateObject("WIA.ImageFile")
    Img.LoadFile "C:\Bliss.bmp"
    Picture1.Picture =...
  33. Re: VB6 Resource Editor Missing from Add-Ons

    I have:
    Tools -> Resource Editor
  34. Re: How to get the coordinates of the 4 corners of a coaxial rectangle on the circle

    An example is here:
    https://www.vbforums.com/showthread.php?830183-RESOLVED-VB6-GDI-ROTATION-only
    Rotating the rectangle will inevitably leave unpainted parts of the canvas.
  35. Replies
    17
    Views
    938

    Re: Crop Filter: Crop Picture

    How to save in different formats? For example, .jpg, .gif and .bmp.
  36. Re: [RESOLVED] TransparentBlt problem in Windows 10X64

    passel, dilettante, Thank you for the clarification.
  37. Re: [RESOLVED] TransparentBlt problem in Windows 10X64

    That is, if the "User" format is the "Single" format, then the TransparentBlt function does not understand it and ends with "False"?
  38. Re: [RESOLVED] TransparentBlt problem in Windows 10X64

    Floating point Single format?
  39. Re: [RESOLVED] TransparentBlt problem in Windows 10X64

    This has already been explained to me.
    It remains to understand what user defined scale means.
  40. Re: [RESOLVED] TransparentBlt problem in Windows 10X64

    From the code given by me, you can see that the format of all controls are set in pixels.

    However, the code worked on Win7 32 and 64 bit, but did not work on Win10X64.
    And I didn't understand...
Results 1 to 40 of 292
Page 1 of 8 1 2 3 4



Click Here to Expand Forum to Full Width