cdholding image

mscomm64 home
mscomm64 download
mcomm64 forum
buy mcomm64


Installing the SComm64 component in Visual Studio .Net

When you download SComm64 from our website the Installer will usually appear on your Windows Desktop or Downloads folder where you'll see the installer icon like this:-

Double click the installer icon to install SComm64 and the sample projects.

The installer places the sample projects, the compiled executables of those projects and the DLL component into the Program Files folder on your computer.

You now need to open your .net project and add the SComm64 component to the toolbox in the IDE.

Open your Visual Studio .Net project and click with the "Right" mouse button on the toolbox area of the IDE and select the option to "Choose Items".

A window appears showing available components. The Comm64 component won't be in the list yet so you need to click the browse button to navigate to the Comm64 DLL file.

The DLL file is usually in the folder

C:\Program Files\SComm64\Bin

When you select the DLL it is added to the Visual Studio Toolbox.

We added it to the 'General' area of the toolbox - you can see the [com] icon in our toolbox below. From there click and drag an instance of the component onto your form where it appears in the 'components' area below the actual form. This is where components appear that don't have any graphical elements.

Note: Newer SComm64 components may have a different icon.

The default name given to the component once it's introduced to your project is 'SComm1'. In the above screenshot we renamed the component to 'Port' but you can leave the default name or change it to anything you want.

You can now use the component in your project. To start with you can double-click the component and that will create the OnComm event in your code window. You don't have to use OnComm but if you look at the source code of our sample projects you'll see that we use the OnComm event to create event driven applications.

After installation you should see a shortcut to a folder containing sample projects in c# and VB .Net

Our samples were created using Visual Studio 2010. You should be able to open them in newer versions of Visual Studio.

If you want to develop applications using VB6 then don't try to use the SComm64 component. Instead take a look at our 32bit ocx at

Copyright (c) 2010 Axis Controls Ltd