Search Results - VBForums

Search:

Type: Posts; User: Ben321

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Dark frame subtraction not working quite right.

    Ok so I did an experiment. I recorded an AVI file from my webcam with my hand covering it. I then did the same with it pointed at a periodic-table poster I have on my wall.

    I wrote a VB program...
  2. Replies
    0
    Views
    114

    What is a good palette finding algorithm?

    I want to be able to create a 256 (or 16) color palette based on an image, so that when I convert it to indexed color, it will actually be using colors from the image (not a preset palette like the...
  3. Replies
    20
    Views
    736

    Re: WIA Loader and Saver class

    Should I remove the link to the MVPS copy of the zip file from this thread? Or is it ok to leave that link in this thread?
  4. Replies
    20
    Views
    736

    Re: WIA Loader and Saver class

    If it is in fact illegal to post here on VBForums, isn't it also illegal for it to be posted on MVPS? And if it is not illegal to post on MVPS, then why is it not legal to post it on VBForums?

    I'm...
  5. Replies
    20
    Views
    736

    Re: WIA Loader and Saver class

    If I take the Wia 2.0SDK DLL file out of my Windows System32 (or SysWow64) folder on my Windows 7 computer (on all versions of Windows after XP it just came with the system), and package it with a...
  6. Replies
    20
    Views
    736

    Re: WIA Loader and Saver class

    My understanding is that that rule is only for 3rd party EXE and DLL files. Files which are 1st party (created by Microsoft) are not forbidden, and if they are required for a particular VB6 project...
  7. Replies
    20
    Views
    736

    Re: WIA Loader and Saver class

    I don't think it is larger than the original. The DLL I have in this zip file with my VB6 class, is the same DLL file that was in the zip file that I originally found it in, which was from another...
  8. Replies
    32
    Views
    1,873

    Re: I need RSA encryption in VB6

    Because it uses the same public exponent, that makes it extremely insecure it says. That means if I want to send the same message to 10 different recipients, each using a different private exponent...
  9. Replies
    32
    Views
    1,873

    Re: I need RSA encryption in VB6

    A bit of a problem I found with that. When I run CreateRandomKeys, and then check each of the outputs, I see that these things have been correctly generated:
    P
    Q
    Modulus
    Secret Exponent (part of...
  10. Replies
    2
    Views
    119

    Re: Crypto API giving me unexplained problems.

    Nevermind. The resource I was using to find the API declarations (API Viewer 2004) has a couple errors in its declaration. It's a 3rd party product that has a lot more functions listed than the...
  11. Replies
    2
    Views
    119

    Crypto API giving me unexplained problems.

    Ok, so I have this program, just to test my ability to get the Crypto API started, and closed properly. And I'm already having troubles.

    Here's my test code.

    Private Declare Function...
  12. Re: Do you need to use GlobalUnlock before using GlobalFree?

    What if it is freed (so that the system thinks it's no longer being used), but left in a locked state, which prevents other applications from using it? If I understand the mechanisms here correctly,...
  13. Some code to calculate the Greatest Common Divisor

    This code sample calculates the GCD of numbers A and B, using the Euclidean algorithm (as described at...
  14. Replies
    20
    Views
    736

    Re: WIA Loader and Saver class

    Unfortunately I didn't download this while it was up on the MS website. I was looking for it one time, and this guy on a forum linked to the MS site, but following the link got me to a page that said...
  15. Replies
    20
    Views
    736

    Re: WIA Loader and Saver class

    I know that some people still have Windows XP, and likely some people writing VB6 programs still are doing so on Windows XP, so I want to make sure they have the opportunity to use my code (which...
  16. Replies
    20
    Views
    736

    WIA Loader and Saver class

    This class allows you to load and save all kinds of image files, including PNG and TIF. It is requires WIA 2.0 which is a Microsoft created DLL file called wiaaut.dll. A complete description of the...
  17. Re: Problem with getting raw image bytes from WIA

    Actually what you mentioned takes the entire file data (meaning the headers and everything that would be present in the file, not just the image data, and any data that is present in there will not...
  18. Problem with getting raw image bytes from WIA

    Ok, so I'm trying to extract the raw RGB data from a known good BMP file that I'm loading through WIA. I've gotten the code like this so far.


    Dim TempImageFile As ImageFile
    dim PixelBytes() as...
  19. Re: Video-Decompression with the VCM (ICM-Win32-API)

    vbRichClient5 is the best addon for VB6 that I've ever seen. Moderators, I don't know what you are thinking removing that link. It is extremely well known DLL file addon for VB6 that much of the...
  20. I need a good way to access DirectShow in VB6, for Webcam use. (DLL creation requst)

    I first tried VFW as that had ways to call up the video format menu, device select menu, etc. What it could not call up is the webcam driver's settings menu (where I can set the exposure, gain,...
  21. Re: Do you need to use GlobalUnlock before using GlobalFree?

    But when using it like that, does it properly decrement the lock-counter (for number of locks on that memory block), or does it leave the lock counter stuck with a now invalid value?
  22. Do you need to use GlobalUnlock before using GlobalFree?

    In the MSDN page describing ICImageCompress I see this mentioned:


    Nowhere does it mention the use of GlobalUnlock. Is it required to use GlobalUnlock before using GlobalFree? Or is this not...
  23. Replies
    32
    Views
    1,873

    Re: I need RSA encryption in VB6

    I may be mistaken, but I believe that this is just an alternate way to use CAPICOM, which gets me back to the same problem I was having before, with it storing info about various keys in appdata...
  24. Re: Video-Decompression with the VCM (ICM-Win32-API)

    @Schmidt How about also an IMCEncoding, as it is needed for the other half of my project.

    And how about adding both IMCEncoding and IMCDecoding as classes in the next released version your...
  25. Replies
    32
    Views
    1,873

    Re: I need RSA encryption in VB6

    That's because the private key is stored in an appdata folder by the system, instead of the program's own folder, and entries are created in the registry, which leaves a lot of stuff behind, which...
  26. Re: Video-Decompression with the VCM (ICM-Win32-API)

    @Schmidt I decided to test this out, so I created a rawRGB test image by converting a standard Windows7 sample image (Tulips.jpg) to rawRGB using Gimp (it can output raw image byte array with no...
  27. What which codec FourCCs does ICOpen recognize by default?

    Without installing any additional codecs what codecs come with windows, and what are their correct FourCCs? I need to know, because ICOpen (as needed for the ICImageCompress function) seems to not...
  28. Re: How do I do a fast YUV to RGB (and reverse) conversion?

    I have saved two raw webcam frames. One of them is the Planar YUV420 as I mentioned in my opening post, and the other is Interleaved YUV422 (YUYV).

    The image size is 640x480. These are raw files...
  29. Replies
    3
    Views
    245

    Re: VFW callback function question.

    Not necessarily. It could be as I stated, that Microsoft removed that specific info on purpose, so that while other companies could use it, they would not know the correct return value, and thus any...
  30. Replies
    3
    Views
    245

    VFW callback function question.

    I am experimenting with VFW in VB6 for controlling Webcams. To access the actual bytes of video stream data, I need to define a callback function according to the specs at...
  31. How do I do a fast YUV to RGB (and reverse) conversion?

    I'm processing video 640x480 from a webcam at 30FPS, and the webcam's raw pixel data is in Planar YUV420 format (as extracted from the webcam driver via Windows API calls). Basically this consists a...
  32. Replies
    4
    Views
    229

    Re: Bug with Forms 2.0 TextBox control?

    The Forms 2.0 text box control behaves in the manner which I would like. I have no interest in using it for Unicode, so that is not my reason for choosing this control for my current application. I...
  33. Replies
    4
    Views
    229

    Bug with Forms 2.0 TextBox control?

    It seems there is a bug with the Microsoft Forms 2.0 Controls version of the TextBox control. Specifically it has to do with the mouse pointer. When moving your mouse pointer over the control, it...
  34. I keep getting an error when trying to create a DHCP server.

    I'm trying to create a simple DHCP server, which will log the DHCP requests of the computers on my network. For this I have used Winsock and set it to UDP mode and used this code to try to bind it.
    ...
  35. Replies
    23
    Views
    4,036

    Re: MJPEG Webcam Receiver

    Is this the right kind of code then for conversions?


    Public Function StrToAry(ByVal Text As String) As Byte()
    Dim Bytes() As Byte
    Dim Bytes2() As Byte
    Bytes() = Text
    ReDim Bytes2(Len(Text) -...
  36. Replies
    2
    Views
    1,791

    How do I use OleCreatePictureIndirect?

    I've heard that it can create an StdPicture or IPictureDisp object, when given the handle to a Bitmap. Unfortunately I don't have the slightest clue how to use this API call. It sounds like it could...
  37. Replies
    2
    Views
    674

    Re: Having trouble with Property Get and Let

    Thanks.
  38. Replies
    2
    Views
    674

    Having trouble with Property Get and Let

    I have a class, and when I try to retrieve a byte array using Property Get, it fires off the corresponding Property Let. And instead of the Property Get sending the property's value (a byte array) to...
  39. Replies
    23
    Views
    4,036

    Re: MJPEG Webcam Receiver

    There's still one other problem. Even if I search for a byte array in a byte array, using InStrB, there is still the issue of getting the string that you want to search for, into the form of a byte...
  40. Replies
    23
    Views
    4,036

    Re: MJPEG Webcam Receiver

    I am not turning down your advice. When you say that something should be different, I simply am explaining why I did it the way I did. Maybe it would have an effect on the advice you will give on the...
Results 1 to 40 of 496
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.