473,394 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Object Browser

I need some tips on enumerating the names and syntax of properties, methods,
events, and public variables, enums, user-defined types in a COM,
programatically in C# ... a little like Object Browser in VS2006 but without
the IDE.

Thanks for your help.
Mar 26 '08 #1
4 2234
"AA2e72E" <AA*****@discussions.microsoft.comwrote in message
news:57**********************************@microsof t.com...
>I need some tips on enumerating the names and syntax of properties,
methods,
events, and public variables, enums, user-defined types in a COM,
programatically in C# ... a little like Object Browser in VS2006 but
without
the IDE.

Thanks for your help.

Why would you ever need to do this using C#, there is the "oleview.exe"
tool that does exactly this.
..NET (and C#) is not the right tools to help you to build such kind of COM
related tools, this is why we still have native code like C++ in our
toolbox.

Willy.

Mar 26 '08 #2
On Mar 26, 10:36 pm, AA2e72E <AA2e...@discussions.microsoft.com>
wrote:
I need some tips on enumerating the names and syntax of properties, methods,
events, and public variables, enums, user-defined types in a COM,
programatically in C# ... a little like Object Browser in VS2006 but without
the IDE.

Thanks for your help.
Hi
There is already a software for doing this but is a COM software.
Its called dependency walker.
You can download it from http://www.dependencywalker.com.
Mar 26 '08 #3
"vvnraman" <vv******@gmail.comwrote in message
news:80**********************************@e6g2000p rf.googlegroups.com...
On Mar 26, 10:36 pm, AA2e72E <AA2e...@discussions.microsoft.com>
wrote:
>I need some tips on enumerating the names and syntax of properties,
methods,
events, and public variables, enums, user-defined types in a COM,
programatically in C# ... a little like Object Browser in VS2006 but
without
the IDE.

Thanks for your help.

Hi
There is already a software for doing this but is a COM software.
Its called dependency walker.
You can download it from http://www.dependencywalker.com.

Dependency walker has nothing to do with COM, and is not what the OP is
looking for.

Willy.

Mar 26 '08 #4
Thanks for the hints but the suggestions ignore my request "... but
without the IDE. "

I can retrieve the information I am after as text, which I dump into Word &
create an index for about 25 or so VB6.0 DLLs. The text is like this:

(for a property)

Property|FileName
Ref|Value@string = obj.Filename
Set obj.FileName = Value@String

(for a method)

Method|Validate
Value@Boolean = Validate(FileName as String)

etc

My code does not pick up the public (global) variables or public enums:
hence the original post.
Mar 26 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ScottyBaby | last post by:
Hi, I've run into a curious problem with MS SQL Server 8.0. Using sp_help and SQL Query Analyzer's object browser to view the columns returned by a view, I find that sp_help is reporting stale...
0
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format,...
1
by: Georg Scholz | last post by:
Hello, The class "Control" contains a documented Property "ControlType". So for example, in a form, you can write code like this: Dim c as control set c = me.Controls("textbox1") if...
5
by: Robin Tucker | last post by:
Hiya, I'm using mshtml and the web browser control to embed an OLE object in my ..NET application. What I want to do is get a reference to the "object" embedded therein: The HTML looks...
12
by: ShepardBerry | last post by:
This may be a dumb question, but I'm not finding anything specifically what I'm looking for. Still kind of new to .NET as well. What I'm trying to do that I know I could do in VB6.0/ASP is to...
4
by: cr113 | last post by:
I can't seem to make sense out of the Object Browser in VB.NET. Here's one example. I often use the the Sleep method found in the Thread object like this: Imports System.Threading Private...
26
by: yb | last post by:
Hi, Is there a standard for the global 'window' object in browsers? For example, it supports methods such as setInterval and clearInterval, and several others. I know that w3c standardized...
9
by: Cylix | last post by:
The following example are going to create an object to store the client Information, I would like to new the object to init all the properties by function: setProperty() Can I set the value to...
2
by: avanhalen | last post by:
To embed flash objects in my pages, I read them from a database. A script file (Filedownload.aspx) reads it from the database, and streams it to the browser. Here are two example flash objects...
2
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.