f_hasdotnet.srf 388 B

12345678910111213141516
  1. $PBExportHeader$f_hasdotnet.srf
  2. global type f_hasdotnet from function_object
  3. end type
  4. forward prototypes
  5. global function boolean f_hasdotnet ()
  6. end prototypes
  7. global function boolean f_hasdotnet ();string ls_value[]
  8. if RegistryValues('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727', ls_value) <> 1 then
  9. return false
  10. else
  11. return true
  12. end if
  13. end function