[RESOLVED] Still not rid of the XP warning! Help!!
I’m using a ‘Ole1.CreateLink (Path) followed by a DoVerb to start a .wmv video file. Before it will run, I get a ‘File Open’ warning as though WindowsXP is warning me about a dangerous download from the web.
Any Ideas on how to stop this? Particularly on my user’s machine. I can’t ask the user to lower any security levels.
I tried ‘CreateEmbedded’ and it worked for small files but when I used my 50Mb wmv it ran out of memory.
The 50Mb wmv started out as a 1Gig avi created in Adobe Premier. I loaded it into Microsoft Movie Maker and re-saved as a 50Mb wmv.
When it was a 1Gig avi, CreateEmbedded did not blow the memory, but when it was a 50 Mb wmv, it did!!! STRANGE!!!!
Re: Still not rid of the XP warning! Help!!
can u please post your code? we'll be happy to help u out
Re: Still not rid of the XP warning! Help!!
It couldn't be simpler!
You will need a large .wmv file. My problem video is 50Mb.
Start of Vb Code:
Project1.Form1.OLE1.CreateLink ("C:\Video Files\BookVideo.wmv")
Project1.Form1.OLE1.DoVerb
End of VB Code
The Ole1 is a Media Clip
Help with this will let me sleep nights!!!
Ray
Re: Still not rid of the XP warning! Help!!
Are you just trying to display the video in the form? If so just use the Windows Media Player control (Project -> Components -> Windows Media Player). No security warnings :)
Re: Still not rid of the XP warning! Help!!
Thanks!! It was so simple, I feel like a twit. How do I say Resolved?
Re: Still not rid of the XP warning! Help!!
Pull down the thread tools menu and click "Mark this thread resolved"