have been using VB6 to write software, but the recent system to do the Web version, but the previous business rules are all in the code to write dead, no use of the storage process, if the web-side rewrite rules, the workload is too large, project time is not allowed, had to transfer business rules to vb.net. Now the vb.net version is not supported from the VB6 transfer, but you can directly copy the business rules into the new vb.net, the difference is very small, basically change the line. The following points in the conversion process should pay special attention to:
1, VB6 in the procedure call can not enclose the argument without parentheses, such as add a A, this is legal, but vb.net does not support this notation, must be add (a, b) such a change.
2, VB6 support exclamation mark (!) The form of access to field, such as!order_no= "abcdef", is legal and must be changed to. Fields ("Order_no") in vb.net. value= "ABCdef".
3. Optional parameters must have a default value. IsMissing no longer valid, should be changed to nothing to judge.
Historical reasons, the 2nd question most, the system used a large number of exclamation mark, if a line of manual change will over, but also prone to error, had to write a conversion tool (internal use, not to deal with the interface), click the button to complete.
VB6 Turn vb.net