Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

  

  

  Chilkat ActiveX Components

  Chilkat .NET Components

  Chilkat C++ Libraries

  

  

  

  

 

FAQ

This product is no longer sold.

License Download Click Here to get a 30-day evaluation licensePurchaseExamples

Cost for Single-User license: $19

The EXE Stuffer ActiveX component allows you to insert anything into an EXE including files, text data, or binary data. An EXE can then easily access the data previously stuffed into it.

The data inserted into an EXE is stored as a Windows custom named resource. This component is intended for stuffing custom data in your EXE, and not for manipulating standard Windows resources such as bitmaps, icons, etc.

This software runs on Windows 95, 98, Me, NT, 2000, and XP.

Methods

UnlockComponent( UnlockCode As String )
To use this component, you must first unlock it at runtime after it is first instantiated. You can use a 30-day unlock code obtained by clicking on the link above, or a valid license code sent to you after purchasing this component.
OpenExe( ExeFilename As String )
Opens an EXE so that resources can be inserted or deleted.
OpenMyExe( )
Opens the currently running EXE so that resource data can be accessed. You cannot insert or delete resources from the currently running EXE.
WriteExe( ExeFilename As String )
Writes the EXE with changes to disk. The original EXE is not modified, and the ExeFilename must be different than the original EXE.
InsertBinary( ResourceName As String, BinaryData As Variant )
Inserts binary data into the currently open EXE.
InsertFile( ResourceName As String, Filename As String )
Inserts the contents of a file into the currently open EXE.
InsertString( ResourceName As String, TextData As String )
Inserts text data into the currently open EXE.
Delete( ResourceName As String )
Deletes a named resource from the currenlty open EXE.
GetBinary( ResourceName As String ) As Variant
Returns a copy of the binary data from a named resource in the currently open EXE, which would typically be the currently running EXE of the caller (opened by calling OpenMyExe).
GetString( ResourceName As String ) As String
Returns a copy of the text data from a named resource in the currently open EXE, which would typically be the currently running EXE of the caller (opened by calling OpenMyExe).

Examples

You must replace the parameter in the call to UnlockComponent with a valid unlock code. Examples are included in the download.

To Stuff Data into an EXE

    Dim ExeStuffer1 As ExeStuffer
    Set ExeStuffer1 = new ExeStuffer
    ExeStuffer1.UnlockComponent "unlock_code"
    ExeStuffer1.OpenExe "myExe.exe"
    ExeStuffer1.InsertString "test", "Here is some data"
    ExeStuffer1.WriteExe "myExe1.exe"

To Use Data from an EXE

    Dim ExeStuffer1 As ExeStuffer
    Set ExeStuffer1 = new ExeStuffer
    ExeStuffer1.UnlockComponent "unlock_code"
    ExeStuffer1.OpenMyExe
    Text1.Text = ExeStuffer1.GetString("test")


Privacy Statement. Copyright 2000-2008 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, and Windows 95/98/NT4.