on 09-04-2008 11:55 AM
Hi All,
When ever a new BP is being created in MSA, by default 'Prospect' check box should be selected and other check boxes (classifications) should be deselected.
I have made relevant changes in BOCAPGEN in 'Loaded' event. However, when I generate this object it is resulting in an error and the error says,
'DateTime' is not a member of 'Scripting.FileAttribute'.
This error is in the method RelValidDate_SupplyMethod and find below the code.
Public Function RelValidDate_SupplyMethod() as Object
'Combined Method Level Migration Done - this comment added automatically, 9/4/2008 5:40:32 AM
Dim tim As Date
'Version created for transport to 30
'Version created for transport to 30
If ((_unwind(_unwind(TimeOfDay)) = CDate("00:00"))) Then
tim = CDate("00:01")
RelValidDate_SupplyMethod = *unwind(Scripting.FileAttribute.System.DateTime.FromOADate((unwind(Today.ToOADate()) + _unwind(tim.ToOADate()))))*
Else
RelValidDate_SupplyMethod = unwind(Scripting.FileAttribute.System.DateTime.FromOADate((unwind(Today.ToOADate()) + _unwind(TimeOfDay.ToOADate()))))
End If
End Function
Please advice on this.
Thanks,
Chan
Hello Chan
This issue clearly says that Method Level migration is not done on that particular object. Hence code remains in Visual Basic 6.0, not migrated to VB.Net
Inorder for MLM to run.register the dlls scrrun.dll and vbscript.dll
(present in C:\windows\System32 folder).
After doing this, Open MAS and Do generate the BOCAPGEN alone and then build the solution.
Regards
Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
this looks like that the CMT (code migration tool) is started after your changes and makes some nonsense (as you can see the generated comment).
I heard from other colleagues that they have a similiar issue with 2007 SP2 but without syntax error.
Regards,
Wolfhard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.