[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Martin Enke

5/27/2010 12:03:00 PM

Dear NG,

To use an UDT as parameter in function calls, I code a typelib that contains
just this UDT. Works great in the IDE. But when I crate an installation
(Visual Installer) and install the App on a differnt PC the program doesn't
start, just nothing happens when I dblclick the icon. I found out that this
is because I did not provide an register the tlb file. From my
understanding, this should not be necessary because the information in the
typelib is only used during compile time. Am I wrong? Is there a trick I do
not know. Actually I do not want to provide the Typelib for several reasons.

Thanks for help

Martin


14 Answers

aol@aol.com

4/16/2008 1:52:00 PM

0

On Apr 16, 9:34 am, "Harry Dope" <DemocratsBetrayed...@earthlink.com>
wrote:
>   So when it was made an issue during the 2000 election by democrats that
> wasnt real?
>
> NEXT


Did McCain fight for the North or the South in the Civil War?

Johnny Boy

4/16/2008 1:56:00 PM

0


"goatman" <geneccc@gmail.com> wrote in message
news:f04f98e8-4488-4d8b-98d0-bd49d4b6442e@x19g2000prg.googlegroups.com...
On Apr 16, 9:34 am, "Harry Dope" <DemocratsBetrayed...@earthlink.com>
wrote:
> So when it was made an issue during the 2000 election by democrats that
> wasnt real?
>
> NEXT


Did McCain fight for the North or the South in the Civil War?
---------------

North Vietnam, on Radio Hanoi.


zacks

4/16/2008 2:56:00 PM

0

On Apr 16, 9:34 am, "Harry Dope" <DemocratsBetrayed...@earthlink.com>
wrote:
>   So when it was made an issue during the 2000 election by democrats that
> wasnt real?
>
> NEXT

Really? I don't remember any talk like that. Cite?

JV

4/16/2008 4:39:00 PM

0

On Apr 16, 9:34 am, "Harry Dope" <DemocratsBetrayed...@earthlink.com>
wrote:
> So when it was made an issue during the 2000 election by democrats that
> wasnt real?
>
> NEXT

So why was McCain defeated by Bush in the republican primaries in 1999?

GLOBALIST

4/16/2008 5:44:00 PM

0

On Apr 16, 11:39 am, JV <horse...@gmail.com> wrote:
> On Apr 16, 9:34 am, "Harry Dope" <DemocratsBetrayed...@earthlink.com>
> wrote:
>
> > So when it was made an issue during the 2000 election by democrats that
> > wasnt real?
>
> > NEXT
>
> So why was McCain defeated by Bush in the republican primaries in 1999?

Where is Mr Asshole ,who always tells us that this is about Obama and
not about Bush? You are gawdamned right that Bush will be the
standard, the measuring stick of any & all comments made by
Republicans make about a Democrat, when they gave us 8 years of a
silly ass son of a bitch like Bush.

Jim Mack

5/27/2010 1:07:00 PM

0

Martin Enke wrote:
> Dear NG,
>
> To use an UDT as parameter in function calls, I code a typelib that
> contains just this UDT. Works great in the IDE. But when I crate an
> installation (Visual Installer) and install the App on a differnt
> PC the program doesn't start, just nothing happens when I dblclick
> the icon. I found out that this is because I did not provide an
> register the tlb file. From my understanding, this should not be
> necessary because the information in the typelib is only used
> during compile time. Am I wrong? Is there a trick I do not know.
> Actually I do not want to provide the Typelib for several reasons.

Typelibs are not required for distribution of a compiled EXE. This is
a compiled VB6 EXE, right?

--
Jim Mack
Twisted tees at http://www.cafepress.c...
"We sew confusion"

ralph

5/27/2010 1:08:00 PM

0

On Thu, 27 May 2010 14:03:12 +0200, "Martin Enke"
<m.enke@enke-software.de> wrote:

>Dear NG,
>
>To use an UDT as parameter in function calls, I code a typelib that contains
>just this UDT. Works great in the IDE. But when I crate an installation
>(Visual Installer) and install the App on a differnt PC the program doesn't
>start, just nothing happens when I dblclick the icon. I found out that this
>is because I did not provide an register the tlb file. From my
>understanding, this should not be necessary because the information in the
>typelib is only used during compile time. Am I wrong? Is there a trick I do
>not know. Actually I do not want to provide the Typelib for several reasons.
>

You are correct a TypeLib is only used at "compile-time". They are
never needed for a running application and thus never need to be
included with any install package.

However, some Installers will pick-up a TypeLib from a Project as a
dependant component and include it as a file dependency while building
a package. In this case you need to manually remove it from the
default build script before you build the package.

It is also possible there is something else going on and the TypeLib
is only a red herring.

-ralph

Martin Enke

5/28/2010 5:56:00 AM

0

Hi ralph & Jim,

that is exactly my problem: I cannot understand why the app needs it
during runtime and I don't understand why the app doesn't start at all
without any error message. Should it be a Visual Installer problem? I
will try to edit the package using Orca...

BR
Martin

Jim Mack schrieb:
> Martin Enke wrote:
>> Dear NG,
>>
>> To use an UDT as parameter in function calls, I code a typelib that
>> contains just this UDT. Works great in the IDE. But when I crate an
>> installation (Visual Installer) and install the App on a differnt
>> PC the program doesn't start, just nothing happens when I dblclick
>> the icon. I found out that this is because I did not provide an
>> register the tlb file. From my understanding, this should not be
>> necessary because the information in the typelib is only used
>> during compile time. Am I wrong? Is there a trick I do not know.
>> Actually I do not want to provide the Typelib for several reasons.
>
> Typelibs are not required for distribution of a compiled EXE. This is
> a compiled VB6 EXE, right?
>

Jim Mack

5/28/2010 12:34:00 PM

0

Martin Enke wrote:
> Hi ralph & Jim,
>
> that is exactly my problem: I cannot understand why the app needs it
> during runtime and I don't understand why the app doesn't start at
> all without any error message. Should it be a Visual Installer
> problem? I will try to edit the package using Orca...

You don't say how you came to believe that the typelib is the problem.
Does the program work when you include it? That would make no sense,
since typelibs are not used by the EXE for anything.

You might try logging startup progress to a text file. Start in Sub
Main, and log the loading of forms etc to a log file.

--
Jim Mack
Twisted tees at http://www.cafepress.c...
"We sew confusion"



>
> Jim Mack schrieb:
>> Martin Enke wrote:
>>> Dear NG,
>>>
>>> To use an UDT as parameter in function calls, I code a typelib
>>> that contains just this UDT. Works great in the IDE. But when I
>>> crate an installation (Visual Installer) and install the App on a
>>> differnt PC the program doesn't start, just nothing happens when
>>> I dblclick the icon. I found out that this is because I did not
>>> provide an register the tlb file. From my understanding, this
>>> should not be necessary because the information in the typelib is
>>> only used during compile time. Am I wrong? Is there a trick I do
>>> not know. Actually I do not want to provide the Typelib for
>>> several reasons.
>>
>> Typelibs are not required for distribution of a compiled EXE. This
>> is a compiled VB6 EXE, right?

Mayayana

5/28/2010 1:20:00 PM

0

You need to narrow it down. It can be lots
of things. If you can't find it in code you might
try regmon/filemon or procmon to see what
happens when the program starts. As an example
of how many things might be involved:I had a
similar problem once. It turned out that I was
running on a PC with no installed printer and
my program was trying to enumerate fonts at
startup.
There was no error of any kind. It just stopped
running partway through initialization.



| that is exactly my problem: I cannot understand why the app needs it
| during runtime and I don't understand why the app doesn't start at all
| without any error message. Should it be a Visual Installer problem? I
| will try to edit the package using Orca...
|
| BR
| Martin
|
| Jim Mack schrieb:
| > Martin Enke wrote:
| >> Dear NG,
| >>
| >> To use an UDT as parameter in function calls, I code a typelib that
| >> contains just this UDT. Works great in the IDE. But when I crate an
| >> installation (Visual Installer) and install the App on a differnt
| >> PC the program doesn't start, just nothing happens when I dblclick
| >> the icon. I found out that this is because I did not provide an
| >> register the tlb file. From my understanding, this should not be
| >> necessary because the information in the typelib is only used
| >> during compile time. Am I wrong? Is there a trick I do not know.
| >> Actually I do not want to provide the Typelib for several reasons.
| >
| > Typelibs are not required for distribution of a compiled EXE. This is
| > a compiled VB6 EXE, right?
| >