Solved

regsvr32 and grid32.ocx

Posted on 1998-01-27
3
830 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…

734 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