Notices
Non Scooby Related Anything Non-Scooby related

VB Question

Thread Tools
 
Search this Thread
 
Old 19 December 2000, 04:07 PM
  #1  
Fosters
Scooby Regular
Thread Starter
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Post

There must be some VB devs out there...

how do I extract the methods and properties of an object at runtime? ...like in the IDE when you type text1. and a popup list pops up!

Old 19 December 2000, 05:07 PM
  #2  
ChrisB
Moderator
 
ChrisB's Avatar
 
Join Date: Dec 1998
Location: Staffs
Posts: 23,573
Likes: 0
Received 0 Likes on 0 Posts
Post

Are you trying to get a list of all properties and methods that object supports?

Chris.
Old 19 December 2000, 05:26 PM
  #3  
Fosters
Scooby Regular
Thread Starter
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Post

yes, but without having to use a 3rd party DLL to read them for me.

it all seems a bit messy so far!

Old 19 December 2000, 07:20 PM
  #4  
rsquire
Scooby Regular
 
rsquire's Avatar
 
Join Date: Sep 1999
Location: Sydney Australia
Posts: 4,018
Likes: 0
Received 1 Like on 1 Post
Smile

Fosters,

I don't think that you can to this directly within VB6. Maybe worth having a look at the VB7 beta as you should be able to do it with that.

Cheers
Richard
Old 19 December 2000, 10:14 PM
  #5  
ChrisB
Moderator
 
ChrisB's Avatar
 
Join Date: Dec 1998
Location: Staffs
Posts: 23,573
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

Erm, I'm no VB guru, but can't you enumerate the Properties Collection of the control in question?

You should be able to say..

For x = 1 to mycontrol.properties.Count

{Do something here}

Msgbox mycontrol.properities.property

Next x

Cheers,

Chris
(Who has only worked in VBA recently!)
Old 20 December 2000, 03:33 PM
  #6  
Fosters
Scooby Regular
Thread Starter
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Post

Use TBLINF32.DLL, if anyone's vaguely interested!

Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
04 November 2021 07:12 PM
slimwiltaz
General Technical
20
09 October 2015 07:40 PM
IanG1983
Wheels, Tyres & Brakes
2
06 October 2015 03:08 PM
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM
the shreksta
Other Marques
26
01 October 2015 02:30 PM



Quick Reply: VB Question



All times are GMT +1. The time now is 02:49 AM.