|
-
Jul 10th, 2006, 11:48 AM
#1
Thread Starter
Junior Member
[RESOLVED] to embed or not to embed, that is the question
I have a flash.exe that calls a vb.exe via fscommand. This works. However, i need the vb.exe to catch other custom fscommands which will be executed via a sub in the vb.exe. Is this possible? When the flash.exe is embedded in the vb.exe, I have no problems except i cant show the flash.exe in full screen. it appears to be limited by the component container size on the form. When i have the flash.exe as a standalone it will play fullscreen no prob, but the vb.exe doesnt seem to catch the fscommands.
Quite simply:
1. flash.exe embedded in vb.exe = no fullscreenflash/ but functional = not acceptable.
2. flash.exe as standalone calling vb.exe = fullscreen flash / not functional = not acceptable.
What i need is:
flash fullscreen calling vb.exe and receiving fscommands and sending to sub in vb.
OR
flash fullscreen embedded in vb.exe to receive commands and send to sub in vb.
all of my communications are FLash ->VB.
I hope that is clear. I appreciate any help i can get.
FYI: I am most curious about the ability of standalone flash.exe to send fscommands to a standalone vb.exe, and how those are caught by vb.
-
Jul 10th, 2006, 12:28 PM
#2
Re: to embed or not to embed, that is the question
you can go full screen with the form...
make the form borderless..
then in form load
me.Windowstate = vbMaximized
then in form Resize...
Flashplayer.left = 0
Flashplayer.top = 0
Flashplayer.width = me.width
Flashplayer.height = me.height
hows that?
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jul 10th, 2006, 12:40 PM
#3
Thread Starter
Junior Member
Re: to embed or not to embed, that is the question
i follwed you to the form resize part. is this done from the proerties window? or is there a form_resize coding model i can work from? I have played with the sizing in properties and have gotten the component window as fullscreen with respect to width, however there is still a rather dull gray bar at the bottom. The form is in fullscreen on launch. I appreciate your help. But i need a bit more info.
-
Jul 10th, 2006, 01:09 PM
#4
Re: to embed or not to embed, that is the question
in the properties window .. for your form
Set BorderStyle = 0-None
then this is the code in the form.
VB Code:
Private Sub Form_Load()
Me.WindowState = vbMaximized
End Sub
Private Sub Form_Resize()
'Rename Text1 to your Flash Control name
Text1.Left = 0
Text1.Top = 0
Text1.Width = Me.Width
Text1.Height = Me.Height
End Sub
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jul 10th, 2006, 01:28 PM
#5
Thread Starter
Junior Member
Re: to embed or not to embed, that is the question
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
|