Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I use Flash 5 with VB6 and something weird happen !!!

Status
Not open for further replies.

annienatti

Programmer
Nov 27, 2001
2
TH

I developed application with VB6 and used Flash5 to enhance graphic interface. I added ShockwaveFlash control in VB6 and useed FDCommand action to interface with VB as the following codes

Private Sub Form_Load()

'Menu Flash
ShockwaveMenu.Movie = gbImagePath & "\MenuBar.swf"
ShockwaveMenu.Play

End Sub

Private Sub ShockwaveMenu_FSCommand(ByVal command As String, ByVal args As String)
If command = "SendValue" Then
Select Case args
Case "1": SelectSvc.Show
Case "2": SelectEng.Show
Case "3": SelectMdl.Show
End Select
End If

End Sub

There is Flash Menu in every forms. It's fine when I run from VB project but when I run from EXE file, sometimes the Perform illegal message occured and detail as following : _
PROJECT causes invalid page fault in unknown <module> at 00de = 00000000
Register : _
bla bla bla . . .

I spent 3 days but cannot figure out why.

Somebody help me please !!







 
Maybe try the Shockwave forum252!

Regards,
wink4.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top