Solved

REGISTERING OCX ERROR

Posted on 1999-01-17
1
505 Views
Last Modified: 2013-12-25
dear experts:
I USING VB5.0 SETUP WIZARD GENERATE A SETUP PROGRAM AND AFTER USER SETUP,The App WORKS GOOD.
BUT ONE DAY WHEN A USER (Not All Users)RUN THIS APP,IT SHOWS
"ERROR WHILE REGISTERING FTPCT.OCX".
THEY TRIED TO REGISTER FTPCT.OCX Again,IT SHOWS
"LoadLibrary("C:\Windows\System\FTPCT.OCX")Failed,
GetLastError Returns 0X0000007f"
Please Tell Me Whats Going On? Thanks.
0
Comment
Question by:GIN
1 Comment
 
LVL 13

Accepted Solution

by:
Mirkwood earned 20 total points
ID: 1489740
You are most likely missing a dll or OCX.
Download Filemon or NTFilemon from www.sysinternals.com
Start Filemon and now run the application that gives the error.
Filemon will show a trace. In this trace it will also show you which
file failed to open. That's the one you are missing.

Filemon can be redirected in a dos box using filemon > output.txt

Copy the missing files and register them if needed with regsvr32.exe in case of DLL/OCX files
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question