background preloader

Tech Bits

Facebook Twitter

iTunes

A Complete ActiveX Web Control Tutorial. Download demo project - 231 Kb Introduction ActiveX is a Microsoft technology developed in the mid 90’s, that allows for the creation of applet-like applications that can be downloaded and run within Microsoft's Web browser. This article is intended for Visual C++ developers who are trying to learn how to develop their first ActiveX control for a web application but finding it difficult. While trying to learn this technology myself, I found much of the information available on ActiveX was either no longer available, out of date, or missing critical information, making it extremely difficult for me to create an ActiveX control necessary for my development project.

This article is intended to help you get up to speed quickly with developing an ActiveX control. For this tutorial, we will create an ActiveX control that displays a progress bar animated GIF when the control is loaded as a way to indicate to users that the control is loading and processing information. Figure 2. Figure 3. Embedding executable in HTML. Hello edwardcrosby, 1. The basic underlying technology behind ActiveX is COM (Component Object Model) which is a Microsoft Technology. 2. An ActiveX control can indeed be embedded inside an HTML page with visual display. Such ActiveX controls are DLLs. 3. 4. "ActiveX Control Tutorial" "A Complete ActiveX Web Control Tutorial" 5. 6. 7.

Best of luck, edwardcrosby, - Bio. How to run .exe on a Webpage | CodeReflex.net. By Syed Asad Ahmed | Section: Css-HTML, JavaScript | Posted on: March 31, 2011 | 34 Comments | 31372 Views There are certain scenarios where you need to run your .EXE file through HTML page. In this blog I will show you how can you achieve this task on html page by using JavaScript. <a href="javascript:LaunchApp()">Click here to Execute your file</a> The above code will call a user-defined function LaunchApp() which you can see in the following code snippets. function LaunchApp() { if (! Document.all) { alert ("This ActiveXObject is only available for Internet Explorer"); return; var ws = new ActiveXObject("WScript.Shell"); ws.Exec("D:\\Software\\youfile.exe"); Thanks for Indika Prabath for raising this issue which would definitely help others.

As there is so much demand of how the above can be implemented in firefox browser. ActiveX With C# - C# Tutorials. Untitled Page. Time Zones And Daylight Savings Time This page describes code for working with Time Zones and Daylight Savings Time. Neither VBA nor VB6 provides any native functions for working with Time Zones, Greenwich Mean Time (GMT, also called UTC), or Daylight Savings Time. To work with these values, you must use some Windows Application Programmatic Interface (API) functions. This page describes these API functions and how to use them in your VBA code. A NOTE OF CAUTION: Windows API functions are unforgiving. Names And Abbreviations: Although the name for the time of a official atomic clock is Universal Coordinated Time (UTC), we will use on this page and in the sample code, the term 'Greenwich Mean Time' or 'GMT'.

You can download a bas module file containing all the code discussed on this page. The core of all the functions presented on this pages is the API function GetTimeZoneInformation and the structure named TIME_ZONE_INFORMATION that the API function populates with data. How to simulate mouse movements to prevent screen saver activation? - Windows XP Support. Great job! I agree 100% - the bonehead administrators have no clue about the work life of average developers. I too work with at least 2 computers, sometimes 3 or 4. Besides which, a single call or meeting will activate all the screen savers. I needed to use this tool while working remotely for a client of mine who has this stupid policy (and refused to change it).

I took the code and compiled it using .net 2.0 framework... works great. Here is the main Form1.Cs file if anyone wants to do the same using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace KeepAlive { public partial class Form1 : Form { [DllImport("User32.dll")] private static extern int SetForegroundWindow(IntPtr hWnd); [DllImport("User32.dll")] private static extern IntPtr GetForegroundWindow(); public Form1() { InitializeComponent(); } Play framework - Home.

HTML5 CSS3

MS Office. O'Reilly - Safari Books Online - Home. Base64 Online - base64 decode and encode. This online sample demonstrates functionality of a base64 property, ByteArray class and Huge asp file upload. You can convert texts using several code pages (using CharSet property) from Unicode string to byte array and then convert the binary data to a Base64 string.

The sample uses a special Base64 algorithm written for the ByteArray class. The Base64 conversion algorithm is written in C++ and works with binary (VT_ARRAY | VT_UI1) and String (BSTR) OLE data. It contains hi-speed and low-memory consumption BSTR->BSTR, BSTR->BINARY, BINARY->BSTR and BSTR->BSTR algorithms. Another online samples (utilities, converting, upload) On-line base64 decoder and encoder - let's you convert text data and files from/to a Base64 string.