CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Language: VB.NET

Habanero Application Start

211 Views
Copy Code Show/Hide Line Numbers
   1:  Try
   2:   
   3:      Habanero.Base.GlobalRegistry.ApplicationName = "IGD"
   4:      Habanero.Base.GlobalRegistry.ApplicationVersion = "v1.0"
   5:      HabaneroApplication = New Habanero.UI.Win.HabaneroAppWin(Habanero.Base.GlobalRegistry.ApplicationName, Habanero.Base.GlobalRegistry.ApplicationVersion)
   6:      HabaneroApplication.ClassDefsXml = IGD.BO.BOBroker.GetClassDefsXml()
   7:   
   8:      If Not HabaneroApplication.Startup() Then
   9:          Throw New Exception("Unable to start Habanero Application")
  10:      End If
  11:   
  12:      Habanero.BO.BORegistry.DataAccessor = New Habanero.DB.DataAccessorDB()
  13:   
  14:  Catch ex As Exception
  15:      Throw
  16:  End Try
by Mitchell William Cooper
  May 30, 2010 @ 2:57pm
Tags:
Description:
This is my code in the Application_Start event in my Global.asax file:

Add a comment


Report Abuse
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate