Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

MissingMethodException running my script on WinCE 6.0

sjamuarsjamuar Member Posts: 1
I have written a simple "Hellow World" VBScript windows application to run on WinCE6.0. The application was built with the "Any CPU" option. It runs fine on the XP host. However, I am getting a MissingMethodException. I have made sure that the Sysgen variables for .NET Compact Framework 2.0, and the VBScript engine (SYSEN_IE_VBSCRIPT) and MSGBOX (SYSGEN_VBSCRIPT_MSGBOX), are enabled in the target image (NK.bin).

The error I get is:

Error
HelloWorld.exe
MissingMethodException
File or assembly name
'Microsoft.VisualBasic,
Version=8.0.0.0, Culture=neutral,
PublikKeyToken=B03F5F7F11D50A3A',
or one of the dependencies, was not
found.


Here is my code:

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MsgBox("Hello World")
End Sub
End Class

What's missing in the code or what else needs to be enabled for Sysgen?

Thanks
Sign In or Register to comment.