Welcome to Forums Sign in | Join | Help | Forums
in Search





Make the world a better place.

API using Visual Studio 2005

Last post 08-06-2008 8:45 PM by Peter Falconer. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-06-2008 8:45 PM

    • Peter Falconer
    • Top 200 Contributor
    • Posts 35
    • Organization: Oxfam Australia
    • Products:  The Raiser's Edge

    API using Visual Studio 2005

    I am writing an app in Vb using Visual Studio 2005 and the RE API and have run into a problem displaying a Constituent form. Strangely I have been able to display an RE Gift form in exactly the same environment and with nearly identical code. Has anyone come upon similar problems?

    The details are ...

    Code

    Dim oSuppForm As CConstituentForm, oRec As New CRecord

    Try

    oRec.Init(REApplication.SessionContext)

    oRec.Load(iRERecID)

    oSuppForm =
    New CConstituentForm

    oSuppForm.Init(REApplication.SessionContext)

    oSuppForm.ConstituentObject = oRec

    oSuppForm.ShowForm(True, , True)

    end code

    Error message displayed is Attempt to access the method failed

    The same error occurs when I use ShowFormOkCancel as well.

    Blackbaud technical support had no problems running the code.

    Has anyone experienced anything similar? Hopefully with a solution?

    Thanks,

    Peter 

     

     

    Filed under: , ,
Page 1 of 1 (1 items)