|
-
Jan 24th, 2006, 01:28 AM
#1
Thread Starter
Member
[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!!!!
-
Jan 24th, 2006, 01:46 AM
#2
Fanatic Member
Re: Still not rid of the XP warning! Help!!
can u please post your code? we'll be happy to help u out
WARNING: Excessive coding is dangerous to your health... if symptoms persist insult your doctor...
-
Jan 24th, 2006, 01:59 AM
#3
Thread Starter
Member
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
-
Jan 24th, 2006, 07:02 AM
#4
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
-
Jan 25th, 2006, 01:06 PM
#5
Thread Starter
Member
Re: Still not rid of the XP warning! Help!!
Thanks!! It was so simple, I feel like a twit. How do I say Resolved?
-
Jan 25th, 2006, 01:09 PM
#6
Re: Still not rid of the XP warning! Help!!
Pull down the thread tools menu and click "Mark this thread resolved"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|