VS 2008 Code Causes Program To Crash

Oct 28, 2009

I realize the program as of now has no output, and that's fine. I have an ofdOpenDialog that I didn't include in this post as it seems kind of irrelevant, that part works fine, browse button to a path, outputs the path in a textbox for the users reference. I have the only user-entered text box set to on change: [code]But when I do this, the program just instantly stops responding. Is that a problem with my code or is the text file it's reading too big? ( Roughly 3-4000 lines.) I read somethign about a buffer once, should I set that larger somehow?

View 18 Replies


ADVERTISEMENT

Program Builded With VB6.0 - Run Uncertain Time - Program Will Crash - Oleaut32.dll Error Message (Error Code: 0x00048f9) In Event Viewer

May 5, 2011

The program has errorhandle and write log function, however, it could not catch the error message in the program.

The following error message in Event Viewer. Error Module: oleaut32.dll ,version 5.1.2600.5512, error code: 0x000048f9

View 1 Replies

VS 2008 Program Crash On Startup?

May 1, 2009

This program I made crashes on startup, I do not know what I am doing wrong, can anybody help me?
Here is the code Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Timer1.Enabled = True End Sub

Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
AppActivate("Chat Window")
Do
SendKeys.Send(TextBox1.Text)
SendKeys.Send((Chr(13)))
Loop
End Sub
End Class

View 6 Replies

VS 2008 Automatic Dump File For Program Crash?

Jun 1, 2011

I have a VB.NET 2008 program that crashes about once a month at a customer location. My log file does not include any clues of the crash, the program just dies with the infamous SEND / DONT SEND window.So I need to setup my customers so that in the event of a program crash, a DUMP file is created automatically, without any user intervention. Everything I read on internet indicates that the drwtsn32.exe program does that.

View 3 Replies

Detecting A Program Crash?

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

Program Doesn't Crash On Error

Jun 25, 2010

Whenever I have an error, the program doesn't crash. It just stop executing code. The error message goes to the debug window (which I can't see until I end the program). If I have a button for example I can still click this and execute the code inside it.

I never thought I'd be asking this, but how do I make my programs crash again?

View 4 Replies

Making Program To Watch For Server Crash?

Jun 22, 2010

i have been trying to make a program that should restart my server if it crashes. Just some few problems... it won't work.[code]....My problem is that when it notices the program runs, it won't do the process again, and just stop watching for the server crash.

View 2 Replies

VS 2005 Counter Causing Program To Crash?

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

VS 2010 Debug A Program Crash At Run Time?

May 1, 2012

