Results 1 to 5 of 5
  1. #1
    wario255 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2015
    Posts
    4

    VLC active x snapshot

    Hi everyone.



    Dont know if this sin forum.is the best way to place this, in other case, de el free to move to another

    Im completely new in the Access matters [emoji28] and think I need help...

    I have a form in Access with two of VLC ActiveX objects (one for each version)

    In VBA code I write a statement method that is supossed to snapshot the vídeo that vlc objet is showing, something like this:

    ...
    Dim pic As Picture
    Set Pic = vlc.vídeo.takeSnapshot()
    ...

    The object show an animation just like the actual VLC player, but the snapshot is saved in nowhere!!! Or I am no able to find it.

    I need help. In completely newby and dont know how to go on.

    Maybe be type of de objetc pic???
    Maybe be the method can recieve a path???

    I looked for this for weeks but nothing help me.

    Please I thank you for a guidance.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    I do not have any experience with VLC, but I would suggest that you make sure you have a reference to their library via Tools > References from within the Visual Basic editor.

    You should post all of your code. You are not showing code that does something with your object.

    What do you mean by the following quote?
    The object show an animation just like the actual VLC player
    Did you add an unbound object to your form?

  3. #3
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659
    how can we get our hands on this VLC activeX component? Do you have a link for the one you are using?

  4. #4
    wario255 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2015
    Posts
    4
    Hi ItsMe.

    The references to the libraries exists.

    The form has:
    - An vcl ActiveX object, that show the stream from an IP camera
    - A button with the code:

    Private sub button_click()
    Dim pic as iPictureDisp
    Set pic = vlc.video.take snapshot()
    End Sub

    The animation is that vlc player does when take a snapshot: show a little frame in the top-left corner and show the full path where it has been stored (C:\...)

    In the active x, the animation is shown but the path is something like CAXVLC1836.bmp and is stores in nowhere.

    Anyway, thanks for the info. I finally do the task using Videocap, if it works when I try with the IP cam, don't need the vcl anymore.

    Perceptual, if you want to use this only have to install vlc, its free, and during the installation make sure the active x plugin is checked.

    Thanks!!!

  5. #5
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    It is possible that vlc.video.take snapshot() will create a snapshot and place it in the default folder/directory.

    With the following ...
    Dim pic as iPictureDisp
    Set pic = vlc.video.take snapshot()

    it is possible you are instantiating an object as iPictureDisp. Not sure what iPictureDisp is. If there are not any errors thrown and there is a picture in the default folder, you will likely be able to do something with your new object, pic.

    Directly below the line Set pic = vlc.video.take snapshot() type the word pic

    directly after pic type a period/dot and see what members are available. Via intellisense, you should see a list of properties and methods available to the iPictureDisp object.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Query snapshot's
    By dr4ke1990 in forum Queries
    Replies: 3
    Last Post: 03-11-2014, 11:22 AM
  2. Replies: 21
    Last Post: 01-21-2014, 05:04 PM
  3. Replies: 1
    Last Post: 01-11-2014, 12:39 PM
  4. Do I Use a Snapshot?
    By brc in forum Database Design
    Replies: 25
    Last Post: 04-11-2011, 05:00 PM
  5. Replies: 1
    Last Post: 04-07-2010, 08:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums