Solved

regsvr32 and grid32.ocx

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

867 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now