Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conversion from C# to VB.NET
Message
From
18/04/2013 10:02:30
 
 
To
18/04/2013 09:55:44
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01571173
Message ID:
01571335
Views:
45
>Yes - but you don't need TablesTemp as a property - if you do so, it will work only once - the second time Tables and TablesTemp will be the same object

Ah, that must explain the situation I have then. As I mentioned in the other message, it is in fact working at first but not on reload. So, you were right on this one. Nice observation

>Some suggestions - never mind the syntax - it's the idea
>
>
>        ' Data dictionary
>        Public Tables As New Tables
>        ' don't need this - Public TablesTemp 
>
>><PRE>
>        ' Load the data dictionary
>        Public Function LoadDataDictionary() As Boolean
>
>          dim tablesTmp as new Tables
>                    
>          'the framework is still using Tables
>
>          ' populate tablesTmp if needed
>
>           oApp.Tables = tablesTmp ' from now on the newer version will be used
>
>                ' Let the framework know that we are done
>            ' This will only happen at startup as there is no need to turn this off on reload
>            App.lTables = True
>
>            Return True
>        End Function
>
Thanks, I will do the adjustment and let you know.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform