[RESOLVED] Run-Time Error '91'!!!
Ok This have been bothering me for 2 days so fare!
When I run my app in VB it works, when I run it after compiling it works.
But when I use “Package & Deployment Wizard” or the inno installer and I try running my app after installing I keep getting this error:
Run-Time Error '91'
Object variable or block variable not set
Since this error doesn't show during me run in VB i can't find it.
Anyone got any idea where will it be?
Re: Run-Time Error '91'!!!
Do you have some relatively long running external process like some kind of I/O? If so put a DoEvents in the code or nearby code and see if that helps.
Re: Run-Time Error '91'!!!
I am using an inet control (well over 10 of them), could this be doing somthing?
Re: Run-Time Error '91'!!!
Hmmm possibly whats causing this error is when you use the installer app, its supposed to set up the registry values and any data files which are required, it must be missing either a reg entry or a file (if your app uses a file to store any data)
Re: Run-Time Error '91'!!!
I think you've simply missed to add one of the dependencies in your setup package. Or that a control/component isn't registred correctly during the setup. If you can list all controls and references you'll use in your program and also post the SETUP.LST file created by the P&DW I might be able to give you some more help.
Re: Run-Time Error '91'!!!
Solved, it seems like i missed some very importent custom Dlls that i made.