Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > ocx files????


Reply
 
Thread Tools Display Modes
  #1  
Old 11-25-2001, 09:34 PM
gotenks007
Guest
 
Posts: n/a
Default ocx files????


i wrote this program which uses some microsoft ocx files like common dialog and windows common controls and when i compile the exe and send it to people it says that it cannot run because there missing the ocx file.
Reply With Quote
  #2  
Old 11-25-2001, 09:38 PM
robot313's Avatar
robot313 robot313 is offline
Senior Contributor

Retired Leader
 
Join Date: May 2001
Location: North Carolina, USA
Posts: 1,295
Default Re: ocx files????

Use the Package and Deployment Wizard that comes with VB to make a setup program for your program. It will install all the files that your program needs. You could also use Inno Setup. Link here.
Reply With Quote
  #3  
Old 11-25-2001, 09:40 PM
orufet's Avatar
orufet orufet is offline
Paranoid Coder

Retired Leader
 
Join Date: Mar 2001
Location: Canada
Posts: 2,716
Default Re: ocx files????

An ocx file is an ActiveX control. Any ActiveX control you include within your program must be present on the computer running your program. Instead of just sending people the exe file (which I suspect you are doing), create a setup file with the Package and Deployment Wizard, which ships with VB. When you create your setup file, include the required ocx and dll files. This will install the files on the target machine so that they can be used in your program.
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
 
 
-->