Thearon
I am also using
VB Express Edition (the price was right), quite successfully so far with one problem (which may or may not be related to the fact that it is the Express Edition and not
VB.Net 2003)
In the LoadGroups procedure (chapter 7), the LastUpdateDate field in the ListBox control displays only a g (or whatever letter I used to indicate a format type) when the code from the book is entered as written. (I ran the code downloaded from the website and it works fine). The problem seems to be in the line of code:
objListViewItem.SubItems.Add( _
Format(objGroupsDS.Tables("Groups").Rows (intIndex).Item( _
"LastUpdateDate"), "g"))
If I add a variable to the procedure and then Format the variable, it works fine.
Dim dteFormattedDate As Date
...
...
dteFormattedDate = objGroupsDS.Tables("Groups").Rows(intIndex).Item(" LastUpdateDate")
objListViewItem.SubItems.Add(Format(dteFormattedDa te, "g"))
I also have to add the variable and then Format the variable in the lvwGroups_Click event when filling in the Groups detail section.
Any thoughts would be appreciated.
TIA
Hank