Howdy, Stranger!

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


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:

File or assembly name
Version=, Culture=neutral,
or one of the dependencies, was not

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?

Sign In or Register to comment.