When Do You Need to Register DLLs?
DLL registration is required in the following scenarios:
- When applying a hotfix or troubleshooting certain errors in FeneVision
- When method headers change during updates (e.g., a method that previously had 2 arguments now has 3)
- When you encounter ActiveX component creation errors stating that the component could not be created
How to know that the new DLL needs to be registered?
Error stating that component ActiveX could not be created.

Identifying Which Registration Method to Use
There are two methods to register FeneVision DLL files, depending on the file naming convention:
- Use Regasm if the DLL file has a FeneVision prefix (examples: FeneVision.Orders, FeneVision.Pricing, FeneVision.RackLocation, etc.)
- Use Regsvr32 if the DLL file has an Ft prefix (examples: FtOrders, FtCategories, etc.)
Method 1: Registering .NET DLLs (FeneVision.NAME.dll)
Step 1: Unregister the Old DLL
First, unregister the existing DLL by opening Command Prompt as Administrator:
C:\Users\Fenetech> cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
C:\Windows\Microsoft.NET\Framework\v4.0.30319> regasm.exe /u "C:\Program Files\FeneVision\CORE\FILENAME.dll"
You should see: "Types un-registered successfully"
Step 2: Register the New DLL
Then register the new DLL:
C:\Users\Fenetech> cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
C:\Windows\Microsoft.NET\Framework\v4.0.30319> regasm.exe /tlb "C:\Program Files\FeneVision\CORE\FILENAME.dll"
You should see: "Types registered successfully"
Alternative Single Command Method
You can also run the registration directly without changing directories:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe /tlb "C:\Program Files (x86)\Common Files\Fenetech Shared\FeneVision.RackLocation.dll"
Note: Apply the same process for files in the FeneTech Shared folder if applicable.
Method 2: Registering VB6 DLLs (FtNAME.dll)
For DLLs with the Ft prefix, use the Regsvr32 command:
regsvr32 "C:\Program Files (x86)\FeneVision\Core\FeneVision.RackLocation.dll"
Or with full path navigation:
C:\Users\Fenetech> cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
C:\Windows\Microsoft.NET\Framework\v4.0.30319> regsvr32 "C:\Program Files (x86)\Common Files\Fenetech Shared\FILENAME.dll"
You should see: "Types registered successfully"
Creating a Batch File for Automatic Registration
To automate the registration process:
- Open Notepad
- Copy the appropriate command prompt text from above
- Replace "FILENAME.dll" with your actual file name
- Save the file with a
.batextension (e.g.,register_dll.bat) - Run the batch file as Administrator
Important Notes
- Always run Command Prompt as Administrator (elevated privileges) when registering DLLs
- Place your DLL file in the appropriate path before running the registration command
- Replace the file name at the end of the path with your specific DLL file name
- Common paths include:
C:\Program Files\FeneVision\CORE\C:\Program Files (x86)\Common Files\Fenetech Shared\C:\Program Files (x86)\FeneVision\Core\
Troubleshooting
If you encounter issues:
- Verify you're running Command Prompt as Administrator
- Ensure the DLL file path is correct
- Check that the DLL file exists in the specified location
- Confirm you're using the correct registration method based on the file naming convention