R
Rick
I have a vbs file (WScript) that I need to convert to vb.net; is there any
tools available for that?
tools available for that?
I have a vbs file (WScript) that I need to convert to vb.net; is there any
tools available for that?
Dick Grier said:For VBS? I doubt that would do much. Of course, VBS <> VB6 (I think).
?????????????????????????????????????Bill McCarthy said:Yeh should do, as VBS is a subset of VB6. The "Upgrade Visual Basic 6
Code ..." tool allows you to paste code into it, set references etc, and
it will do it's magic.
Cor Ligthert said:?????????????????????????????????????
What has VB6 to do with VBS, VBS did exist far before VB6.
As you had written VB6 contains a subset of VBS than it would have been a
little bit more in the direction.
However VB for Net has the same, so I would keep by Dick's first answer.
Are you tired from a long trip or something?Bill McCarthy said:Absolutely not. VBScript is a derivative of VB. It was developed
originally for IE after VB4, then updated alongside VB5.
The upgrade wizard will fix much of the code, changing Integer to Short
etc, removing Set, Intialize to New, Terminate to Finally, and all those
kind of things.
Because in this case there will not be anything different.Huh ? Why manually convert somethign when the wizard will do it for you ?
Cor Ligthert said:Are you tired from a long trip or something?
You write "Absolute not" Or do you have the idea that VB6 was developed
before VB5.
Because in this case there will not be anything different.
VBS does not use the same methods to use objects as VB6, by instance
DataBase access and Web access is completely different handled. (I have
done a lot in classic ASP, the keywords you are talking about I thought
never to have used in VBS, only declared once because everything is
global ).