Hello Brian,
I am very happy about this replay.
My VB.Net Pocket PC Project consists of 5 Forms, 2 Class-Files and a Module
File. The Mainform has a Tabstrip, 4 Listviews, 11 Buttons, a Main Menu, 3
Context Menus and a Progress bar. The 4 other forms have some Labels and
Textboxes to show Customer and Article detail data, the document overview
and settings.
The data (customers, articles and documents) are stored in 3 CVS Textfiles.
Therefore a have a class for File IO. In the other class file are some small
classes used in the programm.
Can you post the line of code that is having the problem as well as the few
on either side of it? I assume it is a call out to another method. Is there
anything unusual about the destination?
When the problem with the MissingMethodException began, I removed any
control from form1 and step by step any declaration and Subs. Only in Sub
New I had a ON ERROR.. Statement and:
On Error resume next
Dim Alfa as new AlfaClass
Alfa.InitFiles()
I made many attemts to solve the problem:
- using own NameSpaces
- putting the classes in an external assembly
- Threading
- changing Indentifiers
- and so on..
I discovered, that with the ON ERROR statement or any reference to the
ErrObject, the exception raised in line
Public Class Form1
Whitout the ErrObject in line Alfa.InitFiles. So I defined a variable in
Form1:
Dim ErrOb As Microsoft.VisualBasic.ErrObject
Then pressing F5 the project begans to deploy but after some seconds it
stops to run without any message.
(The Try Catch-block had the same behaviour)
I put the entire solution on
Www.mastersoft.cc/pocket.zip
I would be very happy if you try it.
Thanks,
Alfred Malleier