Solved

How to resolve a problem in creating the instance of an Active EXE when it is registered in a specific location?.

Posted on 2002-07-24
7
150 Views
Last Modified: 2010-05-02
Hi Experts,
I have a problem in creating the instance of the Active X EXE. Please find the descrption below.

I have created an Active X EXE and registered it from "C:\Program Files". Then the client application is not able to create the instance of the Active X EXE. The same thing is happening if I register the Active X EXE from any of the subdirectories of "C:\Program Files". However, the client is properly creating the instance if the Active X EXE is registered from any other directory in C: drive. If I have the similar directory structure from D:\, then also it is working fine

The C Drive is a FAT system and D: Drive is an NTFS

With regards,
Narahari Sanga
0
Comment
Question by:nsanga
7 Comments
 
LVL 4

Expert Comment

by:RichW
ID: 7174335
You should originally have the ActiveX exe register in the same folder that the application's exe file is in, thought I don't believe it should matter, since when registering itself it links to the application file.

I had a problem like this once, where I came to believe that since it registered itself originally under one folder it didn't understand when I registered it again under a different one.

I changed the name of the ActiveX exe and compiled again and registered into the same folder as the application file and it worked.

RichW
0
 
LVL 1

Accepted Solution

by:
MrRoper earned 150 total points
ID: 7174396
Might be because of the long filenames i.e. the space between "Program Files", How are you creating the object at the client?
0
 
LVL 7

Author Comment

by:nsanga
ID: 7174466
Hi RichW,
Thanks for the suggestion.

It's the client system and I can't change the Active X EXE name. Also I can't build the Active X EXE on this system since the development environment (VB) is not available.

MrRoper,
I have observed that the problem is not due to the long file names and spaces in the path.

Regards,
Narahari Sanga
0
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 
LVL 7

Author Comment

by:nsanga
ID: 7187469
All,
I have resolved this problem. This is for those who are interested.

One has to create the short path of the Active X exe if the application is installed in FAT file system and register with this path (typically MS-DOS path).

With regards,
Narahari Sanga
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 8040511
Hi nsanga,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept MrRoper's comment(s) as an answer.

nsanga, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 7

Author Comment

by:nsanga
ID: 8041009
DanRollins,
Thanks for your comments and suggestions.

Though it was not helpful then, now I feel MrRoper gave the answer to some extent. I will accept his comment.

Warm regards,
Narahari Sanga
0
 
LVL 7

Author Comment

by:nsanga
ID: 8041011
Thank you MrRoper

Warm regards,
Narahari Sanga
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

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