My.ADVISOR.com Sign-In
ID
Password

Member Center / Sign-Up
Go to Article
Advanced Search 

ADVISOR ANSWERS

Get a List of Microsoft Visual FoxPro Objects in Memory

Here's a program that shows how to do it.

 Subscribers: Sign-in to activate download link
By Tamar E. Granor, FoxPro Advisor technical editor

THIS ARTICLE IS SUBSCRIBER-ONLY
To read this article you must have a current Subscription or Passport for:
DATABASED ADVISOR
or
MICROSOFT PRO DEVELOPMENT ADVISOR
or
MICROSOFT VISUAL FOXPRO ADVISOR
or
MICROSOFT VISUAL STUDIO ADVISOR
If you have a correct subscription, sign-in (pink box above) to view the complete article and access any Download.

Purchase or renew your Subscription or Passport at www.AdvisorStore.com.

Click this link for help with subscriber online access.

About this Article:

Do you want to fill an array with a list of all the non-visual objects created using CreateObject() during runtime, so you can then scan through the list to get all the objects' properties and their values using AMEMBERS()? The only command you might be able to find is List Objects, but it can't output to an array. There's no function to accomplish this in Visual FoxPro. This article describes a function called AObjects.PRG modeled after the various A functions in VFP, which accepts an array as a parameter and fills the array with information about the objects in memory.

Tamar E. GranorTamar E. Granor, Ph.D., owns Tomorrow's Solutions, a company that works with other developers through subcontracting and consulting. Tamar is a Microsoft Certified Professional, a Microsoft Support Most Valuable Professional, and a technical editor of FoxPro Advisor. She is co-author of What's New in Nine, Microsoft Office Automation with Visual FoxPro, Taming Visual FoxPro's SQL, and a number of other books. Tamar speaks about Visual FoxPro at conferences and user groups in North America and Europe. tamar@tomorrowssolutionsllc.com

Keyword Tags: Microsoft, Microsoft Visual FoxPro

ADVISORAMA
Keep away from people who try to belittle your ambitions. Small people always do that, but the really great make you feel that you, too, can become great.
-- Mark Twain (1935-1910)

ARTICLE INFO

DataBased Advisor

Web Edition: 2005 Week 31, Doc #16767

Print Edition: September 2005, Page 8

SUBSCRIBER ONLY ARTICLE LOCKED


 Article files are on this issue's Resource CD.

Subscribers, log-in for Download link.

This article appeared in e-newsletter MICROSOFT VISUAL FOXPRO ADVISOR UPDATE. Click to get free e-newsletter subscriptions.

SUBSCRIPTION STATUS
You are not signed-in. If you are a subscriber to this publication, sign-in above to access locked articles. To subscribe or renew go to www.AdvisorStore.com.

Subscribe to FileMaker Advisor Magazine

Read the advanced guide to creating custom business database solutions with FileMaker software. Subscribe now to gain access to all the archives and downloads.

FileMaker.Advisor.com

Subscribe to Advisor Basics of FileMaker Pro

Learn the fundamentals of using FileMaker Pro software. Every issue gives you step-by-step instructions on creating the databases you need. Subscribe now!

FileMaker.AdvisorBasics.com

Showcase Your Smarts

Submit your tips, techniques and advice and let Advisor promote your business and build your career. Show the world what you know!

AdvisorTips.com

Use of this or any other site, content, product or service of Advisor Media constitutes acceptance of Terms of Use.
Portions copyright ©1983-2008 Advisor Media, Inc. All Rights Reserved.
Reuse or reproduction of any portion or quantity of Advisor Media's copyrighted content, in any form, for any purpose, requires written permission.
ADVISOR®, the ADVISOR logo, and other names and logos that incorporate ADVISOR are registered trademarks, trademarks or service marks of Advisor Media, Inc. in the United States and/or other countries.
Other trademarks are used for identification, editorial or descriptive purposes and are the property of their owners.
Hosted by Prominic.NET Website powered by
LOTUS SOFTWARE
GRANL63-03 posted 04/05/2006 modified 12/03/2008 03:40:47 AM ztdbms/ztdbms
domino-144.advisor.com my.advisor.com 12/03/2008 03:47:45 PM