Software Developed Hanging And It Is Giving Exceptions?

Sep 22, 2011

software developed in vb.net(communicating with serialport) hanging and it is giving these rexceptions 1.The device does not recognize the command2.Unhandled exception has occurred in your application. If you click continue, the application will ignore this error and attemptto continue. if you click Quit, the application will close immediatly

View 1 Replies


ADVERTISEMENT

Exceptions Must Be Exclusive - Exceptions Will Ever Occur Simultaneously ?

Dec 26, 2009

I've just skipped around a few inbuilt VB classes' methods which throws exception. of all that i've came across, methods may throw multiple exceptions but ALL of them are exclusive, meaning there is no way 2 exceptions will ever occur simultaneously, yea and i was trying to make my class throw 2 exceptions simultaneously, hence this question, must all exceptions be exclusive?

View 1 Replies

Beta 2 Just 'hanging' Install?

Nov 5, 2009

Is anyone else having or know of an issue with VB2010 Beta 2 just "hanging" on the install? I can find no documentation anywhere through searches.

View 5 Replies

VS 2008 Form Hanging?

Feb 20, 2010

I have a visual basic program wherein i fetch information from two textboxes format the output of the textbox in the required form and then make the output come as desired I use two arrays to read textbox 1 and 2 separately and then i use for .. next statement to perform the same action for all the lines in the textbox 1 and 2..

Both of them have equal no of lines..I have also give a progress bar in the form and assigned the max value as the number of lines and i have given the incrementation within the program for the progressbar..

When i run the program it runs quite well for certain instant of time and the progress bar also responds according .. After some interval of time the form hangs and the progressbar also hangs at that place..Later after some more time the form is back to normal and the process is in finished form with progressbar at 100%..

Is there any reason why the form hangs..If there was a major problem i must have not got the output at all but i do get the output after certain interval of time..Can this problem be solved??

View 1 Replies

VS 2010 Program Keeps Hanging

Apr 16, 2011

I made a program that backs up data from the My Documents, Favorites, and Desktop folders on Windows XP to a server. When the data is brought down from the server, it brings it down in Windows 7 format. So, for example, the directory to My Documents in Windows XP is "C:Documents and SettingsusernameMy Documents." The same directory in Windows 7 is "C:UsersusernameDocuments."Everything works fine in terms of putting files and folders in the correct directory, but when bringing the data down from the server, the program sometimes freezes up and doesn't ever seem to get out of that state. It also makes the computer very slow and unresponsive after a while. Does anyone have any idea why this would occur?

Below, I have a code snippet of my copying code. I include a sleep command and a DoEvents command to halt the thread for a very short duration of time in order to make the UI more responsive.[code] I believe I may have to use some multi-threading to get this to work properly, but I've looked it up and cannot find out how to implement it in my program.

View 6 Replies

Application Data Grid Keep Hanging

Jan 6, 2010

I have a datagrid which receives updates for every 1 minute from the database. Whenever it gets update my whole form gets freeze and I cant do anything. To add on when first I log in also the log in page gets freeze because the form is being loaded during the first time.

View 1 Replies

UDPClient Hanging When Using BeginReceive And Nothing Is Received?

Jul 6, 2011

I am using the following code to receive data from a Public Address Controller.the programme sends data...waits for a reply....send more data...waits for a reply..etc.

[Code]...

is there some way of cancelling the BeginReceive after a delay so that the programme can carry on and inform the user that something is wrong and terminate gracefully?

View 8 Replies

Url Checker Function Is Hanging Application

Dec 17, 2011

Here is vb.net 2008 code is: Public Function CheckURL(ByVal URL As String) As Boolean

[Code]...

when a url is processing in checking it hangs my application for a while. Is this possible it checks smoothly all url list without hanging my application.. Is there any other fastest way to check urls? Note: I have about 800 urls in file to check all links a valid by website responce or not.

View 3 Replies

Using Namedpipes In 2008 Vb .net - Peek Is Hanging?

May 6, 2009

Creating an application that uses both namedpipes and TCPIP connectivity to pass data between 2 legacy applications.
When there is actual data to pass everything works great. But when the application is looking to see if there is any data to read from the named pipe side and there is no data, the Peek hangs until there is data. Is there a problem in the way I have it coded or is there a timeout that needs to be set?

Code:
'
' declarations
'
Private in_pipeName As String

[code]....

View 6 Replies

VS 2008 Hanging Brush Under The Cursor

Aug 31, 2011

I would like to place a brush under the cursor as I move the mouse around a picturebox, so the person can see what they lay down when clicking. How could I do this. I am working on a custom scribble application.

