If the .vb file is not loaded one could try to write the VB code within a .cs file.
Another solution would be to automatically convert the VB code into C# and then paste it into the script file of the mission. Online converter:
http://www.carlosag.net/tools/codetranslator/