Click here to Skip to main content
15,895,011 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: duplicate a toolstip Pin
Dave Kreskowiak4-Sep-09 10:02
mveDave Kreskowiak4-Sep-09 10:02 
QuestionUsing VB.Net 2008 with Access 2007 database on Windows Server 2008 Pin
abiemann3-Sep-09 9:25
abiemann3-Sep-09 9:25 
AnswerRe: Using VB.Net 2008 with Access 2007 database on Windows Server 2008 Pin
abiemann3-Sep-09 13:21
abiemann3-Sep-09 13:21 
GeneralRe: Using VB.Net 2008 with Access 2007 database on Windows Server 2008 Pin
εїзεїзεїз3-Sep-09 13:38
εїзεїзεїз3-Sep-09 13:38 
GeneralRe: Using VB.Net 2008 with Access 2007 database on Windows Server 2008 Pin
Dave Kreskowiak3-Sep-09 13:42
mveDave Kreskowiak3-Sep-09 13:42 
QuestionUnsure of phrasing, Subproperty? Pin
EliottA3-Sep-09 5:32
EliottA3-Sep-09 5:32 
AnswerRe: Unsure of phrasing, Subproperty? Pin
Henry Minute3-Sep-09 5:57
Henry Minute3-Sep-09 5:57 
AnswerRe: Unsure of phrasing, Subproperty? Pin
N a v a n e e t h3-Sep-09 5:57
N a v a n e e t h3-Sep-09 5:57 
Not sure what problem are you facing. Nested properties (not sure this wording also correct) are trivial to implement. Here is a C# implementation as my VB is poor.
class Employee
{
    Address homeAddress = /* .. */
    public Address HomeAddress
    {
        get
        {
            return homeAddress;
        }
    }
}

class Address
{
    string street;
    public string Street
    {
        get
        {
            return street;
        }
    }

    string city;
    public string City
    {
        get
        {
            return city;
        }
    }
}
Now you can write,
C#
Employee chuckNorris = new Employee();
chuckNorris.HomeAddress.Street = "Set the street here";
chuckNorris.HomeAddress.City = "set the city here";
Smile | :)


GeneralRe: Unsure of phrasing, Subproperty? Pin
EliottA3-Sep-09 6:00
EliottA3-Sep-09 6:00 
GeneralRe: Unsure of phrasing, Subproperty? Pin
N a v a n e e t h3-Sep-09 6:09
N a v a n e e t h3-Sep-09 6:09 
GeneralRe: Unsure of phrasing, Subproperty? Pin
EliottA3-Sep-09 6:12
EliottA3-Sep-09 6:12 
GeneralRe: Unsure of phrasing, Subproperty? Pin
N a v a n e e t h3-Sep-09 6:37
N a v a n e e t h3-Sep-09 6:37 
GeneralRe: Unsure of phrasing, Subproperty? Pin
Luc Pattyn3-Sep-09 6:55
sitebuilderLuc Pattyn3-Sep-09 6:55 
GeneralRe: Unsure of phrasing, Subproperty? Pin
EliottA3-Sep-09 7:02
EliottA3-Sep-09 7:02 
QuestionUsing VB.NET 2005 With MySQL Pin
Pasan1483-Sep-09 5:10
Pasan1483-Sep-09 5:10 
AnswerRe: Using VB.NET 2005 With MySQL Pin
EliottA3-Sep-09 5:15
EliottA3-Sep-09 5:15 
AnswerRe: Using VB.NET 2005 With MySQL Pin
εїзεїзεїз3-Sep-09 6:50
εїзεїзεїз3-Sep-09 6:50 
QuestionNeed help with SQL query Pin
sazd13-Sep-09 1:53
sazd13-Sep-09 1:53 
AnswerRe: Need help with SQL query Pin
Johan Hakkesteegt3-Sep-09 2:31
Johan Hakkesteegt3-Sep-09 2:31 
AnswerRe: Need help with SQL query Pin
dan!sh 3-Sep-09 3:34
professional dan!sh 3-Sep-09 3:34 
GeneralRe: Need help with SQL query Pin
sazd13-Sep-09 3:38
sazd13-Sep-09 3:38 
AnswerRe: Need help with SQL query Pin
Pasan1483-Sep-09 5:04
Pasan1483-Sep-09 5:04 
GeneralRe: Need help with SQL query Pin
sazd13-Sep-09 8:39
sazd13-Sep-09 8:39 
QuestionTimer set time click Pin
Bob Beaubien2-Sep-09 21:52
Bob Beaubien2-Sep-09 21:52 
AnswerRe: Timer set time click Pin
TheComputerMan2-Sep-09 22:13
TheComputerMan2-Sep-09 22:13 

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.