Click here to Skip to main content
15,887,214 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: grouping subroutines Pin
Duane195811-Feb-09 16:55
Duane195811-Feb-09 16:55 
QuestionWorking with Active Directory in VB.NET Pin
sdavis8811-Feb-09 14:23
sdavis8811-Feb-09 14:23 
AnswerRe: Working with Active Directory in VB.NET Pin
Dave Kreskowiak13-Feb-09 3:43
mveDave Kreskowiak13-Feb-09 3:43 
QuestionInitialize array parameter? Pin
craigmg7811-Feb-09 10:56
craigmg7811-Feb-09 10:56 
AnswerRe: Initialize array parameter? Pin
Dave Kreskowiak11-Feb-09 14:11
mveDave Kreskowiak11-Feb-09 14:11 
GeneralRe: Initialize array parameter? Pin
Luc Pattyn11-Feb-09 14:38
sitebuilderLuc Pattyn11-Feb-09 14:38 
GeneralRe: Initialize array parameter? Pin
craigmg7812-Feb-09 4:41
craigmg7812-Feb-09 4:41 
AnswerRe: Initialize array parameter? Pin
Guffa11-Feb-09 16:10
Guffa11-Feb-09 16:10 
Unless you want to replace the entire array with another array, you should not send the parameter by reference. You can still change the items in the array when sending the parameter by value:

Private Sub AddPayrollTable(ByVal TableCode As Integer, ByVal PayrollArray As String())

However, you still have to create the array before calling the method.

If you want to create the array in the method, you should return the array from it:

Private Function GetPayrollTable(ByVal TableCode As Integer) As String()

If you want to add items to the collecion, it should be a list instead of an array:

Private Sub AddPayrollTable(ByVal TableCode As Integer, ByVal PayrollList As List(Of String))

Despite everything, the person most likely to be fooling you next is yourself.

QuestionCrystal Report and VB.net 2005 Pin
SCHOTM11-Feb-09 10:45
SCHOTM11-Feb-09 10:45 
QuestionCheck for Framework version Pin
ivo7511-Feb-09 8:46
ivo7511-Feb-09 8:46 
AnswerRe: Check for Framework version Pin
Dave Kreskowiak11-Feb-09 10:18
mveDave Kreskowiak11-Feb-09 10:18 
AnswerRe: Check for Framework version Pin
Ranjit Viswakumar11-Feb-09 17:36
Ranjit Viswakumar11-Feb-09 17:36 
GeneralRe: Check for Framework version Pin
Dave Kreskowiak11-Feb-09 19:08
mveDave Kreskowiak11-Feb-09 19:08 
QuestionVB.Net 2005 FTP Automation Pin
hariyansa11-Feb-09 7:54
hariyansa11-Feb-09 7:54 
AnswerRe: VB.Net 2005 FTP Automation Pin
Dave Kreskowiak11-Feb-09 8:12
mveDave Kreskowiak11-Feb-09 8:12 
QuestionImplemented IOleCommandTarget in VB.NET 2005 Browser Helper Object - NOW WHAT? Pin
David Seger11-Feb-09 5:51
David Seger11-Feb-09 5:51 
AnswerRe: Implemented IOleCommandTarget in VB.NET 2005 Browser Helper Object - NOW WHAT? Pin
Dave Kreskowiak11-Feb-09 6:35
mveDave Kreskowiak11-Feb-09 6:35 
QuestionHow do you format the date time to just date? Pin
Muhammad Fahim Baloch11-Feb-09 5:45
Muhammad Fahim Baloch11-Feb-09 5:45 
AnswerRe: How do you format the date time to just date? Pin
Fernando Soto11-Feb-09 6:29
Fernando Soto11-Feb-09 6:29 
AnswerRe: How do you format the date time to just date? Pin
EliottA11-Feb-09 7:02
EliottA11-Feb-09 7:02 
GeneralRe: How do you format the date time to just date? Pin
Luc Pattyn11-Feb-09 11:57
sitebuilderLuc Pattyn11-Feb-09 11:57 
GeneralRe: How do you format the date time to just date? Pin
EliottA11-Feb-09 13:01
EliottA11-Feb-09 13:01 
Question2/6/2009 12:00:00 AM Pin
Muhammad Fahim Baloch11-Feb-09 5:40
Muhammad Fahim Baloch11-Feb-09 5:40 
AnswerRe: 2/6/2009 12:00:00 AM Pin
vaghelabhavesh11-Feb-09 5:48
vaghelabhavesh11-Feb-09 5:48 
GeneralRe: 2/6/2009 12:00:00 AM Pin
Jay Royall11-Feb-09 6:15
Jay Royall11-Feb-09 6:15 

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.