|   
							 
								VBMagic - A tutorial to teach you everything about mixing VB and Flash, to do Magic!!   | 
							    |      |      |                      |           Submitted on: 7/6/2002 10:39:37 PM 
						By: Anoop Madhusudanan  
						 
						Level: Intermediate User Rating: 
			 
			 
			 
			 
			By 113 Users   Compatibility:VB 4.0 (32-bit), VB 5.0, VB 6.0
  Users have accessed this article 16588 times.   |    (About the author) |  
  |          |   |                 This tutorial (with source) is for you, just if you need to add a new dimension to your VB Skills. Break out from those old looking forms and sleepy dialogs, mix VB with Flash to create wonders. Vote for me just if you find this one useful (you will :)). Most of these concepts are from my own experiments and experience. Create great looking skin able apps (with remote interfaces), cool e cards, presentations, and you name it :). See the screenshot below, and download the code. Commented well, easy to follow - motivate yourself and start now..         |    | 
  | 
|   | 
            Terms of Agreement:    
	 By using this article, you agree to the following terms...    
	 1) You may use 
	 this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.    
	 2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.    
	 3) You may link to this article from another website, but ONLY if it is not wrapped in a frame.  
	 4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.   |  Learn step by step.. 
- How to load a flash movie to the
shockwave control?
 - How to handle a flash button click
event in VB?
 - How to Read a flash textbox from
VB?
 - How to write to a flash textbox
from VB?
 - How to implement/handle advanced
controls like combos, checkbox in flash?
 - How to trigger an action in a flash
movie from VB?
 
 
This one has it all.. Good bye VB buttons
& forms, Flash power is here.. Experience it, Get Going, and enjoy. And vote
for me please, it is a day's work. :) 
     Download
    Code
  
     |    | 
   Other 11 submission(s) by this author
  | 
   |   
|   | 
| Report Bad Submission | 
   | 
 |   | 
| Your Vote! | 
| 
See Voting Log  | 
|   | 
| Other User Comments | 
7/7/2002 1:40:19 AM:Peter Wilson Nice, clear commented code.  Very clean 
and easy to understand.  Good, simple 
demos of practical value. Well Done 
(4/5)  
  | 
7/7/2002 4:34:28 AM:ShaDoWsToRmEr Awesome example thanx! Will improve my 
projects alot now. As always your code 
is great and I will continue to look 
for submissions by you. 5 globes.  
  | 
7/7/2002 5:32:55 AM:roswellevent Very Nice Code!
5 from me :)  
  | 
7/7/2002 7:07:31 AM:Walter Brebels Great code, verry well commented, like 
always you write excellent tutorials, 
but do you perhaps now some good flash 
tutorials?  
  | 
7/7/2002 7:08:07 AM:John Kapodistrias keep them coming!!!!  
  | 
7/7/2002 9:14:28 AM:Roberto The BEST!!!!!! WUAOOOOO!! :)  
  | 
7/7/2002 11:49:32 AM:Dondata Hmm...
If you are so crazy with flash, 
why not just trash VB??
Flash can 
make stand alone .exe´s you know?  
  | 
7/7/2002 12:11:22 PM:Stephen dont trash vb, yes flash is great, but 
its even more limited than vb!
but 
flash is my choice for animation 
programs.
great code man  
  | 
7/7/2002 1:14:21 PM:EJ T Nice. 5 stars
  
  | 
7/7/2002 1:15:51 PM:EJ T FYI: Flash can not make Ture .exe's. I 
only dubs and intrupter on a flash file  
  | 
7/7/2002 1:23:52 PM:Anoop Madhusudanan Nice conversation going on about Flash 
and VB?.. lol. I don't wanna thrash VB, 
coz I'm using it for 4-5 years. Oops, 
I'm not 'crazy' or anything about Flash 
either :). Let me put it this way.. 
Flash is great as a cool, light weight 
interface designer- and VB is great as 
a RAD. Both of them are for different 
purposes, and hence, a comparison 
itself is out of scope. This tutorial 
is to teach you how to combine both, to 
add a new dimension to your VB 
applications. Enjoy  
  | 
7/7/2002 3:21:57 PM:Martin Great job. Clear and well commented. 
Keep up the good work.  
  | 
7/7/2002 11:02:01 PM:Chee Teng Ching Nice code, gread work, I have been 
thinking of doing this for quite some 
time, your code is just what I need. 5 
globes from me. Keep up with the great 
work.  
  | 
7/8/2002 12:15:07 PM:Steve E. Thanks for the tutorial.
5 From me.
  
  | 
7/8/2002 4:14:55 PM:Anoop Madhusudanan Oh.. this one moved right up to the 
second place for the coding contest, 
just with in two days.. you guys made 
me responsible to publish the second 
part of the tutorial ;). I'll do it 
soon - and thnxxxx everyone.  
  | 
