Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
| Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 29th, 2005, 07:21 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , .
Posts: 121
Thanks: 1
Thanked 0 Times in 0 Posts
Default Flash or Movies in ASP.NET

Hello,
I need to use flash or movies on my ASP.NET page. I am keeping the data for those files in the BLOB data field on ORACLE database. Do you have any example how to retrieve data from ORACLE to show on the page?

I try to use this code, but it requires a physical path to the file.
I need get data from the database:

Imports Osmosis.Web.UI.Controls.FlashMovie

Dim movie As Osmosis.Web.UI.Controls.FlashMovie
Dim sPhysicalAppPath As String

sPhysicalAppPath = Request.PhysicalApplicationPath.ToString()
movie = New Osmosis.Web.UI.Controls.FlashMovie
movie.FlashOutputType = Osmosis.Web.UI.FlashOutputType.ClientScriptVersion Dection

movie.MovieName = sPhysicalAppPath + "/fish.swf"

movie.MajorPluginVersion = 7
movie.MajorPluginVersionRevision = 0
movie.MinorPluginVersion = 0
movie.MinorPluginVersionRevision = 0
movie.MovieHeight = "85px"
movie.MovieWidth = "85px"
movie.AutoLoop = True
movie.AutoPlay = True

movie.MovieVariables.Add("MyVar1", "MyValue1")
movie.MovieVariables.Add("MyVar2", "MyValue2")
movie.MovieVariables.Add("MyVar3", "MyValue3")

PlaceHolder1.Controls.Add(movie)

movie.Dispose()
movie = Nothing

Any help and suggestions will be nice.
Thanks
    Dmitriy
:)
 
Old June 29th, 2005, 01:12 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dmitriy
you are in the wrong forum, this is VB6 and VBA. wrox have tons of forums on asp.net, try there (and sorry if I can't help you on this, I do not use asp.net, at least yet)
Marco
 
Old June 29th, 2005, 09:38 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Answered in:
http://p2p.wrox.com/topic.asp?TOPIC_ID=32267




Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Flash Movies To Screensavers If Possible Ben Horne Flash (all versions) 7 December 15th, 2006 11:35 PM
Flash or Movies in ASP.NET Dmitriy ASP.NET 1.0 and 1.1 Professional 2 July 5th, 2005 09:22 AM
Flash or Movies in ASP.NET Dmitriy General .NET 2 July 1st, 2005 04:16 AM
Flash or Movies in ASP.NET Dmitriy Classic ASP Professional 1 June 29th, 2005 09:37 PM
Flash Movies In Dreamweaver Ben Horne Dreamweaver (all versions) 1 February 11th, 2004 02:51 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.