Advanced Hyperlink Functionality

Discussion created by afmaps on Nov 24, 2011
Latest reply on Jan 30, 2012 by NShinolikar-esristaff
Hello All,

I realise that this subject has come up on this forum more than once, but it still seems to never have been answered. This theory worked in previous version, but not now since the change hyperlink scripting:

1. Feature field contain URL to an geo raster(.tiff) geotiff.
2. On hyperlink click find path of raster from field sx8 for clicked feature.
3. Open raster to arcmap.
4. Display raster in the active view in the location determined by the geotiff

This is almost like a raster catalog in which we show the bounding boxes of each image before click, and on click the hyperlink is found and it displays the actual image on top of the bounding box.

I noticed that the only way to do this would be to use what the esri help says:

<esri help >
You can create a dispatch object within your script code to call functions from a custom library.  This allows you to access ArcObjects through your hyperlink script via the dispatch object.  In addition you can pass IFeature and/or IFeatureLayer down to the dispatch object so that you launch the hyperlink for the appropriate feature. 
An example of a hyperlink script that creates a dispatch object:

Function OpenLink ( {IFEATURE}, {IFEATURELAYER} )
  Dim hlauncher
  Set hlauncher = CreateObject("Hyperlink_Lib.Launcher")
  hlauncher.Launch {IFEATURE}, {IFEATURELAYER}
End Function

This example will call the function Launch from a Hyperlink_Lib library that you have created.
<esri help >

Forgive me for being dense but this is not explained very well as to how to actually do it - please can someone jargon bust this for me. I am using visual studio .net - so how to link the two is what im looking for.

Thankyou in advance