Click here to Skip to main content
15,913,283 members
Home / Discussions / Visual Basic
   

Visual Basic

 
SuggestionRe: Get Databack from combobox. Pin
Richard Deeming27-Feb-18 6:31
mveRichard Deeming27-Feb-18 6:31 
QuestionFatal error encountered during command execution Pin
duhoky26-Feb-18 1:14
duhoky26-Feb-18 1:14 
GeneralRe: Fatal error encountered during command execution Pin
Richard MacCutchan26-Feb-18 1:35
mveRichard MacCutchan26-Feb-18 1:35 
AnswerRe: Fatal error encountered during command execution Pin
duhoky26-Feb-18 1:51
duhoky26-Feb-18 1:51 
QuestionI am trying to port this code from VBScript to C# Pin
Steve Messer25-Feb-18 14:48
Steve Messer25-Feb-18 14:48 
AnswerRe: I am trying to port this code from VBScript to C# Pin
Dave Kreskowiak25-Feb-18 16:05
mveDave Kreskowiak25-Feb-18 16:05 
GeneralRe: I am trying to port this code from VBScript to C# Pin
Steve Messer25-Feb-18 18:18
Steve Messer25-Feb-18 18:18 
GeneralRe: I am trying to port this code from VBScript to C# Pin
Mycroft Holmes25-Feb-18 20:27
professionalMycroft Holmes25-Feb-18 20:27 
GeneralRe: I am trying to port this code from VBScript to C# Pin
Richard MacCutchan25-Feb-18 22:09
mveRichard MacCutchan25-Feb-18 22:09 
AnswerRe: I am trying to port this code from VBScript to C# Pin
Ralf Meier25-Feb-18 22:25
mveRalf Meier25-Feb-18 22:25 
GeneralRe: I am trying to port this code from VBScript to C# Pin
Dave Kreskowiak26-Feb-18 2:21
mveDave Kreskowiak26-Feb-18 2:21 
GeneralRe: I am trying to port this code from VBScript to C# Pin
Steve Messer26-Feb-18 5:47
Steve Messer26-Feb-18 5:47 
GeneralRe: I am trying to port this code from VBScript to C# Pin
Richard Deeming26-Feb-18 6:20
mveRichard Deeming26-Feb-18 6:20 
GeneralRe: I am trying to port this code from VBScript to C# Pin
Steve Messer26-Feb-18 9:57
Steve Messer26-Feb-18 9:57 
SuggestionRe: I am trying to port this code from VBScript to C# Pin
Richard Deeming26-Feb-18 1:35
mveRichard Deeming26-Feb-18 1:35 
GeneralRe: I am trying to port this code from VBScript to C# Pin
Dave Kreskowiak26-Feb-18 2:20
mveDave Kreskowiak26-Feb-18 2:20 
AnswerRe: I am trying to port this code from VBScript to C# Pin
oblondel7-Mar-18 3:16
oblondel7-Mar-18 3:16 
QuestionTab control event Pin
hmanhha25-Feb-18 3:07
hmanhha25-Feb-18 3:07 
AnswerRe: Tab control event Pin
phil.o25-Feb-18 3:14
professionalphil.o25-Feb-18 3:14 
AnswerRe: Tab control event Pin
Ralf Meier25-Feb-18 22:27
mveRalf Meier25-Feb-18 22:27 
QuestionGetting an "Index was outside the bounds of the array" Error Message Pin
Member 1369355623-Feb-18 12:11
Member 1369355623-Feb-18 12:11 
AnswerRe: Getting an "Index was outside the bounds of the array" Error Message Pin
Richard Deeming23-Feb-18 13:11
mveRichard Deeming23-Feb-18 13:11 
PraiseRe: Getting an "Index was outside the bounds of the array" Error Message Pin
Member 1369355623-Feb-18 14:23
Member 1369355623-Feb-18 14:23 
Hello Richard

Thank you so much for figuring this out, and for the very useful explanation, and for the idea on how to eliminate the manual edit every time there is a 53 week year. I made then edit, then decided I better confirm my "every 5 years" comment. Looking at the National Retail Federation website where the 4-5-4 calendar is published, I saw that the frequency of 53 week years is not necessarily every 5 years. Most recent examples of 53 week years were:

1995
2000
2006
2012
2017

Because it is not a sure thing for a 53 week every five years, I restored the old code. But thanks for the suggestion, and thanks so much for sorting out the issue, and explaining how to calculate what would be needed going forward. I really appreciate the help.

One question, from the lines in the error message, how did you know to target the array declaration as being the source of the problem?

Kenn

modified 23-Feb-18 21:34pm.

GeneralRe: Getting an "Index was outside the bounds of the array" Error Message Pin
Richard Deeming26-Feb-18 0:56
mveRichard Deeming26-Feb-18 0:56 
GeneralRe: Getting an "Index was outside the bounds of the array" Error Message Pin
Member 1369355626-Feb-18 5:53
Member 1369355626-Feb-18 5:53 

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.