Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > Register component ??


Reply
 
Thread Tools Display Modes
  #1  
Old 10-14-2000, 03:18 AM
dusteater
Guest
 
Posts: n/a
Default Register component ??


I have an application that was installed on a system and I have since changed the program. I was able to just compile the program and copy the .exe file to the system amd all works OK except that I added a DataGrid to the new version, so now the program won't show the form with the data grid ( Error Message: MSDataGrid.ocx is not registered and one or more files are missing....) I am hoping I can just install the ocx and register it...Is this possible? My .exe is only 700kb but to install the program with the Package and Deployment Wizard it takes over 7MB!! I would rather not have to go through the entire process of installing the entire program every time I make a revision. Any ideas??
Thanks Rick

Reply With Quote
  #2  
Old 10-14-2000, 12:30 PM
makai
Guest
 
Posts: n/a
Default Re: Register component ??

just try it

your ocx file is probably in
c:windowssystemdbgrid32.ocx

copy it to the new machine and register it

Reply With Quote
  #3  
Old 10-14-2000, 05:04 PM
dusteater
Guest
 
Posts: n/a
Default Re: Register component ??

OK so how do I register it?


Reply With Quote
  #4  
Old 10-14-2000, 08:17 PM
BillSoo's Avatar
BillSoo BillSoo is offline
Code Meister

Retired Moderator
* Guru *
 
Join Date: Aug 2000
Location: Vancouver, BC, Canada
Posts: 10,441
Default Re: Register component ??

I don't have my docs here at home but I think it is simply

c:windowssystem
egsvr32 dbgrid32.ocx

"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
__________________
"I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder
Reply With Quote
  #5  
Old 10-15-2000, 02:39 AM
dusteater
Guest
 
Posts: n/a
Default Re: Register component ??

Well it worked! I got the error message and it stated msdatgrd.ocx was not registered so I copied it from my computer to the host (It is in Windows/system) and it all works great!!
Thanks
Rick

Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->