Page 2 of 3 <123>
Topic Options
#85912 - 2002-06-07 05:53 PM Re: Type Library Viewer for Kix?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
If we could stay off-topic for just a sec, did you mean to say that you are going to add an ActiveX control for apps, or an ActiveX Interface ? ActiveX Interface ala custom COM snappin ? Because if that's the case, I'll send you a cheque right now for $29 USD !

[ 07 June 2002, 19:23: Message edited by: Shawn ]

Top
#85913 - 2002-06-07 10:40 PM Re: Type Library Viewer for Kix?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Ahhh, wait a sec, i think I know where your comming from now. So this ActiveX Control would call a user application (say, an .exe), and then take whatever was output from that, and insert it into the current editor insertion point ?
Top
#85914 - 2002-06-10 05:05 PM Re: Type Library Viewer for Kix?
Stevie Offline
Starting to like KiXtart
*****

Registered: 2002-01-09
Posts: 199
Exactly. It will just take any string passed to it and insert it into the current cursor position. That way, if people are so inclined, they can make their own COM wizards or whatever and run it all right from within the app.
_________________________
Stevie

Top
#85915 - 2002-06-10 05:22 PM Re: Type Library Viewer for Kix?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Steve, would you consider exposing the codesense control (say, as a HWND or the Interface itself, if using the ActiveX version) to external COM snapins, so one could write things like custom syntax checkers and beautifiers ? If you didn't, I would understand your reasons why (support concerns, i guess).

[ 10 June 2002, 17:23: Message edited by: Shawn ]

Top
#85916 - 2002-06-10 08:26 PM Re: Type Library Viewer for Kix?
Stevie Offline
Starting to like KiXtart
*****

Registered: 2002-01-09
Posts: 199
My initial thought is that I wouldn't be averse to the idea. The only reason I would be reluctant is that when I modify the CodeSense control, there could be a lot of impact if people are using existing snap-ins, i.e. they may not work anymore or the app could crash, etc.

I think I would rather provide explicit functionality than expose the entire control. But I'll have to think about that some more.
_________________________
Stevie

Top
#85917 - 2002-06-12 10:11 AM Re: Type Library Viewer for Kix?
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
I use a Type Library Documenter that creates a .HLP file from the .DLL, listing all the functions, properties etc etc. Doesn't work for all .DLL/.OCXs, but works enough that I can't live without it. [Smile]

I put a link on my downloads page

cj

Top
#85918 - 2002-06-16 04:09 PM Re: Type Library Viewer for Kix?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Boy, I could have really used that TypeLib Viewer this morning ... how goes the battle, Steve ?
Top
#85919 - 2002-06-17 09:56 PM Re: Type Library Viewer for Kix?
Stevie Offline
Starting to like KiXtart
*****

Registered: 2002-01-09
Posts: 199
I've been bogged down on some other things. Should be coming in a week or two for initial testing.

Steve
_________________________
Stevie

Top
#85920 - 2002-07-02 04:44 AM Re: Type Library Viewer for Kix?
Stevie Offline
Starting to like KiXtart
*****

Registered: 2002-01-09
Posts: 199
Hey All,

Beta 1 for TypeLib Viewer is done! It's sure to have problems so I'm giving you all first crack at it.

Current issues:
-When selecting Browse to bring up a list of registered type libraries there's often a delay of a couple of seconds while it builds the list. I need to add a status bar to the bottom of the main form to let you know the status e.g. "Please Wait..."

-The next version will offer the ability to sort members by function. So that all the properties are listed first then all the methods, etc. Instead of a large alphabetical list.

Also, what would be nice is if somebody out there could get a hold of the standard icons for Method, Property, Constant, Enumeration, etc. and I can include those next to the names of each member. A little easier on the eyes, I think.

Anyway, suggestions are welcome. You can download it at:

http://www.rwksystems.com/files/TypeLibViewer.exe

Let me know what you think.

Steve B
_________________________
Stevie

Top
#85921 - 2002-07-02 04:52 AM Re: Type Library Viewer for Kix?
Stevie Offline
Starting to like KiXtart
*****

Registered: 2002-01-09
Posts: 199
Already found a bug!

Sometimes when exiting, the Viewer stays in the process list on the machine and has to be ended manually. Doesn't happen every time though. I'm too tired to figure out how to reproduce it. Hopefully someone will have figured it out by the time I wake up tomrrow. [Frown]

[ 02 July 2002, 04:53: Message edited by: Steve B ]
_________________________
Stevie

Top
#85922 - 2002-07-02 01:38 PM Re: Type Library Viewer for Kix?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I get my kixforms shown twice...
with the same name, same file and all.
_________________________
!

