ComponentOne still having trouble

Started by bibin98, August 26, 2012, 09:03:14 PM

Previous topic - Next topic

bibin98

> You have to debug your exe to find  
> out the exact line the error  
> is given on to be able to fix it.  
I'm sorry, cause my EXE is working fine if I run directly from sourcecode in VB6, or if I double click at EXE at my comp.
 
> I gave very easy instructions  
> on how to determine what  
> the problem is but you ignore them.
Yes I'm sorry if I bother you. I also confused with this error only appear when installing my application. But if I run using VB6 is working fine.

bibin98

As I remember, since I using InnoScript 10, it still using VB5 Runtime Folder eventough the script at top line already correct  
 
;VB Runtime Files Folder: C:Program FilesRandem SystemsInnoScriptInnoScript 11VB 6 Redist Files
 
but at the [Files] section always using folder VB5.

bibin98

I also don't know why InnoScript still deploying from the VB5 folder. If I run my code on VB6 or just directly double click EXE at my comp run well, but if I deploy to target comp (Win 7) appear that error message. I'll try to deploy at WinXP.

Randem

Then that is an error in your exe. We keep going over the same exact things but you do not give the answers, how can I help without all the information?
 
You have to debug your exe to find out the exact line the error is given on to be able to fix it. I gave very easy instructions on how to determine what the problem is but you ignore them.

bibin98

My program EXE not error, but when I double click, appear error Class blablabla (on my previous message).
 
Maybe I send you the result via FTP, cause I don't know the error and how to fix it.

Randem

As far as stdole.tlb try: regtlib -q stdole2.tlb

Randem

I meant the line in your program where the error is... And you are still deploying from the VB5 folder...

bibin98

The installer error on:
Source: C:Program FilesRandem SystemsInnoScriptInnoScript 11VB 5 Redist Filesstdole2.tlb; DestDir: {sys}; Flags: regtypelib restartreplace uninsneveruninstall;  
 
The error message is the same error as ComponentOne was (can't register). I'm not really sure is the problem was stdole2.tlb.

Randem

Did you check to see if scripting runtime is installed on the Windows 7 computer? You can check using the component and the reference checker in InnoScript

Randem

Please ANSWER ALL questions... Which line does the application error on?

bibin98

Yes, my application works on WinXP, but not in Win7.

Randem

No, you do not need the reference if you manually add the scripting runtimes. You haven't clarified EXACTLY which line the error happens?????
 
Does your application work on XP but not on Windows 7?
 
Please answer ALL questions...

bibin98

Do you mean that I have to give check manually Microsoft Scripting Runtime in my References project?
 

 
 
I never do this before in VB6 cause I always enable Scripting Runtime in InnoScript. My problem was difficult in registering ComponentOne and already solved (not error when install) but appear another problem stdole2.tlb. I also don't know the main problem.
 
The error message when I run my software is:
- Error message box in ErrorEventHandler ConnectionErr(),  Class does not support Automation or does not support expected interface

Randem

How are you sure what line the error is on? What does your error code look like?

bibin98

I'm not sure too.... I'm now installing VB6 and all component needed in target comp, cause I have no idea to deploy in Win7. It's very difficult to deploy in Win7 rather than WinXP. My suggestion maybe in stdole2.tlb but not really sure cause after I install VB6 in target comp and I try to run again, it still error