Add A Shockwave Flash Object To VB 2008?
Aug 17, 2009how do we add a shockwave flash object to visual basic 2008
View 4 Replieshow do we add a shockwave flash object to visual basic 2008
View 4 RepliesI have used VB6 to create controls for robotic devices via serial/usb ports... and I already figured out the serial port.I create a graphic gauge for showing data by making a shockwave flash file for example: analog1.swf I then load and use the movie by setting the frame number. In short, 100 frames, 60% would be frame 60, etc. It looks like an analog gauge, makes the program look great.In VB6 I had the file specified as app.path & "/analog1.swf" then when I built the file I would click on the swf file when asked if there was anything else I needed to include... and it would be included in the build. I figured out most of the issues; how to include a shockwave flash object and I found a replacement for app.path... after experimenting. I found that Application.StartupPath() pointed to the DEBUG folder.so if I place the analog1. swf file in the DEBUG folder, I could do something like...[code[ when I tried to build the file in VB.NET, the SWF file wasn't in the publish/SWF1 folder I made. (I selected install from CD so everything should go into one folder as I understand it.) This means that if I distributed the install files... the person would not see the graphic, just a white box where it should be.
I read some more here on the forum... and I found out that I could do the following to add a resource...Click - Project on the toolbar.Click - Add Existing File from the drop down menu.Pick (analog1.swf) from someplace on my hard drive.Okay that got it into the program resources and I presume VB.NET will make a copy in some folder someplace... but I'm not seeing it right now. (Possibly because of the next issue...)How do I specify it in the code? if I create a shockwave object and call it "flash" what goes here.And is there anything special I need to do so that when I click BUILD and/or PUBLISH so it actually includes the SWF file in the finished product so the person installing it sees a gauge instead of a white box?
how do we add a shockwave flash object to visual basic 2005 express edition without the message saying: Failed to import the active-x control. Make sure it is properly registered.
View 11 Repliesi have added the shockwave flash object into my tool box from COM COMPONENTS, but when i add the shockwave flash object to my form so it gives and error. the error is "Failed to import the Activex Control. ensure that it is properly registered"
View 1 RepliesI am trying to import a flush component in a Form but in Choose Items... in the list of Com Component, Shockwave Flash Object deos not exist.
View 2 RepliesI am having trouble getting the shockwave flash object to show up in the COM components i have installed the adobe flash player and adobe shockwave flash but the shockwave flash object is still not there.
View 2 Replieswhy is it i need to click the shockwave flash player/flash/.swf before it will exectue.
here's my code for shockwave flash player
Handles AxShockwaveFlash1.Enter
AxShockwaveFlash1.Play()
AxShockwaveFlash1.Movie = "C:UserscompnameDesktopflash1.swf"
Me.AxShockwaveFlash1.BGColor = Me.BackColor.R.ToString("X2") & Me.BackColor.G.ToString("X2") & Me.BackColor.B.ToString("X2")
why is it i need to click the shockwave flash player/flash/.swf before it will execute.here's my code for shockwave flash player
Handles AxShockwaveFlash1.Enter
AxShockwaveFlash1.Play()
AxShockwaveFlash1.Movie = "C:UserscompnameDesktopflash1.swf"
Me.AxShockwaveFlash1.BGColor = Me.BackColor.R.ToString("X2") & Me.BackColor.G.ToString("X2") & Me.BackColor.B.ToString("X2")
I am trying so that when the webbrowser has completed, It gets a SWF flash into a shockwave movie. Things i've tried.
[Code]...
ok so if i create a new form and i put in a shockwave object and debug it the form will not load and it comes up saying:
An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
No I understand that if I drop the Shockwave Flash Object onto the form, on the right dock I can change the quality, I can also re-size the object to whatever I wish, but is there anyway to manually reduce quality so say the pixel count is much much much less, like 240p or lower, if the video is by default 720p through code? As if to change the amount of pixels being shown on the video to reduce lag when multiple flash objects are playing.
View 3 Repliesmaking sure I have both AxInterop or whatever those 2 .dll files in the same area, i do.
View 1 RepliesWhen i was making my program, i went to import Shockwave Flash Object and AxMedia Player, But they were not there. I know a way of restoring them, Dll's but, however i cannot find the DLL in the folder. Can someone either give me the location in an example "/vbexpress/*****" Or can someone give me a download link to the DLL so i can do that, aswell? I think the download link would be the best.
View 8 RepliesI have a vb.net windows application that i am using, i have embedded a shockwave flash file in one of the forms, in the development enviornment everything works fine. Then I am using the setup and deployment to create a "msi" it automatically detects that the shockwave flash is a dependency for my project and adds the required dll.Once it has created the msi, and i run it on a new machine, the software gets installed, but the flash component inside the form dosent work. is there something special i need to do for that dll?
View 1 RepliesHi, I'm just beginning to teach myself how to do OOP in VB 2008 Express. I have a quick question after seeing a video online.Is a VB variable the equivalent of an 'instance' in Flash and a VB object like a 'symbol' in Flash? Is this what it means by a variable being a reference or pointer to an object and not the object itself?
View 5 RepliesGuys,this is my first day at the forum,and my second thread. Can someone explain me how can i make an axshockwaveflashobject2 to copy what happens at axshockwaveflashobject1 like a picture or video. I have a tabed trainer and i want to see my stats in game at the second tab. i have the hack menu on a toolstrip,but i have at the tab 2 flash1.get variables to textboxes,but i can't see what's happening at the flash1,and i may lose the level by falling in the sea. The code should make something like a mirror from flash1 to flash2 at the other tab.
[Code]...
Well I have a Flash Movie loaded in the Flash Control, And I need to reload it. (So the new base url is used) How do I do this?
View 1 RepliesHow to create an aspx page with a Flash object inside? And how to change the content of the Flash object?[code]...
View 1 RepliesI am currently trying to get a WebBrowser object not to download flash and images. This is just to make a lightweight browser. I know this can be done within the IE settings, but i would prefer it on an application level.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
WebBrowser1.Navigate(New Uri("http:google.co.uk"))
End Sub
End Class
I have found some C# code, but i dont know how to change it to VB.Net and the convertors make some bugs, which i do not know how to fix
Software i am using:
Windows XP SP3
Microsoft Visual Studio 2005
getting the webbrowser to stop downloading them?
I've added reference to Flash object. Then dragged AxMacromediaFlash to form. [renamed Flash1]. Even after setting Flash1.Movie="file.swf".
it doesn't start playing ! I tried, loadMovie,Play,MovieData etc etc.. nothing works. There's no error, no warning, nothing. That Flash object remains plain white. am not using try catch too. I'm on Vista Home Premium 32bit, Flash player 10, Flash ActiveX version 10. Tried re-installing player, activeX. its just not working! : any known issues am ignoring here? and same file works fine if I drag it in IE. and if I check Flash1's state, it shows playing.
Well I am trying to make a exe that shows a swf game(Club Penguin). When ever I run the exe and login to the swf game, A Internet Explorer Window pops up and its title has some javascript. After a few minutes the window closes and I get an error:Internet Explorer cannot download.Unspecified error.After this the game runs fine, But if I go to a room or something in the game, It does the same as above. (You might need to play Club Penguin in a Visual Basic Program to see what I mean.)
View 2 RepliesGood day all,A Flash movie that plays fine when opened in a web browser is playing slowly and choppily in my VB 2005 WinForm application on the same machine.
View 7 RepliesWhen I right click on the component area, a contextmenu appears.I want to disable this OR remove "Settings" and "About Adobe Flash Player..".I searched the internet for a solution,but almost all the suggestions were about the Visual Basic 6. Anyone knows how to correct this in Visual basic 2008 ? (And sorry for my English if there is a mistake )
View 1 RepliesI need to modify a button so that I can add a flash property which will flash the backcolor red.Along the lines of RedLightButton.Flash = true.I have the following
Public Class RedLightButton
Inherits Button
Private WithEvents FlashTimer As New Timer
Private isFlashing As Boolean = False
Public Sub New(ByVal ButtonText As String)
[Code]...
how to create flash in vb.net 2008?
View 7 RepliesHow to add flash files in vb.net 2008 project.
View 1 RepliesI have a program that I want to copy itself onto a USB flash drive or any other type of drive connected to the computer. Is it as simple as using the File.Copy method? Can I copy my own running exe?Basically I want them to copy it to a memory or external hard drive and then run it there on another computer. I'm not using any special controls and I know the framework will need to be on the computers it is run on.
View 1 RepliesI have problem to open Flash with my webbrowser..I am Using the flash 11 for Windows7, At IE It can run with no problem, it can start but still loading forever at my webbrowser... What Wrong?
View 1 RepliesI have read tutorials on using flash applets (*.swf) in VB 6, but I can't find the same component in 2008. I have installed Flash, but the flash component doesn't show in the toolbox. If this is impossible, an acceptable substitute would be to show HTML in the form. I have tried doing this with a WebBrowser control, but linking to the HTML file itself is unreliable.
View 2 RepliesIs this possible in vb ? I just want to make a button flash red and black.
View 13 Replies