Question : SNAPVIEW.OCX

Have a user who was using a VB6 front end and MS Access 97 database. The developer is long gone and I am taking over supporting the application. Last month our MS office was upgraded across our company to 2007 and we haev Access 2007 now installed on our machines. Now when I try to open the Access 97 database in 2007 I get a OCX error repeatedly as shown in attached screen shot. After escapting multiple times I can access the database. I am not sure what this OCX does and why it is not working 2007 anymore. Can anyone shed any light on this control and it is really required ?
 
screen shot
329770
 

Answer : SNAPVIEW.OCX

Not only will proper indenting make the script more readable, it will also fix your error as your if/then/else block will be correct.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
#!/bin/bash

VERSION=27.5.65 
for server in xldn0323bap xldn0322pap 
do 
  echo "Server: $server" 
  echo "Deleting old data... from /sbclocal/apps/ske/SKERelease-Temp/" 
  ssh $server 'rm -rf /sbclocal/apps/ske/SKERelease-Temp/*' 
  echo "Copying build..." 
  scp xldn1515vdap:/sbclocal/etdet/teamcity/published-builds/${VERSION}/Build/tars/SKE_Installer-${VERSION}.tar $server:/sbclocal/apps/ske/SKERelease-Temp/ 

  if [ "${server:8:1}" = "b" ]
  then 
     DEPLOYS="WASDeploy CLPDeploy" 
     SUFFIX="DR" 
  else 
     DEPLOYS="DBDeploy WASDeploy CLPDeploy" 
     unset SUFFIX
  fi

  for deploy in $DEPLOYS 
  do 
    echo "Untaring ${deploy}..." 
    DIRNAME="/sbclocal/apps/ske/SKERelease-Temp/${deploy}${SUFFIX}" 
    echo "Making DIRNAME $DIRNAME"
    ssh $server mkdir $DIRNAME
    ssh $server tar -xvf /sbclocal/apps/ske/SKERelease-Temp/SKE_Installer-${VERSION}.tar -C $DIRNAME 
    done 

done
Random Solutions  
 
programming4us programming4us