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

Visual Basic

 
GeneralRe: Slow Paint Events - vb.net 2005 Pin
Dave Kreskowiak28-Aug-07 17:22
mveDave Kreskowiak28-Aug-07 17:22 
QuestionHelp needed Pin
chintuu128-Aug-07 7:47
chintuu128-Aug-07 7:47 
AnswerRe: Help needed Pin
Dave Kreskowiak28-Aug-07 14:36
mveDave Kreskowiak28-Aug-07 14:36 
QuestionWhat is better code? Pin
Cory Kimble28-Aug-07 7:24
Cory Kimble28-Aug-07 7:24 
AnswerRe: What is better code? Pin
DigiOz Multimedia28-Aug-07 8:03
DigiOz Multimedia28-Aug-07 8:03 
GeneralRe: What is better code? Pin
Cory Kimble28-Aug-07 8:33
Cory Kimble28-Aug-07 8:33 
GeneralRe: What is better code? Pin
DigiOz Multimedia28-Aug-07 8:35
DigiOz Multimedia28-Aug-07 8:35 
AnswerRe: What is better code? Pin
Luc Pattyn28-Aug-07 12:42
sitebuilderLuc Pattyn28-Aug-07 12:42 
Hi Cory,

Definitely classes and structures, and not heterogenous arrays.
The difference in performance would be only a couple of percent,
the difference in code readability is tremendous.

Once you have defined your classes/structures, if you need many of them.
put them together in either collections or arrays, depending on what kind
of operations you need. If arrays, these would be homogeneous arrays
(each element of the array has the same meaning).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


QuestionProblem saving a word document using DSOFramer ActiveX control Pin
chirantan.sriram28-Aug-07 4:25
chirantan.sriram28-Aug-07 4:25 
QuestionProblem with updating database [modified] Pin
Cory Kimble28-Aug-07 3:37
Cory Kimble28-Aug-07 3:37 
AnswerRe: Problem with updating database Pin
Dave Kreskowiak28-Aug-07 14:38
mveDave Kreskowiak28-Aug-07 14:38 
GeneralRe: Problem with updating database Pin
Cory Kimble30-Aug-07 11:04
Cory Kimble30-Aug-07 11:04 
GeneralRe: Problem with updating database Pin
Dave Kreskowiak30-Aug-07 11:44
mveDave Kreskowiak30-Aug-07 11:44 
GeneralRe: Problem with updating database [modified] Pin
Cory Kimble31-Aug-07 3:29
Cory Kimble31-Aug-07 3:29 
GeneralRe: Problem with updating database Pin
Dave Kreskowiak1-Sep-07 4:12
mveDave Kreskowiak1-Sep-07 4:12 
QuestionAPI Pin
balakpn28-Aug-07 3:01
balakpn28-Aug-07 3:01 
AnswerRe: API Pin
Dave Kreskowiak28-Aug-07 14:42
mveDave Kreskowiak28-Aug-07 14:42 
GeneralRe: API Pin
balakpn28-Aug-07 19:18
balakpn28-Aug-07 19:18 
QuestionOleDbCommand.Prepare method requires all variable length parameters to have an explicitly set non-zero Size. Pin
Vimalsoft(Pty) Ltd28-Aug-07 1:48
professionalVimalsoft(Pty) Ltd28-Aug-07 1:48 
AnswerRe: OleDbCommand.Prepare method requires all variable length parameters to have an explicitly set non-zero Size. Pin
Vimalsoft(Pty) Ltd28-Aug-07 5:46
professionalVimalsoft(Pty) Ltd28-Aug-07 5:46 
Question(VB6.0)validating a textbox for MM/dd/yyyy format Pin
venkata lakshmi prasanna28-Aug-07 1:16
venkata lakshmi prasanna28-Aug-07 1:16 
AnswerRe: (VB6.0)validating a textbox for MM/dd/yyyy format Pin
Burnsys228-Aug-07 2:03
Burnsys228-Aug-07 2:03 
QuestionRemote connection to SQL Server Pin
raaman28-Aug-07 1:05
raaman28-Aug-07 1:05 
AnswerRe: Remote connection to SQL Server Pin
originSH28-Aug-07 1:33
originSH28-Aug-07 1:33 
AnswerRe: Remote connection to SQL Server Pin
Burnsys228-Aug-07 2:06
Burnsys228-Aug-07 2:06 

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.