IDE :: Crash When Using Application That Include Shockwave Flash Objects?
Jan 31, 2010making sure I have both AxInterop or whatever those 2 .dll files in the same area, i do.
View 1 Repliesmaking sure I have both AxInterop or whatever those 2 .dll files in the same area, i do.
View 1 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?
I have an application which has 2 WebBrowser controls inside(both with script errors suppressed if thal). The application involves navigating to the same url every 3-4 seconds roughly(when the browser is ready).After a while it will crash and tell me flash.ocx is missing and is not included with this version of windows(w7 and vista). I troubleshoot the problem and tells me to update flash which does no fix the problem. This crash only happens when I run the application outside of the IDE btw and I get no errors in the IDE.
View 1 RepliesI have an application that use in it the 'Interop.ShockwaveFlashObjects' assembly when bebugging everything works smoothly but when i publish the application all the Shockwave objects are not shown ????...what am i missing
View 9 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]...
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 Replieshow do we add a shockwave flash object to visual basic 2008
View 4 RepliesNo 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 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 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 Repliesi have a simple app of one form.on this form there is:
webbrowser -
axshockwavecontrol -
combobox -
[code].....
i made an application for serial communication. for this application i need to set delay time. during this delay time i m doing some other task. So for those task i need to take back control from delay function, for this purpose i am unsing Doevents() function.Its work fine On other OS (XP, Windows7 32/64-bit). But Application.DoEvents() function halt and crash in windows vista.
Private Sub TimeDelay(ByVal DT As Integer)
Dim StartTick As Integer
StartTick = Environment.TickCount()
[Code].....
I have recently implemented to following code on a good deal of my forms.
Public Overrides Function InitializeLifetimeService() As Object
Return Nothing
End Function
It has worked great to solve some of my odd application hangs when the application has been running > 1 week.However, when the user closes the program I now get an Application Crash screen.how to stop this? how to put it back to "normal" with a global variable?
Public Overrides Function InitializeLifetimeService() As Object
if readytoExit then
' Return... not nothing?[code]......
I have had afew people test my application and all of the 32-bit users are telling me it is not working.
Problem signature: Problem Event Name:
CLR20r3 Problem Signature 02: 1.0.0.0
Problem Signature 03: 4d9235a5 Problem
[code]....
I have a backup program that is currently running in our Corporate Environment on about 70 machines. A mixture of Laptops, Desktops and Windows (xp-32, vista-32, vista-64, 7-32-7-64) with no problems.
There is one exception, and it's the reason I'm posting here for assistance.On one machine that is a Dell Latitude running Windows 7 64 bit with .Net 4 Framework installed the console application will crash immediately before it starts Sub Main. It simply give the generic windows error "A problem caused the program to stop working correctly." with no option to see debug info.
[Code]...
I've got quite a big application and I've just started noticing that not all runtime errors cause an error.
for example if I call a function that executes an SQL query and the query string uses invalid syntax or refers to a field that doesn't exist then that would normally cause an error at runtime. But it doesn't - as soon as it hits the error the function simply returns to the caller.
If I enclose the code in a try/catch then the error is trapped but, while developing, I just want a good old runtime error but not getting one.
I made a application in VB.Net. But some users face crash upon startup. That is "A problem caused this program from working correctly" with just one button "Close the program". Since there are lot of things happening when the app loads
View 1 RepliesI created a windows application service that runs every 20 seconds to collect data from avaya cms and then dump it into a database. I did this using a timer. Since I had to have access to the clipboard to get the data and parse it, I had to be in STA. Unfortunately,just putting the STA before the Main() (or any other sub) did not keep the service in single thread mode. So I had to create a new thread and join it like so:
Public Class CMS
Protected Overrides Sub OnStart(ByVal args() As String)
Timer1.Enabled = True
Timer1.Start()
[code]....
I have developed a server-client application. The program has multiple users each uniquely login in with their credentials to the system. The problem arises when the application crashes, pc shuts/restarts, the user then cannot log in as it is showing is still logged in. This is true because the last code from the program, which logs out the users , is not run because the program crashed or the pc , that is intalled on, lost power. Is there a way to go around this problem. I cannot deploy the application until this is fixed. I have placed on application exit and on last form`s closing event to logout users. It still keeps them logged in in some cases as I already stated previously.
View 15 RepliesWell this question is related to use of Win32 API. I am trying to get text of a RichTextBox which is located in one of my text application. I am trying to use EM_GETTEXTEX message to collect the data.
[Code]...
I need to include a calendar in my application
the best thing would be to include an outlook like calendar with its functionality
i have no idea how where to begin.
I wanted to include an Enum of fractions in an application.
Enum fractions
1/8
1/4
3/8
1/2
End Enum
This produces a 'Statement cannot appear within an Enum body" Error.
Is there a way to make this Enum work?
I hv developed a vb2005 based win form application. I would like to include application registration module.The planned i/p fields are usr name, productID. Based on this two filelds a unique registration key will be produced.
View 4 RepliesHow can i include an external file in a XBAP application? For example a .dat file where i need to extract some data from? I want everything to happen inside the .xbap file, is that possible?
View 1 RepliesI was able to create an application in VB.net that talks to a SQL Server CE database.Now i want to deploy this application using the publish feature with clickonce.An issue im having tho is when I install the application on another computer it keeps looking for my sql server on my development pc.
Ive added the .sdf when i package my solution but its still an issue.How do I change my connection string to connect to the .sdf file that I included in the package? this is my current connection string which looks at the sql server: connectionString = " Data Source=CHRIS-PCSQLEXPRESS;Initial Catalog=ce_db;Integrated Security=True"