I am working on a project in Visual Basic .NET 2010 on Windows 7 SP1 that previously ran fine in Windows XP SP3 but has recently started crashing immediately upon running the executable. I have made several additions/changes since the last time it was tested on XP, so it is difficult to pinpoint what might be the problem. (I commented out all of the start form's _Load event, which causes the form to load with no events triggered in the IDE, but the program still crashes in XP, so I suspect it's something other than my code, though I don't know what else could have changed to trigger it.)

[Code]...

View 15 Replies

Error Handling - Determine Which Line Causes A Program To Crash

Feb 7, 2012

I have created a vb.net program and released it to the customer. They are running the exe and at times the program crashes unexpectedly and display the message: "... has encountered a problem and needs to close" I know I should have added code to handle the exception, but is there a way that I can find out which line in the program caused the error? What is generally as good way to track errors in a program after it has been released?

View 1 Replies

Program Crash When Pass Datagridview To Other Form Using .showdialog

May 23, 2012

im using visual basic.net and this is my problem i have 2 form which have a two datagridview . when i update the datagridview in the form 2 its working fine and when i exit it in the form 1 its also update , but when im trying to to click again the edit button(from form 1) the program is automatically exit or crash.

the code from my form2 exit button

form1.showdialog
me.close
form1 edit button

[Code].....

View 4 Replies

Emails Going To Recepients Outside The Exchange Server Domain Crash The Program?

Mar 17, 2011

I've written a program that writes and sends spreadsheet attachments to our customers. Because our customers are outside the domain of the Ex. Server when it gets to the smtp.Send(oMsg) statement (see below)the program crashes.I can use a gmail account without incident but that's less than perfect.

Private
Sub Send_EmailMessageExchange(ByVal
_from As[code]......

View 3 Replies

Visual Studio 2010 - Diagnose Program Crash During Execution?

Feb 15, 2011

My program keeps crashing every time I try to run it on another machine other than my own dev system. It runs just fine on mine but crashes on everybody else's when I install and run it. To make matters worse, it only gives me the generic "[name here] has encountered a problem and needs to close. We are sorry for the inconvenience". So i never can find out why and where it is crashing!!!!

[Code]...

View 5 Replies

TCP Data Arrival Function - No Server Response The Program Starts To Crash And Doesn't Work

Dec 11, 2009

Im using TCP cliente to connect and receive data from my server. To read received data im using this code:

[Code]...

It works fine when server response is detected but when there is no connection or there is no server respone the program starts to crash and doesn't work, so i have to break the debuggind process.

View 2 Replies

VS 2008 Crash On Save

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

VS 2008 W2000 Crash?

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

VS 2008 System.invalidoperationexception Crash?

Apr 8, 2009

the program I am working on works fine on my machine and a coworkers. Today I installed it using click once on another coworkers machine. It works fine on my computer and the first coworkers, but immediately crashes on two other machines. part of the error signature that it wants to send to microsoft is P9: system.invalidoperationexception

I put a msgbox right at the beginning of the initializecomponent() call and it isnt even making it that far.

Users have most up to date .net on their computers.I am stuck big time and quite worried as my company is planning on everyone using this program.

View 1 Replies

2008 - Why Does The VB Compiler Crash After Move A Project

May 21, 2009

I'm migrating data from an old laptop to a new laptop, including some vb.net projects in visual studio 2008. But when I try to open some of them on the new laptop, I quickly get a dialog stating that the vb compiler has crashed and asking me if I want to close, debug, or check online for solutions. Visual studio then, frustratingly, closes.The projects don't crash when opened on the old laptop, and other migrated projects open without crashing. So it must be some property of the projects that becomes corrupted by moving them.

Error Details:

Problem signature:
Problem Event Name: APPCRASH
Application Name: devenv.exe
Application Version: 9.0.21022.8

[code].....

The old laptop is windows xp and uses visual studio professional. The new laptop is windows vista and uses visual studio team. The 'migration' was a straight copy paste of the source files.

View 2 Replies

VS 2008 Application Crash(flash.ocx With Webbrowser)?

Jun 26, 2011

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 Replies

VS 2008 Logout User On Application Crash

Mar 15, 2010

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 Replies

2008 - AxWindowsMediaPlayer In Usercontrol Makes VS Crash Instantly

Feb 15, 2010

I have a solution where I wanted to create a custom AxWindowsMediaplayer control. So I added a usercontrol. I added an axwindowsmediaplayer and then I added the control to my Form1. No problem so far. I use a Timer in the Usercontrol to make some sort of Fader. No problems there either. BUT I also added a few labels. In the Timer Tick I type the following lines:

[Code]....

View 9 Replies

VS 2008 - Properly Closing TCPClient So Server Does Not Crash

Jan 27, 2011

I have a simple tcpclient/server messenger running. Everything works great, except for when a client exits the software. When someone exits, is crashes the server with various exceptions and the server has to be restarted, as well as the clients. What I am looking for is a way to properly "log out" a client BUT leave any other connected client on so that is no break in the chat. Then the person that logged out or a new person can join back in whenever they choose.

CLIENT
''CHAT SERVICE
Dim clientSocket As New System.Net.Sockets.TcpClient()
Dim serverStream As NetworkStream
Dim readData As String
Dim infiniteCounter As Integer
[Code] .....

View 1 Replies

IDE :: Can't Open Code And Crash When Open Wpf Form

Oct 22, 2009

I'm try on Ultimate version and Express version. Reinstall many time from web install and offline install. What should I do ?

View 10 Replies

"external Component" Exception - Even The Simplest Windows Form Program Crash On Start When Starting For Debug (inside Ide, F5)

Jan 12, 2011

Had this matter on Xp machine and visual studio 2010 ultimate after windows update between december and january: even the simplest windows form program crash on start when starting for debug (inside Ide, F5) unless putting breakpoints on each line of the autogenerated (and marked as "debugger step thorugh") code.(see: [URL]) I was wondering if this matter affects only Xp machines, or if someone with Seven or Vista had same matter.

View 2 Replies

VS 2008 Adding Code Using The Program?

Jan 24, 2012

Today I'm facing the problem of adding code when the program is running.I know i can execute command, (like when i press button1 it does the command in textbox1) but I want the code to be saved.Using the setting or resource tab is not an option, (don't ask why).

View 2 Replies

Program That Downloads Code For 2008 Library?

Mar 3, 2009

Does anyone have a program that will find Visual Basic 2008 code and place it into an organized code library?

View 1 Replies

VS 2008 Building A Program From Binary Code

Oct 2, 2009

I'm just curious to know if there's any way to build my app. from its binary code. I just saw the thread of creating a program builder and got curious.

View 1 Replies

Authenticate Code And Password Login Program For VB 2008?

Sep 17, 2009

I have the Application program but I need an authentication program and password login program in VB 2008 , before starting my program.[URL]

View 2 Replies

Code For Dividing A Stopwatch Result By 60 Program 2008?

Feb 22, 2010

I have a stopwatch in my program. I start the stopwatch with the start button I created. When I stop it it gives the results of the time in a label that I have named labelTime. I have a Calculate button I have created. I also have a label I have named calcResult. I want to click the Calculate button and divide the stopwatch result (labelTime) by 60. I want the results of this calculation to be displayed in the label calcResult. I keep getting errors saying labelTime is a string value. I believe I will need my calcResult to be a Decimal.

View 20 Replies

VS 2008 - Code To Make My Program To Startup With Windows

Feb 15, 2010

I used this code to make my program to startup with windows it should add a registry entry:

Dim key As Microsoft.Win32.RegistryKey
key = Microsoft.Win32.Registry.CurrentUser.OpenSubKey("SOFTWAREMicrosoftWindowsCurrentVersionRun", True)
key.SetValue("MyApp", Application.ExecutablePath)

The problem is that it underline KEY and say declaration expected but shouldn't dim do the job for the declaration.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved