Click here to Skip to main content
15,891,017 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB.net (web applications) connection to access db Pin
Christian Graus13-Feb-07 13:25
protectorChristian Graus13-Feb-07 13:25 
Questionshowing only last 30 days records Pin
7prince13-Feb-07 11:13
7prince13-Feb-07 11:13 
AnswerRe: showing only last 30 days records Pin
Christian Graus13-Feb-07 12:32
protectorChristian Graus13-Feb-07 12:32 
GeneralRe: showing only last 30 days records Pin
7prince13-Feb-07 13:46
7prince13-Feb-07 13:46 
GeneralRe: showing only last 30 days records Pin
Christian Graus13-Feb-07 17:01
protectorChristian Graus13-Feb-07 17:01 
AnswerRe: showing only last 30 days records Pin
nlarson1113-Feb-07 16:23
nlarson1113-Feb-07 16:23 
QuestionEvent programming vs Method call programming Pin
Marcus J. Smith13-Feb-07 8:21
professionalMarcus J. Smith13-Feb-07 8:21 
AnswerRe: Event programming vs Method call programming Pin
Christian Graus13-Feb-07 9:27
protectorChristian Graus13-Feb-07 9:27 
Well, these are not competing ideas. I would write some functions that I want to have run when I call them, right away. Other functions, I want to call when an event occurs, such as a button being pushed. Just writing code in your event handlers, makes for very messy code. Your UI classes would work this way, but they would mostly just create business objects, and call their methods, which are not going to be event driven.

For example, you may have a Person class. It may have properties to specify name, address, etc, and a method to save that person to the database. You wouldn't rewrite this code in every event handler, the class would handle it, and different event handles would call it.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog

GeneralRe: Event programming vs Method call programming Pin
Marcus J. Smith13-Feb-07 9:36
professionalMarcus J. Smith13-Feb-07 9:36 
GeneralRe: Event programming vs Method call programming Pin
Christian Graus13-Feb-07 9:56
protectorChristian Graus13-Feb-07 9:56 
GeneralRe: Event programming vs Method call programming Pin
Marcus J. Smith13-Feb-07 10:00
professionalMarcus J. Smith13-Feb-07 10:00 
GeneralRe: Event programming vs Method call programming Pin
Christian Graus13-Feb-07 10:11
protectorChristian Graus13-Feb-07 10:11 
QuestionGenerating an Excel spreadsheet from vb.net forms! Pin
China-Gary13-Feb-07 7:58
China-Gary13-Feb-07 7:58 
AnswerRe: Generating an Excel spreadsheet from vb.net forms! Pin
andyharman13-Feb-07 8:05
professionalandyharman13-Feb-07 8:05 
GeneralRe: Generating an Excel spreadsheet from vb.net forms! Pin
China-Gary13-Feb-07 8:08
China-Gary13-Feb-07 8:08 
QuestionUsing a common DLL for connection information for generated data objects Pin
Marcus J. Smith13-Feb-07 7:42
professionalMarcus J. Smith13-Feb-07 7:42 
AnswerRe: Using a common DLL for connection information for generated data objects Pin
Navneet Hegde14-Feb-07 2:48
Navneet Hegde14-Feb-07 2:48 
GeneralRe: Using a common DLL for connection information for generated data objects Pin
Marcus J. Smith14-Feb-07 3:00
professionalMarcus J. Smith14-Feb-07 3:00 
GeneralRe: Using a common DLL for connection information for generated data objects Pin
Navneet Hegde14-Feb-07 18:09
Navneet Hegde14-Feb-07 18:09 
QuestionFinding the group a user is in Pin
KreativeKai13-Feb-07 7:00
professionalKreativeKai13-Feb-07 7:00 
AnswerRe: Finding the group a user is in [modified] Pin
Marcus J. Smith13-Feb-07 7:43
professionalMarcus J. Smith13-Feb-07 7:43 
QuestionRe: Finding the group a user is in Pin
KreativeKai13-Feb-07 8:05
professionalKreativeKai13-Feb-07 8:05 
AnswerRe: Finding the group a user is in Pin
Marcus J. Smith13-Feb-07 8:45
professionalMarcus J. Smith13-Feb-07 8:45 
GeneralRe: Finding the group a user is in Pin
KreativeKai13-Feb-07 8:49
professionalKreativeKai13-Feb-07 8:49 
GeneralRe: Finding the group a user is in Pin
Marcus J. Smith13-Feb-07 8:54
professionalMarcus J. Smith13-Feb-07 8:54 

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.