Missing Components Causing Crash
May 31, 2009
I am running into problems with my compiled .exe on other machines. On some computers it works, on others it doesn't (all using Windows XP with the .NET framework installed). When I run the .exe on some computers it crashes right away and hits the 'Send error report' dialog. On others it runs just fine. I'm pretty sure this has to do with missing components, but how can I fix it so it works for all computers? How do I find out which components are missing?
View 29 Replies
ADVERTISEMENT
Aug 31, 2010
I 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]....
View 1 Replies
Mar 31, 2010
I'm not sure what I am doing wrong with counters using a delay but it keeps causing my program to crash. I am trying to use a try/catch for a IO exception involving filename already existing. I have a stored procedure that deletes the file from the directory but if my VB code tries to put the same file there it is supposed to encounter my try/catch and run the counter for a pause time until the file is deleted. Well each time it reaches the counter through debugging or not my main program (windows form) just hangs up and becomes unresponsive. I have tried waiting and stepping through/over the try catch but it still remains locked up.
[Code]...
View 3 Replies
Feb 28, 2012
Well 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]...
View 7 Replies
Oct 28, 2010
I am using a old version of VB Express 2005 probably downloaded in around 2007. In this old version there is no Web Components. Because of my old pc i would like to stick to his version for sometime. Is there a way to get this components? In Express 2008 the web components are there.
View 2 Replies
Oct 9, 2009
Our automatic crash-report system has started sending in more and more reports of this kind of crash[code]...
I was under the impression that Arial is supposed to be available everywhere on Windows, and, when a Font cannot be found windows would revert to another font+style that does exist.
What is the correct way to handle this? My app needs to define a number of standard fonts for different display elements. So far I've hardcoded Arial, Courier New, Comic Sans Serif and Times New Roman and I've been getting crash report for all of them.
View 1 Replies
Aug 12, 2011
Am I the only one missing components? I am using VB 2010 and keep trying certain tutorials on videos while learning, and I have now come across 3 components they show in the tutorial but are not in my list. The 2 I am most needing are
[Code]...
View 5 Replies
Feb 15, 2012
I am trying to export a report but everytime it runs the code to export the crystal report in the crystalreportviewer I get an error message saying "Missing Parameter Values". I've looked through many sources but havent found a solution. I do know that all parameters are filled in because without the export code, the site runs perfectly fine.
Export code
Try
Dim CrExportOptions As CrystalDecisions.Shared.ExportOptions
[code].....
View 2 Replies
Feb 26, 2010
Still trying to become familiar with SQL, and very comfortable with VB.NET. Trying to develop an application for a user to pass a value into a stored procedure.
View 5 Replies
May 12, 2010
I have written a very small windows console application that got uploaded to an internal company portal. Basically this thing only looks for a registry key and if it doesn't find it, then it creates it. After that it populates a String value and exits. My issue is that when I provide this tool to our L2 support group they put it on an intranet portal.
View 2 Replies
Dec 5, 2011
I have a long running (kiosk display application) WPF vb.NET App which is crashing after about 15 hours.
I've tested it twice, it's crashed almost at the exact same time.
I have no idea where to start.
View 1 Replies
May 20, 2009
I'm using VS2005. On my old Win XP AMD computer, I developed a stock price chart in VB.net which I could scroll left/right with Hscrollbar. However my old PC failed due to faulty AMD motherboard. Now I'm using an Intel PC with Win XP and same VS2005. My VB.net solution has compiled and runs as it did before - with this difference. Sometimes my scrollbar flashes and sometimes it doesn't. Another thread mentioned "too many controls causing flicker" - but my Form does not have many controls on it. I can't find a property that mentions "flashing" when I search the scrollbar class members.
View 10 Replies
Aug 5, 2011
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]......
View 1 Replies
Jan 5, 2011
Maybe a strange question, but I need to test the stability and error procedures of the host process (caller) that accesses COM objects. Therefore I need some easy/short methods to let the COM object(s) crash itself.
Addition 1: With crash I mean the type of crash that can take the caller down also.
Addition 2: I own both the code of the caller as the COM server.
View 3 Replies
Jul 30, 2010
I'm currently trying to send the SB_GETTEXT message to a status bar, but it always crash and I don't why (the SB_GETTEXTLENGTH works fine, but not the SB_GETTEXT). Below is a VBA code I tried to use in Excel to read the status bar text of Worpad. The first code using WM_GETTEXT works well, but the second code that uses SB_GETTEXT always crashes.
'------------------------------------------------------------------------------------------------------------------------
' VBA - Excel 2007
'------------------------------------------------------------------------------------------------------------------------
'API & CONSTANTS declaration
[code]....
View 5 Replies
Mar 23, 2009
I've made a client beta software in VB and use ClickOnce to install/upgrade clients. Everything works OK until I upgraded to .NET 3.5 SP1 and implemented SQL Server Compact 3.5.All clients got an upgrading error. The solution was a reinstall from the download page. All clients works OK exept one; The client crash on startup on a Vista 64-bit PC. I cant' find the error?Tool/platform:VB / Visual Studio 2008 SP1.NET Framework 3.5 SP1The following prerequisites are required: * Windows Installer 3.1 * .NET Framework 3.5 SP1 * Microsoft Visual Studio 2008 Report Viewer * SQL Server Compact 3.5 Morten Dahl
View 1 Replies
Mar 29, 2011
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]....
View 2 Replies
Oct 9, 2010
Basically, I have a Web Browser object on a Visual Basic form. However, about 5 seconds after it finishes loading ANY webpage, the entire program stops responding. I figured the issue was related to internet explorer, so I updated to Internet Explorer 9 Beta and the issue is fixed (this is a very strange fix)!!! However, Internet Explorer 9 is not available for Windows XP. what might be causing this and a possible solution for computers that are running XP?
View 1 Replies
Jul 30, 2008
The scenario is this: VB.net 2003 connecting to access 2003 using Jet 4.0 SP8 and MDAC 2.7 SP1.On a particular client machine with XP SP2, while trying to fill a dataset it crashes fantastically without ANY error message. the exe just disappears from the task manager.I use a Module to launch the MainApp form, if I try to connect within the Module BEFORE calling the:
Code:
dim MainApp as new MainApp
application.run(MainApp)
...the datasets work normally, but if I do it inside the Form_Load (or anywhere inside the form) it presents the previously mentioned fatal crash.I have updated the clients machine with the SP1 for .NET 1.1 with no luck.Now, in a desperate attempt, I have installed VB.NET 03 in the client machine and with the dev env it works fine, but if I try to run the executable from outside, it crashes again. No error message from the exception handling inside the app, no unhandled errors from the framework or the OS, it just vanishes from the task manager.I tried to reinstall MDAC and Jet but the installers find the previous files and won't update with the new ones. Tried also reinstalling .NET framework and the error persists.
View 3 Replies
Feb 24, 2010
I have an Access 2007 database that runs constantly, the form on the database basically runs a timer every 10 seconds and runs a Macro. The problem I have is that when the backups run at night the network connection the database is on disconnects for the backup, so the database crashes with the error.
"Your Network Access was interrupted. To continue, close this database, and then open it again."
What I would like to do is create a small VB Application that runs on the machine that the database runs on, detects when the database has a problem, closes down the database process then restarts the database.
View 2 Replies
Feb 19, 2007
We have one user who has run into problem on this CilickOnce win app today.When she clicked the Install button on the publish.htm hosted on the network, a message said:dfsvc.exe has encountered a problem and needs to close. However the app still launched when she clicks any button on the pop up message box, then later crashes in a crystal report viewer with system.reflection.target invocation exception if she enter that particular area.I googled dfsvc.exe. Some posts said it is a virus while others said it is ClickOnce engine. I have many other users who are on the same version and are running the same OS settings without any of the above mentioned trouble.I am not sure if the dfsvc.exe error is related to the reflection eception or not.
View 9 Replies
Apr 20, 2010
There is a bug report [URL] on serious problems that can occur if you are using a USB to serial port converter and the user pulls the USB while the serial port is in use. Apparently the bug is still present in VB2010, and Microsoft still has the bug closed.
View 1 Replies
Oct 21, 2007
Recently one of my clients started experiencing a very unusual problem. When they try to print from the program I developed their whole system crashes without any error messages or warnings. This problem started recently (they have been using this software for over 2 years).
I used VB.NET 2003 (.NET Framework 1.1) to develop the software, my clients have Windows XP Pro. At first I thought that the problem was in their printer driver. I contacted their IT department and after several weeks of testing they conlcluded that the problem is somehow related to my software (this issue never happened when the client is printing from any other program). To print, I have created a group of classes that create and print reports. The main class subclasses PrintDocument then I use PrintPreviewDialog to display the preview and give the client the option to setup page settings, etc. The code runs without problem on my development machines and up until recently without problem on the client system as well. I did intall an upgrade recently that was related to printing, but all I did was to modify the print output, the upgrade did not modified any of the printing functions.
I tried to find information on the Internet, but coudln't find anything. I wonder if migrating the solution to .NET Framework 2.0 will solve this problem?
View 4 Replies
Jul 20, 2010
whenever I save anything in it, VS crashes it doesn't seem to matter what file I save in any of the projects within.It also seems to actually save all the files; just crashes when it's done is my guess...
View 2 Replies
Feb 16, 2010
All of a sudden my exe crashes before I even get to see the first form. This seems to only happen on Windows 2000 PCs.
View 9 Replies
Dec 7, 2011
I am having an issue with the SQLCommand query update handling apostrophes. I have a gridview that accepts edited text which might have apostrophes and other such accent characters.The UPDATE keeps throwing errors on the apostrophes in the text entered causing the SQL UPDATE to fail.
Here is the code:
Dim lbl1 As Label = GridView3.Rows(e.RowIndex).Cells(0).FindControl("Label1")
IDVal = lbl1.Text
[code].....
View 3 Replies
Aug 29, 2010
I have a background worker that's checking the status of four services on a remote server.This is setup on a timer (5 Seconds) as below. For some reason it's hanging the UI thread causing the application to 'lock' for a second each tick, I cannot work out why?!
Private Sub ServiceTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ServiceTimer.Tick
_ServiceBGWorker = New System.ComponentModel.BackgroundWorker()
[code]......
View 2 Replies
Jul 21, 2010
Why am I getting an InvalidCastingException at the ".RowCount = 2" line?
Private Sub frmTesting_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
With DataGridView1
.RowCount = 2[code].....
View 1 Replies
Oct 11, 2011
I am currently programming a complicated inheritance structure for an Insurance Application. One DLL has classes that can be used and inherited from. DLL Two has Classes specific for our Auto Line of business, however when i attempt to use Object 2 from a Web Application it errors out because one of the classes is ambiguous because it appears that DLL Two inherits a class from DLL One which appears to pull in the entire inherited class. Since the Web app has a reference to both DLL One and Two, One has the class, Two seems to also have it and so compilation errors out with an ambiguous class in the same namespace.
To attempt to get more specific ill try a quick run down.DLL One - PGPolicy.dll contains standard classes with properties and methods needed for every line of business such as:
Policy, Name, NamedInsured, Unit
DLL Two - PGPolicyAuto.dll contains the following Auto specific classes:
Vehicle Inherits from Unit
Driver Inherits from Name
Since PGPolicy.dll contains classes needed by all lines of business and PGPolicyAuto.dll has more specific classes for the Auto line of business, the web application references both of them. The problem is that since Driver inherits the Name class, it appears to create a Name class in the same name space that the PGPolicy.dll has the namespace in, which gives me an Ambiguous class "Name" in the PG.Policy Namespace.
View 10 Replies
Mar 9, 2010
We are trying to implement Source Control with Visual SVN, Tourtoise, and Ankh. All works well once a project is placed in the repository. But, when you try to open a project stored on your local client, that is not stored in the repository, Visual Studio freezes up. (VS2008)
View 1 Replies