Solved

regsvr32 and grid32.ocx

Posted on 1998-01-27
3
828 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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

803 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