Here is an example which will tell you : How to attach the function library in QTP without using file-settings—resources
Executefile” c:functionlibraries.vbs”
‘ Through AOM(Automation Object Model)
Set qtApp = CreateObject(“QuickTest.Application”)
qtApp.Launch
qtApp.Visible = True
qtApp.Open “C:TestsTest1″, False, False
qtApp.Test.Settings.Resources.Libraries.Add “e:Utils.vbs”