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 March 14th, 2006, 01:35 AM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 101
Thanks: 0
Thanked 1 Time in 1 Post
Default MSGRID.GRID and grid32.ocx

I have a brand new computer which was freshly loaded with Visual Basic 6.0. I have copied all the code from the previous computer to this new one.

But loading a project produced the following error.

Class MSGrid.Grid of control grdS101 was not a loaded control class.

So I did some research and I think that this means that the ocx file, grid32.ocx, needs to be loaded. I did a search of my hard drive and I found that this file was missing. The only thing close to it was dbgrid32.ocx.

Is this the same thing? If so, how do I “load it”? If not, where do I find grid32.ocx and what do I have to do to load it?


 
Old March 14th, 2006, 04:06 AM
Authorized User
 
Join Date: Mar 2006
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Copy it from previous computer to same location as the previous and then register using regsvr32 (e.g. copy it into 'C:\windows\System32', then run command line and type: 'regsvr32 grid32.ocx').
Or search the web and download it form there.

Peko






Similar Threads
Thread Thread Starter Forum Replies Last Post
mscomct2.ocx CloudNine Access 2 January 15th, 2004 08:12 PM
Use Ocx saulodet ADO.NET 0 January 5th, 2004 01:32 PM
DBGRID32.OCX jdeaver Beginning VB 6 2 December 22nd, 2003 04:36 PM
OCX question imran189 VB Components 2 December 18th, 2003 07:25 AM
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.