A Simple Question

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
9 posts Page 1 of 1
Contributors
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

A Simple Question
hungryhounduk
H All
"My mind has gone Blank" :?

I have a Form and as it Loads I want it too Display a "Flash" Movie without clicking any buttons to launch it
I know i add the Shockwave Flash Object to the Form and my "Flash Movie" in my Resources, But my mind is Blank as to the code i add to "Load" to attach the Movie at Runtime :oops: :oops:

Can a Kind Soul Enlighten me cooll;

*As i think i am having a Senior Moment idoit; hehaho;

Cheers

Chris
Image
User avatar
TechSoftware
New Member
New Member
Posts: 12
Joined: Sat Jan 09, 2010 3:27 pm

Re: A Simple Question
TechSoftware
Code: Select all
AxShockwaveFlash1.Movie = my.Resources.your movie name

Maybe this works
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

Re: A Simple Question
hungryhounduk
Hi TechSoftware
Thanks alot cooll; wahooo;

"Its amazing how such a simple piece of Code can confuse me at the best of times"

Cheers

Chris
Image
User avatar
TechSoftware
New Member
New Member
Posts: 12
Joined: Sat Jan 09, 2010 3:27 pm

Re: A Simple Question
TechSoftware
your welcome
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

Re: A Simple Question
hungryhounduk
Hi TechSoftware
I am afraid that does not work

It says value of of Type 1 diamensional array Byte cannot be converted to String

Chris
Image
User avatar
TechSoftware
New Member
New Member
Posts: 12
Joined: Sat Jan 09, 2010 3:27 pm

Re: A Simple Question
TechSoftware
can you give me a flash movie and i wil try it
GoodGuy17
Coding God
Coding God
Posts: 1610
Joined: Mon Sep 07, 2009 12:25 am

Re: A Simple Question
GoodGuy17
Try putting the Flash movie in the same folder as your program and then use this in Form_Load:
Code: Select all
AxShockwaveFlash1.Movie = "DIRECTORYOFMOVIE.swf"
User avatar
Harlem9191
Top Poster
Top Poster
Posts: 87
Joined: Mon Jan 18, 2010 8:45 pm

Re: A Simple Question
Harlem9191
Make sure Autoplay is set to true if you want it to run without clicking any buttons.
User avatar
alex6848
VIP - Donator
VIP - Donator
Posts: 201
Joined: Sat Jan 16, 2010 10:26 pm

Re: A Simple Question
alex6848
thanks
Free Facebook Page Likes - http://fbliker.tk/?ref=gillis
9 posts Page 1 of 1
Return to “Coding Help & Support”