Home > Software engineering >  You look it
You look it

Time:09-24

I use VB generated exe, has succeeded, but open exe show variable is undefined, is this why

CodePudding user response:

You at the beginning of each module of the code add a line:
Option Explicit

Then compiled exe, should can see the problem,


There are, what you said is a bit strange, since can be compiled into exe, how could tip when running exe "variable is undefined"!
This kind of information, can only be IDE prompts, for exe, never "variable" it!
Exe program it just "memory address," and do you have any of the memory block access!

CodePudding user response:

Very doubt your description of the problem!
Probably you are wrong!

CodePudding user response:

If there is a "variable is undefined" in the engineering problem, can not be generated exe files, in the process of generated exe files will interrupt, prompt wrong, now that you've generated exe is not may appear "variable is undefined" problem, is likely to appear in other computers running exe "could not find file" prompt, lack of necessary documents, it may be another computer
  • Related