What Is Activex: What Does Activex Do? Benefits of Activex

Total Page:16

File Type:pdf, Size:1020Kb

What Is Activex: What Does Activex Do? Benefits of Activex Khalil Rehman December 2, 2003 What is ActiveX: Microsoft® ActiveX™ is a set of technologies from Microsoft that enables interactive content for the World Wide Web. With ActiveX, Web sites come alive with multimedia effects, interactive objects, and sophisticated applications that create a user experience comparable to that of high-quality CD-ROM titles. ActiveX provides the glue that ties together a wide assortment of technology building blocks to enable these "active" Web sites. (Microsoft Corporation, July 1996) What does ActiveX do? It is designed to increase the dynamic designs of a website. The controls are components that can easily be inserted into a Web page or other application to reuse packaged functionality someone else has programmed. Benefits of ActiveX Some benefits of ActiveX are, • Active web content which attracts the user and retain their interest in the web pages. • Open cross platform support on Macintosh, Windows and Unix operating systems • The tools in which programmer wants to build ActiveX controls are very common and familiar like Visual Basic, Visual C++®, Borland Delphi, Borland C++, Java™, and Java-enabled tools • Existing inventory of ActiveX controls available today for immediate use by Web producers ActiveX VS Java ActiveX is a Microsoft platform dependent and works on window based machine and only work in the internet explorer browser. Once ActiveX controls install and run on the machine it doesn’t need to install and run again, saving the download time after first use. Java has been developed to work on any kind of machine and operating system and do not need of any kind of plug-in. Some Examples of making ActiveX controls Softwares Required: Microsoft Front page, Visual Basic 6.0 and windows media player 6.4 How to build ? ActiveX controls that you build in Visual Basic (or any language, for that matter) are not only useful in development tools but also in end-user applications. For example, you can embed an ActiveX control created in Visual Basic in an HTML document that will be viewed in a Web browser such as Microsoft Internet Explorer. The application in which an ActiveX control is displayed is referred to as the control’s container. Visual Basic is the ActiveX control container used for most of the examples however, keep in mind that your control might be activated in containers other than Visual Basic. Step 1: Open Visual Basic and click on the ActiveX Control icon Step 2: Right click on the left tool bar and click on components. In the components window check on window media player and Microsoft common dialogue 6.0 then click ok. You will find window media player and common dialogue button on the left toolbar. Step 3: Double click on the window media player and common dialogue button to insert them in the dotted area. Drag and adjust it as you like. Step 4: By double clicking in dotted area the code window will appear, write the following code Dim str As String Private Sub Command1_Click() CommonDialog1.ShowOpen str = CommonDialog1.FileName If str <> "" Then WindowsMediaPlayer1.FileName = str WindowsMediaPlayer1.Play End If End Sub Save it in the desired folder. You can run the program by clicking on the play button on the top tool bar Step 5: Go to files and click on make project.ocx Now the ActiveX control has been created How to run ActiveX control over the internet: Step 1: Create a .CAB( cabinet) file Click on start menu Go to programs Go to Microsoft Visual Studio 6.0 tools Click on Package and Deployment Wizard A new dialogue box will open. Browse where your project is and then click on the package icon. On Package Type dialogue box click on the internet package option. Follow the directions. Click yes when asked to create the package folder. In the File Source dialogue box check on Include in this cab and click next. In safety setting dialogue box change safe for scripting and safe for initialization to yes from no. Step 2: Package and deployment wizard will create an html file and .cab file with the same name in the package folder. Upload the cabinet file along with html file from the package folder to your krypton server or any other server you like. If your current security settings prohobit running ActiveX controls in your MS Internet Explorer 5.0 browser make sure that your Security Settings are not too restrictive to allow the download and installation of the ActiveX controls. Select Internet Options from the Tools menu and click on the Security tab. Here you will see that you can modify the security settings of two Web content zones (Internet and Local Intranet). This is so that you can allocate different settings to each zone. Setting the select box to “Low” and clicking on the Reset button in the Reset custom settings section will automatically set the settings to the appropriate level .Refresh the page again. Questions and Answers Short Questions Q 1. What is ActiveX controls? Ans. ActiveX Controls Reusable software components that incorporate ActiveX technology. These components can be used to add specialized functionality, such as animation or pop- up menus, to Web pages, desktop applications, and software development tools. ActiveX Controls can be written in a variety of programming languages, including C, C++, Visual Basic, and Java. Q 2. The difference between ActiveX and Java? Ans. ActiveX is Microsoft plateform dependent and Java is not dependent to any operating system. Q 3. What are the three benefits of ActiveX? The three benefits of ActiveX are as follows, • Ans. Active web content which attracts the user and retain their interest in the web pages. • Open cross platform support on Macintosh, Windows and Unix operating systems • Existing inventory of ActiveX controls available today for immediate use by Web producers Q 4. What is the difference between ActiveX and and ActiveX controls? Ans. An ActiveX component is just a general term, encompassing: • An ActiveX EXE • An ActiveX DLL • An ActiveX Control An ActiveX component is not: • Active, in any way, shape or form • A source of fibre that can help you lose weight as part of a calorie controlled diet Q5. What are the four core technologies of ActiveX ? Ans. The four core technologies of ActiveX are, ActiveX Controls ActiveX Scripting ActiveX Documents ActiveX Server Framework True False Q1. ActiveX controls are same as Java Applets Ans. False Q2. After their first oinitialization ActiveX controls do not need to download again and therefore take less time to execute. Ans. True Q3. Existing inventory of ActiveX controls available today for immediate use by Web producers. Ans. True Q4. Java Virtual Machine is the code that enables any ActiveX-supported browser such as Internet Explorer 3.0 to run Java applets and to integrate Java applets with ActiveX controls. Ans. True Q5. ActiveX is currently supported on the any operating system. Ans. True Multiple Choice Questions Q1. The ActiveX controls run over the internet by creating a ______________ file. a)exe b) cab c) doc d) jpeg (Ans is b) Q2. The tools in which programmer wants to build ActiveX controls is a) Visual Basic b) Visual C++® c) Borland Delphi d) All of the above (Ans is d ) Q3. ActiveX control is ______________ platform dependent. a) Linux b) Microsoft c) Macantoch (Ans is b) Q4. ActiveX are designed to __________ the dynamic designs of a website. a) Decrease b)alter c)Increase d) None of the above (Ans is c) Q5. One of the choice is not the core technologies of ActiveX. a) ActiveX HTML b) ActiveX Scripting c)ActiveX Documents d)ActiveX Server Framework (Ans is a ) .
Recommended publications
  • Adobe Introduction to Scripting
    ADOBE® INTRODUCTION TO SCRIPTING © Copyright 2007 Adobe Systems Incorporated. All rights reserved. Adobe® Introduction to Scripting NOTICE: All information contained herein is the property of Adobe Systems Incorporated. No part of this publication (whether in hardcopy or electronic form) may be reproduced or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written consent of Adobe Systems Incorporated. The software described in this document is furnished under license and may only be used or copied in accordance with the terms of such license. This publication and the information herein is furnished AS IS, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies, makes no warranty of any kind (express, implied, or statutory) with respect to this publication, and expressly disclaims any and all warranties of merchantability, fitness for particular purposes, and non-infringement of third-party rights. Any references to company names in sample templates are for demonstration purposes only and are not intended to refer to any actual organization. Adobe®, the Adobe logo, Illustrator®, InDesign®, and Photoshop® are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Apple®, Mac OS®, and Macintosh® are trademarks of Apple Computer, Inc., registered in the United States and other countries. Microsoft®, and Windows® are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries. JavaScriptTM and all Java-related marks are trademarks or registered trademarks of Sun Microsystems, Inc.
    [Show full text]
  • Scala Infochannel Player Setup Guide
    SETUP GUIDE P/N: D40E04-01 Copyright © 1993-2002 Scala, Inc. All rights reserved. No part of this publication, nor any parts of this package, may be copied or distributed, transmitted, transcribed, recorded, photocopied, stored in a retrieval system, or translated into any human or computer language, in any form or by any means, electronic, mechanical, magnetic, manual, or otherwise, or disclosed to third parties without the prior written permission of Scala Incorporated. TRADEMARKS Scala, the exclamation point logo, and InfoChannel are registered trademarks of Scala, Inc. All other trademarks or registered trademarks are the sole property of their respective companies. The following are trademarks or registered trademarks of the companies listed, in the United States and other countries: Microsoft, MS-DOS, Windows, Windows 95, Windows 98, Windows NT, Windows 2000, Windows XP, DirectX, DirectDraw, DirectSound, ActiveX, ActiveMovie, Internet Explorer, Outlook Express: Microsoft Corporation IBM, IBM-PC: International Business Machines Corporation Intel, Pentium, Indeo: Intel Corporation Adobe, the Adobe logo, Adobe Type Manager, Acrobat, ATM, PostScript: Adobe Systems Incorporated TrueType, QuickTime, Macintosh: Apple Computer, Incorporated Agfa: Agfa-Gevaert AG, Agfa Division, Bayer Corporation “Segoe” is a trademark of Agfa Monotype Corporation. “Flash” and “Folio” are trademarks of Bauer Types S.A. Some parts are derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm. JPEG file handling is based in part on the work of the Independent JPEG Group. Lexsaurus Speller Technology Copyright © 1992, 1997 by Lexsaurus Software Inc. All rights reserved. TIFF-LZW and/or GIF-LZW: Licensed under Unisys Corporation US Patent No. 4,558,302; End-User use restricted to use on only a single personal computer or workstation which is not used as a server.
    [Show full text]
  • Activex Controls and Plugins
    ePM Desktop Requirements Checklist Summary Hardware Intel® Pentium® III 933 MHz or higher (Recommended) Minimum Intel® Pentium® II 300 MHz 512 MB RAM or higher High Speed Internet Connection (Recommend 1 Mbps or greater) 1 GB Storage Desktop Software Microsoft Windows® XP Service Pack 2 Microsoft® Internet Explorer 6.01 or Microsoft® Internet Explorer 7.0 Acrobat Reader Project Document Manager Client Data Dynamics Active Reports Viewer Sun Java 2 Runtime (1.4.2) Microsoft .NET Framework Version 1.1 Redistributable Package Microsoft .NET Framework 3.5 Service Pack 1 Microsoft® Office 2003 or Office 2007 Professional Edition Microsoft Office 2003 / or 2007 Redistributable Primary Interop Assemblies Redistributable Primary Interop Assemblies* Microsoft Web Services Enhancements 2.0 Service Pack 3* Visual Studio 2005 Tools for Office Second Addition Runtime (VSTOR)* Required if using the ePM Office Business Applications or Desktop Quick Applications Administrative Rights Note: you must have administrative rights to your desk top computer or be able to perform the following: Open the following registries o HKEY_CLASSES_ROOT\PDM o HKEY_CLASSES_ROOT\LMC Desktop Requirements Page 1 ePM Desktop Requirements Internet Explorer Settings The following settings are required in Internet Explorer. The instructions below assume IE 7. If you are using another version of IE or another browser, please set accordingly. ePM set in trusted sites zone 1. In Internet Explorer, choose Tools > Internet Options. The Internet Options dialog box appears. 2. Click the Security tab. 3. Select Trusted Sites > Sites. The Trusted Sites dialog box appears. 4. Under Add this Web site to the zone, type https://epm.pbs.gsa.gov 5.
    [Show full text]
  • Using the Component Object Model Interface
    MQSeries for Windows NT V5R1 IBM Using the Component Object Model Interface SC34-5387-01 MQSeries for Windows NT V5R1 IBM Using the Component Object Model Interface SC34-5387-01 Note! Before using this information and the product it supports, be sure to read the general information under Appendix B, “Notices” on page 151. Second edition (April 1999) This edition applies to MQSeries for Windows NT V5.1 and to any subsequent releases and modifications until otherwise indicated in new editions. Copyright International Business Machines Corporation 1997,1999. All rights reserved. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Contents About this book ..................................... v Who this book is for ................................... v MQSeries publications . vi MQSeries cross-platform publications ....................... vi MQSeries platform-specific publications ...................... ix MQSeries Level 1 product publications ....................... x Softcopy books . x MQSeries information available on the Internet .................. xii Where to find more information about ActiveX ................... xii Summary of changes ................................. xiii Changes for this edition ................................ xiii Chapter 1. Introduction . 1 MQSeries Automation Classes for ActiveX overview ................ 1 Chapter 2. Designing and programming using MQSeries Automation Classes for ActiveX .................................. 3 Designing
    [Show full text]
  • SAEAUT SNMP OPC Server Supports Jscript (PDF)
    SAEAUT SNMP OPC Server supports JScript (Windows SAE – Automation, s.r.o. Nová Dubnica Solid And Effective partner at development Scripting) of your products and industry automation SAEAUT SNMP OPC Server support Windows Scripting - JScript. The purpose of the article is to introduce and give useful recommendations how to use the SAEAUT SNMP OPC Server for processing of SNMP data utilizing standard Windows Scripting - JScript. Introduction In typical SNMP usage, there are a number of systems to be managed, and one or more systems managing them (see below in the Figure 1). A software component called an agent runs on each managed system and reports information via SNMP to the managing systems. Data contained in the agent database depends on the specific function of the devices. Description of these data is made via standard called MIB (Management Information Bases). The company SAE–Automation, Ltd. has brought on the market very powerful management system called SAEAUT SNMP OPC Server and popularity of this management system is each day increasing. Management System Managed Element s e SNMP manager P SNMP agent SNMP manager g SNMP agent a Human M s N Network s S Manager e M Management Management Managed Objects database s database e P g a A s R s T e M Figure 1: The SNMP communication between SNMP manger and SNMP agents. 1 http://www.saeautom.sk, [email protected], tell.:+421-(0)42-445 07 01, fax: +421-(0)42-445 07 02, Address: Trenčiianská 19, 018 51 Nová Dubniica, Sllovakiia Finally, this document should perform as a user guide which will introduce the basic SNMP terms (manager, agent, MIB, Trap, etc.) and show you step-by-step, how to use the SAEAUT SNMP OPC Server which acts as SNMP manager for processing of SNMP data utilizing standard Windows Scripting - JScript.
    [Show full text]
  • Case Study: Internet Explorer 1994..1997
    Case Study: Internet Explorer 1994..1997 Ben Slivka General Manager Windows UI [email protected] Internet Explorer Chronology 8/94 IE effort begins 12/94 License Spyglass Mosaic source code 7/95 IE 1.0 ships as Windows 95 feature 11/95 IE 2.0 ships 3/96 MS Professional Developer’s Conference AOL deal, Java license announced 8/96 IE 3.0 ships, wins all but PC Mag review 9/97 IE 4.0 ships, wins all the reviews IE Feature Chronology IE 1.0 (7/14/95) IE 2.0 (11/17/95) HTML 2.0 HTML Tables, other NS enhancements HTML <font face=> Cell background colors & images Progressive Rendering HTTP cookies (arthurbi) Windows Integration SSL Start.Run HTML (MS enhancements) Internet Shortcuts <marquee> Password Caching background sounds Auto Connect, in-line AVIs Disconnect Active VRML 1.0 Navigator parity MS innovation Feature Chronology - continued IE 3.0 (8/12/96) IE 3.0 - continued... IE 4.0 (9/12/97) Java Accessibility Dynamic HTML (W3C) HTML Frames PICS (W3C) Data Binding Floating frames HTML CSS (W3C) 2D positioning Componentized HTML <object> (W3C) Java JDK 1.1 ActiveX Scripting ActiveX Controls Explorer Bars JavaScript Code Download Active Setup VBScript Code Signing Active Channels MSHTML, SHDOCVW IEAK (corporations) CDF (XML) WININET, URLMON Internet Setup Wizard Security Zones DocObj hosting Referral Server Windows Integration Single Explorer ActiveDesktop™ Navigator parity MS innovation Quick Launch, … Wins for IE • Quality • CoolBar, Explorer Bars • Componetization • Great Mail/News Client • ActiveX Controls – Outlook Express – vs. Nav plug-ins
    [Show full text]
  • The Microsoft Way: COM, OLE/Activex, COM+, and .NET CLR
    8557 Chapter 15 p329-380 8/10/02 12:24 pm Page 329 CHAPTER FIFTEEN The Microsoft way: COM, OLE/ActiveX, COM+, and .NET CLR In a sense, Microsoft is taking the easiest route. Instead of proposing a global standard and hoping to port its own systems to it, it continually re-engineers its existing application and platform base. Component technology is intro- duced gradually, gaining leverage from previous successes, such as the original Visual Basic controls (VBX – non-object-oriented components!), object link- ing and embedding (OLE), OLE database connectivity (ODBC), ActiveX, Microsoft Transaction Server (MTS), or active server pages (ASP). In the standards arena, Microsoft focuses mostly on internet (IETF) and web (W3C) standards. More recently, some of its .NET specifications (CLI and C#) where adopted by ECMA – a European standards body with a fast track to ISO (ECMA, 2001a, 2001b). Microsoft is not trying to align its approaches with OMG or Java standards. While Java figured prominently in Microsoft’s strategy for a while, it has been relegated to a mere continuation of support of its older Visual J++ product – in part as a result of a settlement between Sun and Microsoft. In addition, under the name Visual J# .NET, Microsoft offers a migration tool to .NET, primarily targeting users of Visual J++ 6.0. As part of the .NET initiative, Microsoft is promoting language neutrality as a major tenet of CLR and aims to establish a new language, C#. C# adopts many of the successful traits of Java, while adding several distinctive features of its own (such as value types) and not supporting key Java features (such as inner classes).
    [Show full text]
  • CONFIRMIT HORIZONS V19 USER SYSTEM REQUIREMENTS
    CONFIRMIT HORIZONS v19 USER SYSTEM REQUIREMENTS TABLE OF CONTENTS 1 ABOUT THIS DOCUMENT .................................................................................... 2 1.1 REQUIREMENTS FOR ON-PREMISE SERVER INSTALLATIONS .................................................. 2 1.2 RECOMMENDED VS. MINIMUM REQUIREMENTS ............................................................ 2 2 CONFIRMIT HORIZONS MODULES .......................................................................... 2 2.1 CONFIRMIT AUTHORING .................................................................................. 3 2.2 CONFIRMIT EXPRESS ...................................................................................... 5 2.3 CONFIRMIT REPORTAL .................................................................................... 5 2.4 CONFIRMIT SMARTHUB ................................................................................... 7 2.5 CONFIRMIT DISCOVERY ANALYTICS ........................................................................ 8 2.6 CONFIRMIT INSTANT ANALYTICS ........................................................................... 8 2.7 CONFIRMIT ACTIVE DASHBOARDS ......................................................................... 8 2.8 CONFIRMIT ACTION MANAGEMENT ....................................................................... 9 2.9 CONFIRMIT SURVEY ENGINE (RESPONDENTS) ............................................................... 9 2.10 CONFIRMIT TRANSLATOR ................................................................................
    [Show full text]
  • Avaya Contact Center Select
    Avaya Contact Center Select Release 7.0 Service Pack 1 Release Notes This document contains information on software lineup, known issues and workarounds specific to this release of Avaya Contact Center Select. Avaya Contact Center Select Release Notes Table of Contents Purpose ......................................................................................................................................................... 4 Publication History ........................................................................................................................................ 4 Software Information .................................................................................................................................... 5 Hardware Appliance .................................................................................................................................. 5 Software Appliance ................................................................................................................................... 5 Avaya Aura Media Server OVA .............................................................................................................. 5 Avaya WebLM OVA ................................................................................................................................ 5 Migration Tool for RCW Generated Reports ......................................................................................... 5 DVD Product Installation ..........................................................................................................................
    [Show full text]
  • Auditing Activex Controls
    Auditing ActiveX Controls Cesar Cerrudo Independent Security Researcher/Consultant Outline • ActiveX definition • ActiveX security • Auditing ActiveX • Demo • Preventing ActiveX exploitation • References ActiveX control Basically an ActiveX Control (formerly known as OLE control) is software based on the Component Object Model(COM). ActiveX controls are portable and reusable and can be used in many programming and scripting languages. They are widely used by web based applications to extend their functionality (ie: Windows Update site, etc.). ActiveX security • ActiveX security is most based on “trust” – If you trust the author. – If you trust IE. – If you trust the site, etc. • No sandbox to restrict access to system resources. • Once an ActiveX is run it can perform any action on the system. ActiveX security • ActiveX controls can be signed or unsigned – Signed doesn’t mean that the control is safe. – Signing only helps to identify the control’s author and that the control wasn’t modified. – Ignored when controls are not installed from Internet Explorer. ActiveX security • ActiveX controls can be marked as safe – Again, this doesn’t mean that the control is safe. – By the existence of some registry subkeys: subkey {7DD95801-9882-11CF-9FA9- 00AA006C42C4} means safe for scripting, subkey {7DD95802-9882-11CF-9FA9- 00AA006C42C4} means safe for initialization. – By IObjectSafety interface. ActiveX security • ActiveX controls can be restricted to run only under specific domains – Using SiteLock template or custom code. – After the control is run the actual URL is checked against allowed domains, if it doesn’t match, execution can be aborted. – Can be easily defeated by XSS and IE cross domain issues.
    [Show full text]
  • Managing the Windows 7 Desktop Environment
    Chapter 5 Managing the Windows 7 Desktop Environment INFORMATION IN THIS CHAPTER ■ Local Management Tools ■ Managing Hardware Devices and Drivers ■ Managing Disks and File Systems ■ Summary Windows 7 comes with a variety of tools for managing your system. There are tools for managing the local system, managing hardware and devices, and managing disks and file systems. Some of these tools are new, and some have been around for a while. Windows 7 can be a quite complex operating system. So you need to make sure that you understand all the tools that have been created to make the job of managing systems easier. LOCAL MANAGEMENT TOOLS Windows 7 includes many management tools to help manage your system. We will review a few of the most commonly used ones. These are as follows: ■ Control Panel ■ Microsoft Management Console 3.0 ■ Computer Management Console ■ Local Group Policy Editor ■ Windows Registry Each of these management tools serves a different purpose and provides dif- ferent functionality. It’s important that you have a good understanding of all these tools in order to properly manage your system. © 2010 Elsevier Inc. All rights reserved. DOI: 10.1016/B978-1-59749-561-5.00005-X 305 306 CHAPTER 5 Managing the Windows 7 Desktop Environment Control Panel The Control Panel has long been a central place to go to configure your Win- dows system. The look has changed over the years, but tools have stayed pretty similar, with a few additions. The Windows 7 Control Panel is broken down into several categories and subcategories. Control Panel is accessed from the Start menu.
    [Show full text]
  • Configure the Settings of the Camera
    Configure the settings of the camera Before mounting the camera, read this leaflet. Configuring the camera so that it can be accessed from a PC The following are descriptions for when the camera with default settings is configured. If you are using firewall software on your PC, the Setup Program may not be able to find any cameras on your network. Configure the setting of the camera after temporarily invalidating the firewall software. Insert the provided CD-ROM into the CD-ROM drive of your PC. 1 ⿟ The License Agreement will be displayed. Read the Agreement and choose “I accept the term in the license agreement”, and click [OK]. ⿟ The launcher window will be displayed. If the launcher window is not displayed, double click the “CDLauncher.exe” file on the CD-ROM. Note ⿟ Refer to “Using the CD-ROM” in the Operating Instructions on the provided CD-ROM for further information about CDLauncher. Click the [Run] button next to [IP Setting Software]. 2 “Panasonic IP Setting Software” page will be displayed. 3 Select the camera you want to configure, and click [Access Camera]. Note ⿟ When cameras are displayed in [IP Setting Software] screen, click the camera with same MAC address as the MAC address printed on the camera that you want to configure. It is necessary to install the viewer software “Network Camera View 4 4S” to display images. Follow the instructions of the wizard to start the installation. ⿟ The “Live” page will be displayed. Cs0112-0 PGQW1165ZA Note ⿟ When no image is displayed on the “Live” page, refer to “Troubleshooting” in the Operating Instructions on the provided CD-ROM.
    [Show full text]