View 1 Replies

.net 2010 Windows Forms Application Hanging?

Oct 12, 2010

I have a windows forms app (32 bit) written in VB2010 which occassionally hangs in windows when minimised to the task bar You click on the icon on the taskbar and it will not come back up on the screen

No other modal forms are open in the application when the hang occurs Other programs respond OK

I ran Process Explorer against when it was Hung but do not know how to interpret the stack page, or even if it is helpful STack page with my application selected and Threads tab selected with CSwitch Delta column sorted descending. Then double clicking the top entry (my application .exe)

Note: This is running on an x64 machine, but also hangs on x32 machines

[Code]...

View 6 Replies

VS 2008 Threading + Form.Show() Hanging?

Feb 23, 2010

I'm not sure how to explain what's happening but it seems to be deadlock, i did search along the forum and actualy did find who had the same problem as i did. Unfortunatly i'm too new to this Threading and could not understand why does this deadlocks happen or how to avoid them.I'm using the following

Dim t As New Threading.Thread(AddressOf MyTestingSub)
t.Priority = Threading.ThreadPriority.BelowNormal
t.IsBackground = True

[code].....

View 6 Replies

Webservice Hanging When Kicking Off Backgroundworker (asynch)

Jan 15, 2009

I am new to the forum. This looks like a cool site! I have a bit of experience in VB .Net, but not with threads or backgroundworker processes. I am sorry that the description is so long, I tried to make it as short as I can, but it is rather complicated. Here goes:

[Code]...

View 2 Replies

.Net 2008 IDE Hanging - MSVB7.dll Eating 100% CPU When Editing Code?

Mar 26, 2010

Edit 1: Uninstalled & Reinstalled Edit 2: Same problem. Seriously? Yes.I am having a problem with msvb7.dll eating 50%+ cpu on my dual core system. This usually lasts 10-30 seconds or so, during which time the IDE is non-responsive.

This occurs when I do pretty much anything in the text editor, and can be replicated by simply adding blank lines to a function, and then deleting them. Or pasting some code. Or... lotsa stuff.

SP1 installed I had DevExpress' refactor/coderush, components, and codeit.right installed, but have removed all 3 of them. (I had installed the latest version of Refactor Pro! (9.3.4), perhaps the day before)

I have tried a VS.NET Repair. There is a kb that referenced some cpu destroying with vb, but it was included in SP1

[Code]...

View 3 Replies

Doing Work In Separate Thread To Prevent Form From Hanging

May 9, 2011

I have a really simple form with a button that fires a Sub I created which gathers data from ActiveDirectory and adds it to an Excel Sheet. The problem is, when I click this button the whole form hangs. So I figured the operation that gathers the data and adding it to the Excel sheet should be run in it's own thread, so that the form won't hang. Possibly it would be great to add a progressbar as well. The progressbar however is located at the Main userform that starts up once the projects is run.

I've got one MainForm.vb and one CodeFile.vb. I want most of the code in the CodeFile.vb so it's tidier.
MainForm.vb
Imports User_edit.CodeFile
Imports System.ComponentModel
Public Class MainForm
Private Sub btnImportData_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnImportData.Click
[Code] .....

Notice the ExportFromAD Sub I've got in the CodeFile.vb. This is what is actually doing the work. In the For each loop that adds data to the Excel is where I've put the MainForm.MyBackgroundWorker.ReportProgress(i * 10). Problem is, it doesn't actually update the label on the form. Which I find pretty weird because the form isn't really hanging or anything. Is it trying to access a different thread or something? Meaning, the form is run on it's own thread which can't be accessed from my second thread?

View 2 Replies

Troubleshoot Visual Studio Which Is Hanging When Loading ASP.NET MVC Project?

May 3, 2012

Yesterday I worked on an MVC 3 project in Visual Studio 2010 and then shut down Visual Studio before leaving work.This morning when I try to load the same project in Visual Studio the project hangs. I have restarted my computer, disabled all add-ons and extensions that I could. Still no banana.I would try to clean the solution if I could get it to load but I can't.

View 2 Replies

Is VB Developed On The Same Scale As C#

Jun 27, 2012

I know VB is still very popular, but does Microsoft put the same effort into developing VB as they do for C#? Will VB eventually fade away?

View 3 Replies

VS 2005 - Setting A Hanging Indent Using Full Word Automation

Oct 24, 2009

Setting a hanging indent using full word automation. I am using word 2003 and vb 2005. I am inserting paragraphs in the document and I am having some difficulty getting the whole paragraph to indent.