download KiXnet

Top
#85923 - 2002-07-02 05:08 PM Re: Type Library Viewer for Kix?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Steve,

NT4 SP6a IE4-SP2 - Get the following messagebox after install and running viewer:

prjTypeLib:

Component 'Mscomctl.ocx' or one of it's dependencies not correctly registered: a file is missing or invalid

Top
#85924 - 2002-07-02 05:31 PM Re: Type Library Viewer for Kix?
Stevie Offline
Starting to like KiXtart
*****

Registered: 2002-01-09
Posts: 199
I can fix the dependency problem in the install.

Don't know about the duplicate problems, I'll have to reproduce it and hopefully will know more.
_________________________
Stevie

Top
#85925 - 2002-07-02 05:39 PM Re: Type Library Viewer for Kix?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Sweet - five stars for the Steve Man !!!
Top
#85926 - 2002-07-02 06:34 PM Re: Type Library Viewer for Kix?
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Steve, great job. It seems that your browse list is a little short however. I ran this wshBrowseForObjects script and it found 3234 (potentially) Scriptable Objects. Check it out and see if it makes sense to have your browser function behave more like this does.

Thanks, C.

Top
#85927 - 2002-07-03 12:15 AM Re: Type Library Viewer for Kix?
Stevie Offline
Starting to like KiXtart
*****

Registered: 2002-01-09
Posts: 199
Installed the OCX and took a look.

It appears that this takes every registered Class and presents it in the browse list. Most all of these classes are associated with a Type Library.

In other words, if you were to go into the TL Viewer and open each item in the browse list, everything shown in the "TypeInfos" column are the same objects that appear in the wshBrowse list. For example, there are dozens of CDO objects in the wshBrowser. All of them belong to the same type library. If you were to go into the TL Viewer Browser and select "Microsoft PKMCDO for Microsoft Web Storage System" (you may or may not have this on your machine) you would see under the "TypeInfos" list several dozen objects which correspond to the objects in the wshBrowser.

So the question becomes do you want an exhaustive list of all objects up front or do you want to browse individual type libraries. To me, it's a bit more useful to break it down into type libraries. If I'm doing work in ADSI or Excel or Access or whatever I'd rather see only objects related to those things than every possible object installed in my system.

Having said that though, if I'm in the minority on this issue I'd be happy to make the change.

What does everybody else think?

Steve

[ 03 July 2002, 00:16: Message edited by: Steve B ]
_________________________
Stevie

Top
#85928 - 2002-07-03 12:20 AM Re: Type Library Viewer for Kix?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
steve, keep it.
it's simpler and more easily browseable when there is real hierarchy in it.

[ 03 July 2002, 00:21: Message edited by: Lonkero ]
_________________________
!

download KiXnet

Top
#85929 - 2002-07-03 02:59 AM Re: Type Library Viewer for Kix?
Stevie Offline
Starting to like KiXtart
*****

Registered: 2002-01-09
Posts: 199
It's been updated with a few fixes:
http://www.rwksystems.com/files/TypeLibViewer.exe

-It now terminates consistently.
-I added the MSCOMCTL.OCX file for NT support.

However, when testing it on my VM Windows NT machine I got a different error: "Error 429--ActiveX component can't create object" I've got a version discrepancy somewhere.

So, Shawn, you probably still won't be able to run it on your NT box. The only problem is that my VM box died so I need to rebuild it to begin debugging on NT. Hopefully, by tonight I can start testing. It may take another day or so to find a fix. I'd appreciate it if you would go ahead and try it and see if you get the same result.

Another day or so and we'll have a legitimate beta!

Steve

[ 03 July 2002, 02:59: Message edited by: Steve B ]
_________________________
Stevie

Top
#85930 - 2002-07-05 12:07 AM Re: Type Library Viewer for Kix?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
steve, checked better that the double value is for different letter sizes in kixforms

new builds seem to have name Kixforms and some old one had KixForms (or vice versa)

but, anyway this is not a problem in your typelib viewer but in windows as it normally does not care about capitals and in this case it does.
anyway, the contents of both seem to be the same, so it's only the name which is stuck there.

cheers,
_________________________
!

download KiXnet

Top
#85931 - 2002-07-04 06:08 PM Re: Type Library Viewer for Kix?
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Hi Steve,

Just tried it with NT4/IE6 and got the same error as you [Frown] [Wink]

-Shawn

Top
Page 2 of 3 <123>


Moderator:  Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1574 anonymous users online.
Newest Members
BeeEm, min_seow, Audio, Hoschi, Comet
17882 Registered Users

Generated in 0.047 seconds in which 0.02 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org