Dim oApp As Framework.App = New Framework.AppSo, in that application, I can now refer to the framework application such as oApp.cStartupDirectory.
Public Class Browser ' Add an option in the record ' expC1 Url ' expC2 Image ' expC3 Tooltip Public Shared Function AddRecordOption(ByVal tcUrl As String, ByVal tcImage As String, _ ByVal tcTooltip As String) As String Dim lcHtml As String lcHtml = "<A HREF=LX" + tcUrl + "><IMG SRC=file:///" + _ Framework.Internet.EncodeUrl(oApp.cStartupDirectory + tcImage + ".gif") + _ " BORDER=0 ALT=""" + tcTooltip + """ WIDTH=19 HEIGHT=18></A>" Return lcHtml End Function End ClassAs you can see, I changed the reference from Framework.App.cStartupDirectory to oApp.cStartupDirectory. The problem I have is that oApp does not exist in the Framework.dll as this only goes live once an application creates an instance of the framework application such as demonstrated at the top of this message. So, how can I succeed to compile Framework.dll and resolve the "oApp is not declared" message.