ActiveX component to retrieve password

ActiveX component to retrieve password

This is a small ActiveX component that allows you to retrieve the database password of every password-protected mdb file that created with Microsoft Access 95/97/2000/XP or with Jet Database Engine 3.0/4.0 .
You can use this component in all development tools that supports ActiveX components, including Visual Basic, Visual C++, Microsoft Access, Delphi, and other development tools.

Limitations:
  • Passwords of Access 2000/XP files cannot be recovered if their length is longer than 18 characters.
  • This ActiveX DLL can only reveal the main database password. It cannot recover the user-level passwords.
In order to start using this ActiveX DLL, you have to register it on your machine. You can use the regsvr32 utility for registering the Access PassView ActiveX component. In order to do it, type the following command: regsvr32 accesspv.dll

The Access PassView ActiveX package includes a Visual Basic sample that demonstrates how to use this component. You can watch it by opening the accesspv.vbp project.

Download Access PassView ActiveX DLL v1.00
Visit Publisher's homepage
Dynamic Resizable Skins Demo v1.2

Dynamic Resizable Skins Demo v1.2

Dynamic Resizable Skins Demo

How to combine transparency AND resizability. Check it out.
Skin loading is now 50% faster thanks to using a cache file for storing region (transparency) data.

Download source code
kewlpad.deviantart.net
Home of kewlpAd - The skinnable notepad.


VB 2005 Power Packs 2.0

VB 2005 Power Packs 2.0

# A new set of Line and Shape controls
# Updated Version of PrintForm component
# Updates of Printer Compatibility Library.

Microsoft Visual Basic 2005 Power Packs 2.0 includes a new set of Line and Shape controls and updated versions of the two previously released Visual Basic 2005 Power Packs, the PrintForm Component and the Printer Compatibility Library. All three are now included in a single assembly making them even easier to use and redistribute with your application.

System Requirement: Microsoft .Net Framework 2.0

Download VB 2005 Power Pack 2.0 - Download/View Readme file

VB6.0 Sample: MSComm Control Techniques

VB6.0 Sample: MSComm Control Techniques

NewVBTerm.exe is a sample that demonstrates various MSComm control techniques that include answering the modem, simple text file transfer, data receipt and processing, packet reassembly, and use of the OnComm event.

NewVBTerm.exe is a sample that demonstrates various MSComm control techniques that include answering the modem, simple text file transfer, data receipt and processing, packet reassembly, and use of the OnComm event.

Download NewVBTerm.Exe
www.microsoft.com


Access to IDE with vbAdvance

Access to IDE with vbAdvance

VB5 and VB6 are able to build true Win32 native code executables by using what is essentially the Visual C++ compiler and linker. These build tools are a part of every VB 5 and VB 6 installation* and are as full featured as those found in Visual C++. However, the Visual Basic user interface provides access to only a subset of the capabilities found in this extremely powerful build system. For example, function exports and console subsytem applications can be built using the tools that ship with VB 5 and 6, but VB does not provide you with a way to access these features. The features are not missing, you just aren't given a way to access them..

vbAdvance gives you this access. On a per-project basis, you are able to access and configure these powerful build settings, as well as a host of other IDE convenience features. The result is that a range of capabilities that were previously unavailable are now made available to VB developers.

Download the latest vbAdvance
Visit Homepage to read more details


Create a Standard Windows DLL in VB

Create a Standard Windows DLL in VB

It is generally said that a "standard" DLL with exported functions cannot be made in VB. In fact, it only requires a simple process of hooking into the linker command line at compile time, in order to tell VB to add extra functions to the export table.

Thank you to Ron Petrusha for this. Although creating a standard DLL (or controlling the compiler switches generally) turns out to be an extremely simple task, it is not at all an obvious one.

Download vbdll.zip (22kb)

fullnotes: jsware
HTTP UserControl for File Download

HTTP UserControl for File Download

This is a UserControl for downloading files via HTTP. It uses Winsock1.1 (wsock32.dll) for functionality, making it compatible with all versions of Windows from Win95 up. The only dependency is the VB6 runtime. You don't need to bother with the Winsock OCX or check the installed version of IE.

This UC is fairly basic. It starts Winsock, connects to a server, requests a file, and handles the download. Server response codes and redirect info. (if any) are also retrieved with the file, and there are functions to write text and binary files to disk after download.

Download httpuc.zip (12kb)

fullnotes: jsware

URLLink - Simply URL control demo program

This example program demonstrates how to automatically load a user's web browser and point it to a particular web site. The URL can also be a data file that has an extension that has been registered by an application on your system. The appropriate application is automatically loaded with the specified data file or URL.
The code is implemented as a simple control. The text (which can be
different from the actual URL) is displayed with an underline and the mouse pointer changes to a hand when it is over the text. The URL property specifies the URL or data file that is loaded when the text is clicked. If the ShowToolTip property is true, a tooltip with the underlying URL is displayed when the mousepointer is parked over the text.
The only event, GoToURL, gives you a chance to change the URL
or cancel altogether after the text is clicked.