7/8/2002 7:22:16 PM:Normand Great code  
  | 
7/8/2002 7:39:51 PM:dosamantes Nice work. 5 from me. Thanks for 
submitting. Be happy.  
  | 
7/9/2002 6:02:38 AM:Jinu Thomas Fantastic . Great Work.I'll give 5 
star.
(Ofcourse, 5 star  chocolate 
too.)  
  | 
7/10/2002 5:05:44 AM:ShaDoWsToRmEr I'll definately be looking forward to 
part II  
  | 
7/11/2002 7:39:22 AM:Nick The best example of Flash integration 
with VB i've ever seen. I look forward 
to you updating this.  
  | 
7/13/2002 12:12:28 PM:pazos Hi
Great, I was thinking in create 
something with this two, your code 
teach me the way. You havefrom me the 
five stars.  
  | 
7/13/2002 9:27:52 PM:Arvin It's great!!! you'll get 5 from me  
  | 
7/19/2002 2:58:26 PM:Elias Barbosa Nice work!
I am a Visual Basic 
programmer and a good Shockwave 
author.
I will put good use to this 
code.
Thanks for sharing.
You, 
obviously, got 5 planets!
  
  | 
7/22/2002 10:12:03 AM:u-1 I love it too, realy easy! Would it be 
possible to add TOOLTIPS? If so, how? 
Thanx.  
  | 
7/24/2002 12:25:21 PM:toXic 87 great Stuff!!!! and well comented  
  | 
7/27/2002 9:08:40 PM:stephen Very nice work! Thanks for sharing!  
  | 
9/18/2002 2:56:49 PM:Dagaar FANTASTIC !!!  I've been looking for 
source like this FOREVER . . . 
everytime I did a search I came up with 
aenemic samples . . . you've not only 
provided the source and samples but a 
full blown (far from aenimic) Tutorial. 
 I've been moping around the Flash Pool 
for the longest . . . with the yearn 
but not the will continue exploring 
Flash and learning the app because of 
this integration obstacle that I'd run 
into . . . you've revitalized the 
effort . . . .
Eternally Greatful . 
. . if there is any way for me to show 
my appreciation via Patronidge or 
anything else Pleeese let me know . . . 
. 
Oh and by the way . . . thanx 
Planet-Source . . . luv you 
guyZ
DaGaaR  
  | 
11/12/2002 4:42:39 AM: Very Nice code, I've been studying 
FLASH for 4 days now and I'm getting 
the hang of it, I'll check this out 
first, but i'm already giving you five 
planets because i'm interested with the 
topic. THANK YOU!  
  | 
11/13/2002 1:57:29 AM: Very nice and very good work! Thanks 
for sharing! good ducumenteed too 
!!!
5 GLOBES from me.  
  | 
11/19/2002 3:43:51 AM: nice stuff keep it up. can u gmme me 
hand in ma project? my email is 
benkaesa@yahoo.com  
  | 
1/20/2003 8:14:08 AM: nice CODE 
o(O_P)o ...keep on learning  
  | 
1/31/2003 10:56:50 PM:kclim very good! i've never thought of 
intergrating vb with other 
program...
thank you!  
  | 
1/31/2003 11:14:51 PM:kclim btw, i wish to ask about the 
swflash.ocx control which is not 
shipped with ur zipfile.
can i 
download it somewhere else (is it 
free)? 
can i distribute it to my 
customer along with my vb 
program?
where should i get the 
license ?  
  | 
2/3/2003 9:54:18 AM:Craig Harris Nice, simple and clean code, Well Done 
!!!!!  I would give 10 if i could  
  | 
5/1/2003 9:47:25 PM: Coolness! Definitely 5 from me. Do you 
know if Swish 2.0 can be used to do all 
the Flash stuff I need? If you find 
out, let me know. I'll do the same. 
Ciao for now, =B-)
  
  | 
5/11/2003 5:27:30 PM: please help me to make this 
what 
i want is to:
1- send an fscommand 
from flash that contains 
e.g."1.txt".
2- send another fscommand 
that contains e.g."hello world".
3- 
then, i want VB to create a text file 
called "1.txt" and
   contains "hello 
world".
briefly, i want to create a 
text file using VB, while the text 
file's 
name and content are sent by 
flash..
N.B. the text file's name is 
going to change each time.
my email 
micheal_nabil@hotmail.com
please 
send me the file which does so..
could 
any1 help plzzz!!  
  | 
 | 
    |   Add Your Feedback! |   
    Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.
  NOTICE: The author of this article has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.
  For feedback not related to this particular article, please click here.     |   
   |