Results 1 to 2 of 2

Thread: Access VBA ActiveX Controls

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Posts
    8

    Access VBA ActiveX Controls

    Hi there,

    I’m trying to get a simple Shockwave Movie to play in the splash screen on my Access 2000 (VBA) application, but seem to be having some difficulty with the syntax. I know that when I’m working in VB6 I simple add a Shockwave Flash Component as use syntax of the form:

    ControlName.Movie = App.Path & "MovieName.swf"
    ControlName.Play

    However in Access when I insert an ActiveX Control on my form I have a choice of either a “Shockwave ActiveX Control” or a “Shockwave Flash Object”, which one do I use to play a simple movie file, can I define the file path in the properties of the ActiveX Control or in the code, and what is the correct syntax to use???

    I’d really appreciate any help with this problem as I’m having great difficulty finding any information about using Shockwave/Flash in Access applications.

    Many thanks: Gavin.

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Well for the app.path alternative, you can try using...

    msgbox CurrentProject.Path

    For the other one, no idea which control to use but when you select the control in the vb ide control selection box, it shows you the path name & filname of the control doesn't it?

    I think you could do a browse for a control in access where you could specify to add in this control also...

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width