Download source code here

Author:
SoftCircuits Programming
http://www.softcircuits.com
P.O. Box 16262 Irvine, CA 92623

API call to make window "Always on top" attribute

API call to make window "Always on top" attribute

SetWindowPos() is not the most obvious API call, but it is the one to use.

SetWindowPos( hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW );
Registering/Unregistering Controls

Registering/Unregistering Controls

Most programmers only know about how to registering controls without knowing how to Unregistering them, simple command below will tell you how:

Registering Controls:

To register an OCX type at the command prompt

regsvr32 whatever.ocx

Unregistering Controls :
To unregister an OCX type at the command prompt

regsvr32 -u whatever.ocx

You can also add right click context menu items to OCX files to perform these operations.

Things that VB Programmers 'Must Know'

Things that VB Programmers 'Must Know'

Getting Visual Basic projects to load into the VB IDE

After registering different versions of controls VB may give errors when trying to load your projects. Do the following in order, testing after each step to see if the problem is resolved:

* VB may be using a Type Library cache file which refers to the wrong version of the control. These files have the extension OCA. Delete all the OCA files and preferably clean up the registry using RegClean from Microsoft or better still COMclean. VB will regenerate the OCA files as needed.

** The project file may specify a version of the type library which is not registered. This can be repaired by editing the VBP project file to require version 1.0. As an example you will find the line:

Object={6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0; COMCTL32.OCX

for the Common Controls if the VB6 (Version 1.3) controls are required. Edit the project files to require Version 1.0 of the controls. When the project loads the version of the control which is available will be used, and the VBP file changed to suit. This is done regardless of the state of the "Update ActiveX controls" flag. If you still get an "Unexpected error", try Version 1.1. If it still does not work, find out which version is registered and use that. To use a specific version of a control make sure that it is the one which is registered. COMclean from RHA (Minisystems) Ltd. can show which files are registered, screen shots are on this page here.

*** If you are getting "Licence not found..." the VB installation has not worked. Probably, the computer already had the same or newer versions of some of the controls. The installation will not overwrite the files and does not install the licences either. Unregister the controls and remove them from the system folder. Reinstall VB and try again, the control OCXs and licences should have been installed. You can now replace them by newer versions of the controls if you wish.

**** The TypeLib section of the registry may contain version numbers which are not in fact available. The version numbers which are not available may be higher or lower than the one which is available. An explanation of how this situation arises is on this page here, how to fix the problem using COMclean (including screen shots showing invalid type libraries) is described here. The Microsoft Knowledgebase article is Q221990.
Registered DLL which are not available

Registered DLL which are not available

When a control is registered, it makes an entry in the TypeLib section of the registry indicating which version of the interface it supports. If a different version of the control is installed without unregistering the previous one, such as when a service pack is applied, the later version is added to the TypeLib entry. The previous version is not available despite being in the registry, because the control has been overwritten. A worse situation arises when an installation program overwrites a control with an older version, the newer version of the interface is the one which is no longer available. Programs may not be able to run under these circumstances.

If the previous version of the control file was in a different location, the faulty registry entries can be removed by unregistering it, then re-registering the new one. Usually, the previous file is overwritten by the installation, and the registry entries must be removed by hand. To be sure of getting rid of the faulty entries, first unregister the control, then delete all the TypeLib registry entries which refer to the unregistered control file. Finally, re-register the file. You can use COMclean to remove the faulty entries.
WHY: "Component cannot be loaded" in VB

WHY: "Component cannot be loaded" in VB

This problem occurs when a software installation replaced Richtx32.ocx, which has different versions with the same file name.
The OCA type library cache file relating to another version of the control, generated by Visual Basic, was still in the systems folder. Unregistering and re-registering the control had no effect. Deleting the OCA file cured the problem. Yet another case of Microsoft breaking the rules of COM.

To solve two common problems:

* Compiled Visual Basic programs refuse to run, giving "Unexpected error". The short answer:
Re-install the program which does not run. Many software installation programs supply the runtime program and controls they require. (But ours do not so will probably not be fixed.)
2. Install the VB5 and VB6 runtimes to get the latest runtime and OLE DLLs.
3. Download and register the latest versions of the Common Controls.

* You cannot load a Visual Basic project into the IDE any more. The short answer:
1. Delete all the OCA files on your computer, VB will recreate them as needed.
2. Edit the project files to require Version 1.0 of all the controls.
3. If the errors include "Licence not found", remove the common controls and reinstall VB.

Please check all the items on this page. If the trouble is not resolved we are sorry, but we don't know what to do either. This page is kept up to date with everything we know.
Microsoft Agent Scripting Software 2.0

Microsoft Agent Scripting Software 2.0

MASS or The Microsoft Agent Scripting Software 2.0 is a
small and easy to use FREEWARE that helps you in creating
MS Agent Script for your website. It gives you full
control over your MS Agent script, you can easily create
agent scripts by dragging the character on screen &
clicking few buttons.
It does it all want you want from a
MS Agent script maker.


DOWNLOAD MASS!