Click here to Skip to main content
15,918,742 members
Home / Discussions / Visual Basic
   

Visual Basic

 
NewsRe: Passing Events Pin
Sonhospa17-Jun-10 5:03
Sonhospa17-Jun-10 5:03 
QuestionRe: Passing Events Pin
DaveAuld17-Jun-10 3:58
professionalDaveAuld17-Jun-10 3:58 
NewsRe: Passing Events Pin
Sonhospa17-Jun-10 5:17
Sonhospa17-Jun-10 5:17 
GeneralRe: Passing Events Pin
DaveAuld17-Jun-10 5:53
professionalDaveAuld17-Jun-10 5:53 
GeneralRe: Passing Events Pin
Sonhospa17-Jun-10 6:17
Sonhospa17-Jun-10 6:17 
NewsResolved: Passing Events Pin
Sonhospa17-Jun-10 7:33
Sonhospa17-Jun-10 7:33 
GeneralRe: Resolved: Passing Events Pin
DaveAuld17-Jun-10 7:43
professionalDaveAuld17-Jun-10 7:43 
QuestionVisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
QuickBooksDev17-Jun-10 1:56
QuickBooksDev17-Jun-10 1:56 
We care trying to migrate from our current VisStudio 2005 (VB) on XP to 2008 or 2010 in Win7.

In some of our early test we see that the behavior is much different.

The one that is a killer is how errors are handled.

In VisStudio IDE if you get an error it stops message.

Given code

sub forms_load ...
dim i as short = 0
i = 1 / i (error divide by zero).
i = i
end sub

If the above is executed in IDE with 2005 you get a message on the i = 1 / 0. So you can fix it.

In 2008 and 2010 it just exits the function and the form is displayed (i = i is never executed).

If you put in a Try / Catch it does catch the error.

So how can we get it to stop with the error message and not just exit the function. There must be some option that we missed.

Also do you think that we should go 2010 or just 2008 and wait to see what shakes out?

Thanks
AnswerRe: VisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
Luc Pattyn17-Jun-10 2:19
sitebuilderLuc Pattyn17-Jun-10 2:19 
GeneralRe: VisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
QuickBooksDev19-Jun-10 2:14
QuickBooksDev19-Jun-10 2:14 
AnswerRe: VisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
AnnieMacD17-Jun-10 2:46
AnnieMacD17-Jun-10 2:46 
GeneralRe: VisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
QuickBooksDev19-Jun-10 2:11
QuickBooksDev19-Jun-10 2:11 
GeneralRe: VisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
AnnieMacD19-Jun-10 2:35
AnnieMacD19-Jun-10 2:35 
GeneralRe: VisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
QuickBooksDev21-Jun-10 6:47
QuickBooksDev21-Jun-10 6:47 
GeneralRe: HELP!!! There must be a setting or something. VisStudio 2005 (VB) to VS 2008/2010 migration errors exit function without message Pin
QuickBooksDev23-Jun-10 5:19
QuickBooksDev23-Jun-10 5:19 
Questionchanging monitor screen resolution Pin
phowarso16-Jun-10 21:08
phowarso16-Jun-10 21:08 
AnswerRe: changing monitor screen resolution Pin
Dave Kreskowiak17-Jun-10 1:38
mveDave Kreskowiak17-Jun-10 1:38 
QuestionHow do I connect vb 2005 and Access 2007 in published application [modified] Pin
cyberexel16-Jun-10 12:14
cyberexel16-Jun-10 12:14 
AnswerRe: How do I connect vb 2005 and Access 2007 in published application Pin
Dave Kreskowiak17-Jun-10 1:36
mveDave Kreskowiak17-Jun-10 1:36 
GeneralRe: How do I connect vb 2005 and Access 2007 in published application Pin
cyberexel17-Jun-10 8:11
cyberexel17-Jun-10 8:11 
GeneralRe: How do I connect vb 2005 and Access 2007 in published application Pin
Dave Kreskowiak17-Jun-10 8:25
mveDave Kreskowiak17-Jun-10 8:25 
GeneralRe: How do I connect vb 2005 and Access 2007 in published application Pin
cyberexel17-Jun-10 19:09
cyberexel17-Jun-10 19:09 
QuestionDeployment of COM AddIn Pin
Sonhospa16-Jun-10 8:41
Sonhospa16-Jun-10 8:41 
AnswerRe: Deployment of COM AddIn Pin
Dave Kreskowiak16-Jun-10 8:47
mveDave Kreskowiak16-Jun-10 8:47 
GeneralRe: Deployment of COM AddIn Pin
Sonhospa16-Jun-10 22:02
Sonhospa16-Jun-10 22:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.