Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11289

Re: Loading an un-registered object ?

From "Mayayana" <mayayana@invalid.nospam>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: Loading an un-registered object ?
Date 2016-04-21 09:49 -0400
Organization A noiseless patient Spider
Message-ID <nfalke$qtk$1@dont-email.me> (permalink)
References (2 earlier) <nf84ka$c65$1@dont-email.me> <nf86tl$l5m$1@dont-email.me> <5717df77$0$5892$e4fe514c@news.xs4all.nl> <nf8rca$7j1$1@dont-email.me> <57188c3c$0$5823$e4fe514c@news.xs4all.nl>

Show all headers | View raw


| By the way: you can also get the typelib using the OleAut32.dll 
LoadTypeLib
| function, which, if the file is a DLL, simply extracts the (defaulting to
| first) typelib resource stored in it.
|

  I wrote code for that at one point when I wanted to
put an object browser and "intellisense" into my own
editor program:

http://www.jsware.net/jsware/vbcode.php5#tlbc

  I also wrote a VBS version dependent on tlbinf32.dll.

http://www.jsware.net/jsware/scrfiles.php5#obbro

  But when I eventually looked at oleaut32.dll I realized
that tlbinf32 was actually a somewhat hokey mixup
of the typelib API and best abandoned, though it is
convenient in that it's script-accessible.

  This whole topic is intriguing and tempts me to look
into options incorporating it all. Something like directCOM
for VBS. But then I can't really think of how it could be
widely useful for scripters. Registering is not a big deal.
Using a reg-free tool would probably require more
expertise for the average scripter to grasp. And you
seem to have already invented that wheel but are finding
it will only take you so far....
  Sometimes I have free time and get in the mood for a
juicy coding project, but just can't think of one. :) 

Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-20 12:54 +0200
  Re: Loading an un-registered object ? "Mayayana" <mayayana@invalid.nospam> - 2016-04-20 09:08 -0400
    Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-20 16:04 +0200
      Re: Loading an un-registered object ? "Mayayana" <mayayana@invalid.nospam> - 2016-04-20 11:14 -0400
        Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-20 21:35 +0200
        Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-21 09:33 +0200
    Re: Loading an un-registered object ? GS <gs@v.invalid> - 2016-04-20 10:47 -0400
      Re: Loading an un-registered object ? "Mayayana" <mayayana@invalid.nospam> - 2016-04-20 11:25 -0400
        Re: Loading an un-registered object ? GS <gs@v.invalid> - 2016-04-20 14:31 -0400
        Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-20 21:59 +0200
          Re: Loading an un-registered object ? "Mayayana" <mayayana@invalid.nospam> - 2016-04-20 17:14 -0400
            Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-21 10:16 +0200
              Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-21 13:39 +0200
              Re: Loading an un-registered object ? "Mayayana" <mayayana@invalid.nospam> - 2016-04-21 09:49 -0400
                Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-21 17:07 +0200
      Re: Loading an un-registered object ? "R.Wieser" <address@not.available> - 2016-04-20 20:01 +0200

csiph-web