Results 1 to 4 of 4

Thread: Installing visual basic 6.0/32-bit applications in Windows 7

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2010
    Posts
    14

    Installing visual basic 6.0/32-bit applications in Windows 7

    Hi

    I am not a overly technical person, but am looking for some information on how to install a 32-bit VB 6.0/Access application on a Windows 7 PC. The application is an executable that accesses an Access DB through ODBC. We have a standard install package (setup.exe) that was created probably 5 years ago that installs system files needed to support the application.

    I know there is a WOW environment in Windows 7 on which 32-bit applications can run and that these applications are supposed to run correctly in a 64-bit environment. However, I also know someone in our organization tried to install our 32-bit appl. and nothing happened.

    Are there general resources for installing 32-bit appls. in Windows 7 available?

    Paul

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Installing visual basic 6.0/32-bit applications in Windows 7

    I never had a problem with installing an applicaiton on W7 or Vista.

    How is your installer created? Did you try right click > Run as administrator? (but Windows should auto elevate it if it contains words like update, install, setup in the file name)

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Installing visual basic 6.0/32-bit applications in Windows 7

    Moved To Applications Deployment

  4. #4
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Installing visual basic 6.0/32-bit applications in Windows 7

    ODBC is really the long way around to get to a Jet MDB. Either using DAO or ADO and the Jet OLEDB Provider are more common. One snag with ODBC is the tendency to use DSNs, which often live in the Registry. Using ADO you have the option of "DSN-less" connections or UDL files (How To Use Data Link Files with ADO).

    But that may not be part of your problem depending on whether the ancient ODBC driver is present in Windows 7. It may only be installed if MS Access is installed, where ADO and the Jet OLEDB Provider are part of Windows now.


    If you haven't been keeping up Vista introduced some changes to harden the system against several classes of exploits. Part of this is the protection of different parts of the filesystem and registry, along with filesystem and registry virtualization for old programs. These can lead to several troubling issues for programs that haven't been following the guidelines Microsoft put out a long time ago.

    On 64-bit Windows there are other issues, such as registry and filesystem redirection. This causes a 32-bit process to see different locations than actually specified in the program. For example %WinDir%\System32 normally gets redirected to %WinDir%\SysWOW64 where 32-bit libraries and such live.

    You can also run into some display issues due to High-DPI settings that Win7 will default to if you have a high resolution monitor.

    Some problems can be worked around if you manually adjust application compatibility settings after installing your program. Many of these are exposed in the Properties of an EXE (navigate to the EXE in Windows Explorer, right-click, choose Properties...).


    There is a FAQ post here for many of these issues. You won't find any general guidelines from Microsoft though becuse of the support status of VB6 (i.e. VB6 is no longer supported at a level offering any new developer information).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width