{"id":2035,"date":"2019-03-25T17:37:45","date_gmt":"2019-03-25T20:37:45","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/kb26628-returning-an-objects-properties-via-a-method\/"},"modified":"2019-04-26T19:29:01","modified_gmt":"2019-04-26T22:29:01","slug":"kb26628-returning-an-objects-properties-via-a-method","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/kb26628-returning-an-objects-properties-via-a-method\/","title":{"rendered":"KB-26628: Returning an object&#8217;s properties via a method."},"content":{"rendered":"<p align=\"justify\"><span style=\"font-weight: bold;\">Question:<\/span><\/p>\n<p>Is there any method in Elipse E3 that returns all properties from a certain object?<\/p>\n<p><span style=\"font-weight: bold;\">Solution:<\/span><\/p>\n<p>No. To do so, you will have to use a <b>PropEnum <\/b>ActiveX, which was developed by Elipse Software. To do so, follow these procedures:<\/p>\n<p>1. Extract the attached file <b>PropertyEnum.zip<\/b> to your computer;<\/p>\n<p>2. On <b>Start&#8211;Execute<\/b> menu, write the following command (setting the file&#8217;s path):<\/p>\n<p align=\"justify\"><span style=\"font-family: Courier New;\">regsvr32 C:\\PropertyEnum.dll<\/span><\/p>\n<p align=\"justify\">\u00a0\u00a0 * If you use a 64-bit version of E3 and want to list the properties of any server object, use P<b>ropertyEnum64.dll<\/b> file:<span style=\"font-family: Courier New;\"><br \/>\n<\/span><\/p>\n<p align=\"justify\"><span style=\"font-family: Courier New;\">\u00a0 regsvr32 C:\\PropertyEnum64.dll<\/span><\/p>\n<p align=\"justify\">\u00a0\u00a0 * If you use Windows Vista or higher, you will need to execute the command on prompt as an administrator, as seen below:<\/p>\n<p align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID2907\/fig1.jpg\" alt=\"\" width=\"410\" height=\"390\" align=\"baseline\" border=\"0\" \/><\/p>\n<p align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID2907\/fig2.jpg\" alt=\"\" width=\"676\" height=\"340\" align=\"baseline\" border=\"0\" \/><\/p>\n<p align=\"justify\">3. Add the following script to the application:<\/p>\n<p><span style=\"font-family: Courier New;\"><span style=\"background-color: #ffffff;\">dim a, i, methods, msg, obj<br \/>\nmsg = &#8220;&#8221;<br \/>\n<br style=\"color: #339966;\" \/><span style=\"color: #339966;\">&#8216;Configure the object on the next line:<\/span><br \/>\nset obj = Screen<\/span><\/span><\/p>\n<p>set a = CreateObject(&#8220;PropertyEnum.PropEnum.1&#8221;)<\/p>\n<p><span style=\"color: #339966;\">&#8216;EnumMethods(Object, [ShowNonbrowsable=True], [ShowHidden=False], [ShowRestricted=False])<\/span><br \/>\nmethods = a.EnumMethods(obj, True, False, False)<br \/>\nfor i = LBound(methods) to UBound(methods)<br \/>\nmsg = msg &#038; methods(i) &#038; vbNewLine<br \/>\nnext<\/p>\n<p>MsgBox msg<br style=\"font-style: italic;\" \/><b>NOTE<\/b>: It&#8217;s not possible to enumerate the properties of server objects if the ActiveX is created in the Viewer.<\/p>\n<p>Check for more details on the attached demo application developed with E3 version 3.2 build 260.<\/p>\n<h3 align=\"justify\">Attachments:<\/h3>\n<p><a href=\"\/wp-content\/uploads\/2019\/03\/PropertyEnum-1.0.0.5-1.zip\">PropertyEnum-1.0.0.5.zip<\/a><br \/>\n<a href=\"\/wp-content\/uploads\/2019\/03\/ProjShowProperties-V2.0-eng.zip\">ProjShowProperties V2.0 eng.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question:Is there any method in Elipse E3 that returns all properties from a certain object?Solution:No. To do so, you will have to use a PropEnum ActiveX, which was developed by Elipse Software. To do so, follow these procedures&#8230;<br \/>\nAutor<br \/>\nMateus Machado<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[731],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>KB-26628: Returning an object&#039;s properties via a method. - Elipse Knowledgebase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KB-26628: Returning an object&#039;s properties via a method.\" \/>\n<meta property=\"og:description\" content=\"Question:Is there any method in Elipse E3 that returns all properties from a certain object?Solution:No. To do so, you will have to use a PropEnum ActiveX, which was developed by Elipse Software. To do so, follow these procedures... Autor Mateus Machado\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-25T20:37:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-04-26T22:29:01+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID2907\/fig1.jpg\" \/>\n<meta name=\"author\" content=\"Elipse Software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elipse Software\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/\"},\"author\":{\"name\":\"Elipse Software\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\"},\"headline\":\"KB-26628: Returning an object&#8217;s properties via a method.\",\"datePublished\":\"2019-03-25T20:37:45+00:00\",\"dateModified\":\"2019-04-26T22:29:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/\"},\"wordCount\":223,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"ActiveX\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/\",\"url\":\"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/\",\"name\":\"[:pt]KB-26628: Returning an object's properties via a method.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:37:45+00:00\",\"dateModified\":\"2019-04-26T22:29:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KB-26628: Returning an object&#8217;s properties via a method.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\",\"name\":\"Elipse Software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"caption\":\"Elipse Software\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"KB-26628: Returning an object's properties via a method. - Elipse Knowledgebase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]KB-26628: Returning an object's properties via a method.[:] - Elipse Knowledgebase","og_description":"[:pt]Question:Is there any method in Elipse E3 that returns all properties from a certain object?Solution:No. To do so, you will have to use a PropEnum ActiveX, which was developed by Elipse Software. To do so, follow these procedures... Autor Mateus Machado[:]","og_url":"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:37:45+00:00","article_modified_time":"2019-04-26T22:29:01+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID2907\/fig1.jpg"}],"author":"Elipse Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elipse Software","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/"},"author":{"name":"Elipse Software","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87"},"headline":"KB-26628: Returning an object&#8217;s properties via a method.","datePublished":"2019-03-25T20:37:45+00:00","dateModified":"2019-04-26T22:29:01+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/"},"wordCount":223,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["ActiveX"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/","url":"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/","name":"[:pt]KB-26628: Returning an object's properties via a method.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:37:45+00:00","dateModified":"2019-04-26T22:29:01+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/kb26628-returning-an-objects-properties-via-a-method\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"KB-26628: Returning an object&#8217;s properties via a method."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87","name":"Elipse Software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","caption":"Elipse Software"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/2035"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=2035"}],"version-history":[{"count":3,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/2035\/revisions"}],"predecessor-version":[{"id":5950,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/2035\/revisions\/5950"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=2035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=2035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=2035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}