Re: test whether ocx is registered from VB, possible?
- From: "Mark Yudkin" <myudkinATcompuserveDOTcom@xxxxxxxxx>
- Date: Sun, 17 Jul 2005 10:25:52 +0200
"mscir" <mscir@xxxxxxxxx> wrote in message
news:V4mdnZYa_KhD9UzfRVn-pA@xxxxxxxxxxxxxxxxx
> Some Fred wrote:
>> Stick sthing like this in Main() in the starting module:
- snipped -
>>
>
> Since I have code on the main form that requires an OCX to be registered,
> it sounds like you're saying I should do the OCX test before the main form
> load event from a sub in a module, is that correct? If so, how do I get
> the code in the module to execute first unless I call it from the main
> form load event? I think I'm missing something because I don't understand
> what you meant by 'starting module'.
>
Define the project's startup object to be Sub Main, rather than the form.
Then follow Some Fred's advice.
.
- References:
- test whether ocx is registered from VB, possible?
- From: mscir
- Re: test whether ocx is registered from VB, possible?
- From: Mark Yudkin
- Re: test whether ocx is registered from VB, possible?
- From: Ken Halter
- Re: test whether ocx is registered from VB, possible?
- From: Some Fred
- Re: test whether ocx is registered from VB, possible?
- From: mscir
- Re: test whether ocx is registered from VB, possible?
- From: Some Fred
- Re: test whether ocx is registered from VB, possible?
- From: mscir
- test whether ocx is registered from VB, possible?
- Prev by Date: Re: Problem with winmm.dll under Win2000/XP
- Next by Date: Re: Performance Data (PDH.dll) problem with XP
- Previous by thread: Re: test whether ocx is registered from VB, possible?
- Next by thread: Re: test whether ocx is registered from VB, possible?
- Index(es):
Relevant Pages
|
|