Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a problem in opening couple of exes.

1.
VB6
As soon as i double click it installs office web components and once it is done it opens the actual exe.

2.
VB6 and COM
i am not able to see the application on desktop, but i can see it in Task manager in not responding state.



Can some one let me know what the problem could be?

Regards,
Hari krishna
Posted
Comments
Sandeep Mewara 31-May-11 14:14pm    
1. They does not sound like a techinical issue.
2. 1st one sounds like office installation issue.
3. 2nd one is not too clear.
Hari-Adarapu 31-May-11 17:41pm    
First of all thanks for your time.
1.Yes it is not a technical issue. i am wondering why this is installing office web components everytime i open the exe.
2.Expected funtionality is, My application should display a VB form on opening it. Now it is not happening but could see the application entry on task manager in Non responding status.
Hari-Adarapu 31-May-11 18:18pm    
Found the root cause. thought to share it so that someone can use this in the future.

The problem is with MDAC that is installed with office and this is related to COM as well. My VB app uses COM components and becoz of improper installation of MDAC, it doesn't allow to create COM components and VB app crashes due to improper error handling.

Steps to fix this
Run office 2007 repair and make sure error handling is done properly.

Should be able to open the application without any problem.

Thanks Guys...
tolw 1-Jun-11 0:23am    
This might really help someone - you should add it as an answer to your question and accept it as a solution, so that the question itself is no longer marked as 'unanswered'.

1 solution

Found the root cause. thought to share it so that someone can use this in the future.

The problem is with MDAC that is installed with office and this is related to COM as well. My VB app uses COM components and becoz of improper installation of MDAC, it doesn't allow to create COM components and VB app crashes due to improper error handling.

Steps to fix this
Run office 2007 repair and make sure error handling is done properly.

Should be able to open the application without any problem.

Thanks Guys...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900