![where do .ocx files go? where do .ocx files go?](https://2.bp.blogspot.com/-Yhsr4o6Mke4/WVgH3EzD0LI/AAAAAAAAAhc/6OcsQ7JVGjQBCi7daRCwaQ6MwXcdb-EXwCPcBGAYYCw/s1600/failedtoload1.png)
Use within Visual Basic, C++, Delphi, and other "COM aware" programming
#Where do .ocx files go? download
Simultaneously is create a control array (or several instances of that ActiveX control) onĪ form, set each one to download a different file to a different destination, and cut 'emĪll loose! BOOM! Multi-threading, baby! Multiple downloads that are All you'd have to do to download multiple files
![where do .ocx files go? where do .ocx files go?](https://i.stack.imgur.com/V7io6.jpg)
Site you specify and downloads the file you specify to a destination file on your hardĭrive that you specify. Their own threads, you can create a "multi-threaded" application by embeddingįunctionality into an ActiveX control and having them do your application's work.įor example, you could create a "Download Control" that simply goes to the FTP Your ActiveX control that takes down the rest of your program, but that is VERY unlikely. Space as your main application though, so it is possible for something to go wrong with The ActiveX control DOES get loaded into the same memory Graphics work, database connectivity, data transferring, or sub-classing within yourĪctiveX Control and something goes wrong, the ActiveX will freeze instead of your entireĪpplication freezing up. If you are handling some intense processing,
![where do .ocx files go? where do .ocx files go?](https://windows-cdn.softpedia.com/screenshots/VB6-OCX-Pack_1.png)
#Where do .ocx files go? code
Main application's code is cleaner and simpler.Ĭontrols over just coding the functionality into your main application is the ActiveXĬontrol runs in its own thread. This takes a LARGE amount of code off of our main application so that your It could alsoĬontain data validation for information being passed in to be displayed in the TreeView or Which resizes them dynamically when the ActiveX control is resized. For example, you could create an ActiveX control thatĬontains several smaller controls like a TreeView on the left, and a ListBox on the right Your main application, and allow your code in your main application to be cleaner andīe to create a control that does things for you in order to take processing and code off PictureBox that does this kind of custom functionality would take that kind of work off of (most often a PictureBox) can do that kind of work for you? Creating a custom But why bother if the thing you're displaying the picture on Of custom coding into your application, or by using my Advancedīitmap Processing module (along with the JPEG module posted on this site), or You can get this functionality by putting in a HUGE amount No standard Visual Basic controlĬan do this custom work. Like to create a PictureBox that loads and saves BMP, JPEG, and GIF pictures, as well asĪdds special effects to them when they are loaded. That no standard control can do, or it can be a control that works exactly like a standardĬontrol works, but with slightly changed functionality, properties, events, and/or This tool can be a custom control to do something Just as native types (like String, Integer, and Long) are the building blocks of customįile), you are creating a TOOL. ActiveX Controls are the building blocks of applications, Label, Timer, etc., are all ActiveX controls as well, only they are built into Visualīasic as native controls. MDI Form, Property Page, User Document, or User Control) so the user interface can be The difference between an ActiveX control and an ActiveX DLL is that anĪctiveX control has a user interface and requires you to put it on something (like a Form, Similar to a Standard VB Class Module or ActiveX DLL with properties, methods, andĮvents. Assumes that you've already read and understood Lesson 1 and 2)Ĭreate an "OCX" file (commonly called an ActiveX Control, or COM Control), and