problems running application under custom shell

  • Thread starter Thread starter Defcon31
  • Start date Start date
D

Defcon31

hello,
i made my owm vb application as shell.
when i double click my app in explorer, it starts and it works fine !!!!!,
but when my application starts as custom shell it has a very strange
behaviour.
for example: when i let it read data from an ini-file, it returns always
"0".
any ideas what might be the problem?
thanks in advance
 
ini file?

When you start you app as shell default folder is different from default
folder when you run it manually.
Change default folder, or use absolute path to your ini file.


Regards,
Slobodan
 
hi,

Slobadan is right and the path change should have made it work as
first priority .

If the app has taken off from the explorer I guess that your app is in
need of some Explorer / Component dependencies.I would rather use the
utlitlites available and plunge to understand the Resources that the
app lack inorder to intialize by the dlls that had been used etc.

If the app takes the support of any drivers inorder to streamline the
output,
then make sure that the Driver/Resources are initialised before the
app gets Started.I would also put a delay loop before the call for ini
occurs rather to give the resources or drivers some time to get
initialised which when from explorer gets ample time to get
initialised.

I guess that the solution revolves around this.

Regards
Kesavan
 
Back
Top