Click here to Skip to main content
15,905,875 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionTwo colomn data bind to one combo box. Pin
Kusal26-Mar-07 17:15
Kusal26-Mar-07 17:15 
AnswerRe: Two colomn data bind to one combo box. Pin
Christian Graus26-Mar-07 17:21
protectorChristian Graus26-Mar-07 17:21 
GeneralRe: Two colomn data bind to one combo box. Pin
Kusal26-Mar-07 17:24
Kusal26-Mar-07 17:24 
AnswerRe: Two colomn data bind to one combo box. Pin
balakpn27-Mar-07 0:20
balakpn27-Mar-07 0:20 
AnswerRe: Two colomn data bind to one combo box. Pin
Marcus J. Smith27-Mar-07 2:29
professionalMarcus J. Smith27-Mar-07 2:29 
AnswerRe: Two colomn data bind to one combo box. Pin
Jaiprakash M Bankolli28-Mar-07 1:36
Jaiprakash M Bankolli28-Mar-07 1:36 
QuestionPreload images Pin
Anybloodyid26-Mar-07 10:03
Anybloodyid26-Mar-07 10:03 
AnswerRe: Preload images Pin
Christian Graus26-Mar-07 10:07
protectorChristian Graus26-Mar-07 10:07 
Just make them lazy initialised properties. That is, do this:

private Bitmap _mySkin;

private Bitmap MySkin
{
get
{
if (_mySkin == null)
{
_mySkin = LoadFromResources("mySkin");
}

return _mySkin;
}
}

Where LoadFromResources is a method you provide.

Then, you just reference MySkin, not _mySkin. Or, you can just load the bitmaps in your constructor or Load event.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

QuestionHow to create an Outlook Add In using VB2005 Pin
mark_baars26-Mar-07 9:18
mark_baars26-Mar-07 9:18 
QuestionEdit.ScrollLineDown (Scrolls text down one line) command. Pin
Jason Weibel26-Mar-07 6:40
Jason Weibel26-Mar-07 6:40 
AnswerRe: Edit.ScrollLineDown (Scrolls text down one line) command. Pin
Marcus J. Smith26-Mar-07 7:37
professionalMarcus J. Smith26-Mar-07 7:37 
GeneralRe: Edit.ScrollLineDown (Scrolls text down one line) command. Pin
Jason Weibel26-Mar-07 9:32
Jason Weibel26-Mar-07 9:32 
Questionsophisticated multipane (or "paneled") Windows Form UI Pin
JW73826-Mar-07 6:30
JW73826-Mar-07 6:30 
QuestionAuto complete combobox inside a datagrid Pin
xbiplav26-Mar-07 6:01
xbiplav26-Mar-07 6:01 
QuestionCalling or performing Scroll Sub from another Sub Pin
barkanb26-Mar-07 6:01
barkanb26-Mar-07 6:01 
AnswerRe: Calling or performing Scroll Sub from another Sub Pin
Marcus J. Smith26-Mar-07 7:35
professionalMarcus J. Smith26-Mar-07 7:35 
GeneralRe: Calling or performing Scroll Sub from another Sub Pin
nlarson1126-Mar-07 7:54
nlarson1126-Mar-07 7:54 
GeneralRe: Calling or performing Scroll Sub from another Sub Pin
barkanb26-Mar-07 9:37
barkanb26-Mar-07 9:37 
GeneralRe: Calling or performing Scroll Sub from another Sub Pin
barkanb26-Mar-07 19:51
barkanb26-Mar-07 19:51 
Questionsearch using select statement Pin
don01126-Mar-07 4:57
don01126-Mar-07 4:57 
AnswerRe: search using select statement Pin
nlarson1126-Mar-07 7:50
nlarson1126-Mar-07 7:50 
QuestionHow can I check som einternational chars with Instr function? Pin
JUNEYT26-Mar-07 3:45
JUNEYT26-Mar-07 3:45 
AnswerRe: How can I check som einternational chars with Instr function? Pin
Christian Graus26-Mar-07 3:56
protectorChristian Graus26-Mar-07 3:56 
QuestionCrystal Report From Dataset and Web service-- Urgent please Pin
Nermeenez26-Mar-07 3:45
Nermeenez26-Mar-07 3:45 
QuestionUrgent -Please Help Help !!! Pin
Nermeenez26-Mar-07 3:23
Nermeenez26-Mar-07 3:23 

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.