Compiling problem

HARRY

Active Member
Licensed User
Longtime User
Hi,

A program consisting of a Main and another module runs since months very well on PC and Deviuce . Now, I have added another small module. When compiling I get an error message related to the already existing module, reading ( translated) :"The object reference has not been set to an occurence of an object.". This error message is given on line number 1 of the 'old' module :

1 Sub Globals
2 'Declare the global variables here.
3 Public Type (xZone, X, yZone, Y) UTM As double
4 etc
5 etc


There are no controls or objects in that module, just arithmetic.

On the PC the program runs well with the new module; the old module cannot be activated on the PC as it requires an GPS device.

Does somebody know what is going wrong?



Harry
 

HARRY

Active Member
Licensed User
Longtime User
Hi,

I solved it myself. The last sub of Main ended with End Subb. Is this a sample of a confusing error message?

Harry
 
Top