|
-
Feb 17th, 2006, 09:51 PM
#1
Thread Starter
Frenzied Member
[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?
-
Feb 17th, 2006, 09:57 PM
#2
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.
-
Feb 17th, 2006, 09:59 PM
#3
Thread Starter
Frenzied Member
Re: Run-Time Error '91'!!!
I am using an inet control (well over 10 of them), could this be doing somthing?
-
Feb 17th, 2006, 10:02 PM
#4
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)
-
Feb 17th, 2006, 10:10 PM
#5
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.
-
Feb 17th, 2006, 10:31 PM
#6
Thread Starter
Frenzied Member
Re: Run-Time Error '91'!!!
Solved, it seems like i missed some very importent custom Dlls that i made.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|