Solved

regsvr32 and grid32.ocx

Posted on 1998-01-27
3
829 Views
Last Modified: 2008-02-01
Hello,
Using VB 5.0, I created simple program that displays information using the MS Grid control. I used the setup up wizard to create installation disketes. However when I try to install the program on another machine I get an error msg about not being able to register grid32.ocx. So then I try to do it manually using the regsvr32 file and that give me an error stating that it is not a valid dll file.
The weird thing is that I am also using other controls, such as the pull tabs, which present no problem at all.
Anyone experience this b4?

Thanks
marcelo
0
Comment
Question by:sinner052397
3 Comments
 
LVL 1

Expert Comment

by:Future
ID: 1453645
Hmm, I don't even have grid32.ocx on my system (VB5 professional).  I think the latest grid control is msflxgrd.ocx.  You might try using that instead.
0
 
LVL 6

Accepted Solution

by:
anthonyc earned 100 total points
ID: 1453646
msgrid.ocx is not an activeX control, it's an old style OLE control, and from what I hear, can't be run in VB5.  Use FlexGrid, it's similar.
0
 

Author Comment

by:sinner052397
ID: 1453647
thanks for your help...
But... If OLE controls are no longer suported by VB 5.0 then why is the original grid control still offered as a control from the VB control options? And further still... why would VB 5.0 even let you use it?

Oh well, I'll use flex grid instead and hope that works!
Thanks!


0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question