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
148 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 7

Author Comment

by:nsanga
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thank you MrRoper

Warm regards,
Narahari Sanga
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now