Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 29th, 2005, 05:31 PM
Authorized User
 
Join Date: Nov 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default install ocx file

I've created a custom activex control in vb6. It runs fine on my machine (where vb6 is installed). I used the Package and Deployment Wizard to create the files necessary to install it on another computer. When I try, I get "Setup cannot continue because some of the system files are out of date. Do you want setup to update these files?" If you say yes, it asks for a reboot. When its rebooted, I try again, and I get the same messages. What am I missing? The computer I'm trying to install it on is running Windows 2000, if it matters.
 
Old November 29th, 2005, 05:38 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

Are u using data components in your control.

Regards
Ankur Verma
 
Old November 29th, 2005, 05:49 PM
Authorized User
 
Join Date: Nov 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No data components. Its intended to be used in Access, but its not bound in any way.

 
Old November 30th, 2005, 07:54 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

Check these articles.
http://support.microsoft.com/default...b;en-us;191096
http://support.microsoft.com/default...b;en-us;255516
http://support.microsoft.com/default...b;en-us;831491

Regards
Ankur Verma
 
Old November 30th, 2005, 01:27 PM
Authorized User
 
Join Date: Nov 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, I actually found that first message after I posted yesterday. Does it seem unreasonable to anyone else that all these steps need to be taken to get this program to install? I'm fortunate that I am only installing this in my own company (unfortunately not at my location), but what if I had written this program for general distribution? How would I explain all these complex steps over the telephone to every client? Is there no way to address these issues when the setup files are created?
 
Old December 2nd, 2005, 05:57 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

Ya, having created the app and the setup, just when you begin to feel that all the work is over, having to do these many things to get the installer to run does sound like too much work. But my opinion is that VB's "Setup and deployment wizard" has long been relegated to the ranks of mediocre installer making tools. I gave up using this wizard long ago. If you want to create true professional looking setups that can be configured to take care of "all those issues", try something like an Install Shield.

Regards
Ankur Verma





Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding .ocx file created in VB 6.0 into Infopath g_b_mk VB.NET 2002/2003 Basics 1 December 5th, 2007 02:52 AM
need a specific .OCX file louki VB.NET 2002/2003 Basics 0 June 4th, 2006 05:36 AM
Creating .ocx file in .net roy VS.NET 2002/2003 2 April 12th, 2005 07:58 AM
missing .ocx file for DesignSchemes Jim Shores BOOK: Expert One-on-One Access Application Development 6 July 8th, 2004 06:50 PM
MSFLXGRD.OCX and MSDATGRD.OCX Clive Astley Access 1 July 25th, 2003 08:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.