Modify

Opened 4 years ago

Closed 4 years ago

#2732 closed Feature Request (Completed)

ObjName - additional example proposal

Reported by: mLipok Owned by: Jpm
Milestone: 3.3.13.0 Component: Documentation
Version: Severity: None
Keywords: Cc:

Description

$obj = ObjCreate("InternetExplorer.Application")
ObjName_FlagsValue($obj)

Func ObjName_FlagsValue(ByRef $obj)
	Local $sInfo=''

	$sINFO &= '+>' & @TAB & 'ObjName($obj,1) {The name of the Object} =' & @CRLF & @TAB & ObjName($obj, 1) & @CRLF

	; HELPFILE REMARKS: Not all Objects support flags 2 to 7. Always test for @error in these cases.
	$sINFO &= '+>' & @TAB & 'ObjName($obj,2) {Description string of the Object} =' & @CRLF & @TAB & ObjName($obj, 2)
	If @error Then $sINFO &= '@error = ' & @error
	$sINFO &= @CRLF

	$sINFO &= '+>' & @TAB & 'ObjName($obj,3) {The ProgID of the Object} =' & @CRLF & @TAB & ObjName($obj, 3)
	If @error Then $sINFO &= '@error = ' & @error
	$sINFO &= @CRLF

	$sINFO &= '+>' & @TAB & 'ObjName($obj,4) {The file that is associated with the object in the Registry} =' & @CRLF & @TAB & ObjName($obj, 4)
	If @error Then $sINFO &= '@error = ' & @error
	$sINFO &= @CRLF

	$sINFO &= '+>' & @TAB & 'ObjName($obj,5) {Module name in which the object runs (WIN XP And above). Marshaller for non-inproc objects.} =' & @CRLF & @TAB & ObjName($obj, 5)
	If @error Then $sINFO &= '@error = ' & @error
	$sINFO &= @CRLF

	$sINFO &= '+>' & @TAB & 'ObjName($obj,6) {CLSID of the object''s coclass} =' & @CRLF & @TAB & ObjName($obj, 6)
	If @error Then $sINFO &= '@error = ' & @error
	$sINFO &= @CRLF

	$sINFO &= '+>' & @TAB & 'ObjName($obj,7) {IID of the object''s interface} =' & @CRLF & @TAB & ObjName($obj, 7)
	If @error Then $sINFO &= '@error = ' & @error
	$sINFO &= @CRLF

	ConsoleWrite('!   ObjName :' & @CRLF)
	ConsoleWrite($sINFO & @CRLF)
EndFunc   ;==>ObjName_Values

Attachments (1)

ObjName[2].au3 (1.6 KB) - added by mLipok 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by mLipok

comment:1 Changed 4 years ago by Jpm

  • Milestone set to 3.3.13.0
  • Owner set to Jpm
  • Resolution set to Completed
  • Status changed from new to closed

Added by revision [10208] in version: 3.3.13.0

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain Jpm.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.