iSnow Posted June 9, 2012 Author Share Posted June 9, 2012 I got an error on my server, problem is I wasn't editing that portion, it is the original code.User Defined Type Not Defined```Private Sub lvwInfo_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader) 'When a ColumnHeader object is clicked, the ListView control is sorted by the subitems of that column. 'Set the SortKey to the Index of the ColumnHeader - 1 'Set Sorted to True to sort the list. If lvwInfo.SortOrder = lvwAscending Then lvwInfo.SortOrder = lvwDescending Else lvwInfo.SortOrder = lvwAscending End If lvwInfo.SortKey = ColumnHeader.index - 1 lvwInfo.Sorted = TrueEnd Sub``` Link to comment Share on other sites More sharing options...
Domino_ Posted June 9, 2012 Share Posted June 9, 2012 What is that?p.s. problem is somewhere else. Link to comment Share on other sites More sharing options...
iSnow Posted June 9, 2012 Author Share Posted June 9, 2012 lvwInfo is the box in the 'control' tab, where you see all the players and promote people. Link to comment Share on other sites More sharing options...
Synergy Posted June 9, 2012 Share Posted June 9, 2012 Which bit does it highlight when you run it through the IDE? Link to comment Share on other sites More sharing options...
iSnow Posted June 9, 2012 Author Share Posted June 9, 2012 @Synergy:> Which bit does it highlight when you run it through the IDE?```Private Sub lvwInfo_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader)``` Link to comment Share on other sites More sharing options...
Ruins of Hell Posted June 9, 2012 Share Posted June 9, 2012 Make sure you have installed VB6 SP6, then redownload the source. Link to comment Share on other sites More sharing options...
iSnow Posted June 10, 2012 Author Share Posted June 10, 2012 That Fixed the problem, my computer is new and I had forgotten to install the SP. Thanks Soul. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now