View 8 Replies

Windows Forms Application Hanging Regularly On Some Client Computers?

Nov 19, 2010

I have a vb.net 2010 windows forms application (32 bit) which is hanging regularly on SOME computers, mainly when minimised to the task bar

View 6 Replies

Developed A Form Cf Using Sqlce?

Nov 10, 2011

First off I would like to apologies for multi posting as I posted this on the SQL forum but someone did suggest putting it here. Here is my problemOkay have developed a form in vb.net cf using sqlce. I know this is the vb.net section but I feel it's a data issue. I have a table called STORES which has a primary key of two columns (ST_STORECODE & ST_CY_CODE)

View 1 Replies

Developed A Multiplayer Games Using VB?

Mar 31, 2010

i have a question regarding how to developed a multiplayer games using VB. i am a student and beginner on VB world.i managed to create a simple Sudoku game using VB knowledge from the internet and some books.I am fan of Sudoku games published in newspaper everyday.but now i really interested on how to develop the multi-player version using the same coding. is it possible?

i tried to write a script on developed tic-tac-toe for multi-player based from a book using VB6 for an example but got many errors. how to develop a simple multiplayer for Sudoku? i'm using VB 2008 Express Edition.

View 1 Replies

Developed An Application In VB 2008?

Dec 26, 2009

I have developed an application in Visual Basic 2008. I really love the product.I am 99% done but am hung up on a Publish issue.I know the Publish feature is not a full install program - but it handles downloading the application prerequisits so well I really want to use it.My problem is the Install path. It installs my application is the strrangest drectory appdatalocal 615252-191891-919 (goes on for ever)

I can set the install directory to something simpler. Would love to get it in Program Files but will settle for AppData if it can be a reasonable directory name. If I have to tell a customer to look in that directory for some reason I would have to read off about 60-70 alpha numeric characters for the directory path - that isn't feasable.

View 3 Replies

Wait/suspend Execution For A Certain Amout Of Time Without Hanging The Main UI Thread?

Dec 31, 2010

Is it possible to wait/suspend execution for a certain amout of time without hanging the main UI thread?

View 7 Replies

Deploy An Application Developed In Program?

Oct 24, 2011

Can we deploy an application developed in VB2010 to Linux or Max

View 2 Replies

Developed A Very Small In-house Web Application

Jan 13, 2011

I've developed a very small in-house web application with visual basic on VS2010. Can anyone give me any advice or literature s to how i can put the site on a server?

View 5 Replies

Developed And Finished A Software In Which Works Like Aim?

Jan 31, 2010

I have recently developed and finished a software in which works like aim.But here's the problem, the server worked just fine for local friends because they lived only 25 miles from the server, so it was lag-less.But when uploaded to a web host, it lags every time it pings the server.The server is in PHP, so there's no need to buy a dedicated computer for 400$/month more.Here's the function in which the client constantly calls upon:

[Code]...

I was thinking about recoding the getpage function so that it would connect to a TCP server and constantly wait for new messages which I am still not sure if this might cause a lag if the host is in the US and the client is not(for example). provide me a remedy to this problem?

View 2 Replies

Set Culture For Windows Service That Developed

Feb 4, 2011

I want to Set Culture for Windows Service that I developed. Can someone recommend me a good read for or how to go about it.So far I have I Tried to do the Following OnStart() [code]

View 1 Replies

VS 2008 Run Application Developed With FrameWork?

Jul 30, 2010

I am facing problems these days. I have VB Express 2008 with 3.5 .Net Frame Work. I develop applications but my applications dont run on the systems those have 2.0 framework or lower.How can I make my applications to run on all kinds of systems

View 2 Replies

Visual Basic 2010 Express Written Code But It Leaves The Window Hanging?

May 6, 2011

I am trying to write code for a login to my program. But the code I have written freeze's the screen. Basicaly I want to check if username (TextBox1) has text in it and then check if password (Textbox2) has text in it. if either textbox has no text then a MsgBox show's with an OK Button. and then I dont want the program to run. I want The login form to reload so the user can insert thier username & password. the code I have is below.

[Code]...

View 3 Replies

Cannot Start A Windows Service Developed In Program

Sep 11, 2009

It works on my own computer where I have visual studio installed. I install the exe file with installutil and the service works fine. But when I install it on another computer where only the framework is present, I still can install it with installutil BUT I can't start it. I get something along this Could not start the Search service on Local computer. Error 1053: The service did not respond to the start or control request in a timely fashion.[code]...

View 2 Replies







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