Women in Technology

Hear us Roar



Article:
  Build a .NET App for Google Checkout
Subject:   Using CheckOut API in VB. NET
Date:   2007-11-21 00:03:44
From:   momander
Response to: Using CheckOut API in VB. NET

You can download the code from http://code.google.com/p/google-checkout-dotnet-sample-code/


The download examples-v1.2.zip has C# and VB samples of how to call the library.


Cheers


/Martin

Full Threads Oldest First

Showing messages 1 through 4 of 4.

  • Using CheckOut API in VB. NET
    2007-11-21 13:28:24  zeeshanks [View]

    Hello Martin,
    Thanks for your reply. In the example folder, there are subfolders which only have .aspx files and they are in C#. Can you please advise as to which files are VB.NET files?

    Thanks,
    Zee
    • Using CheckOut API in VB. NET
      2007-11-21 14:55:25  momander [View]

      Zee,

      Sorry I forgot; the VB samples aren't in an official release yet. So either wait a week or two for v1.3 to be released, or grab the VB files from the trunk here: http://google-checkout-dotnet-sample-code.googlecode.com/svn/trunk/examples/vb.net/

      /Martin
      • Using CheckOut API in VB. NET
        2007-11-21 23:17:23  zeeshanks [View]

        Hello Martin,
        Is it possible to get the actual form file for the simple.aspx file?

        I 'm trying to compile my project with PostCarttoGoogle function. I have created a button (Button4) in my form.

        The first error is related to this line:

        Dim Req As CheckoutShoppingCartRequest = Button4.CreateRequest

        The error is :
        'CreateRequest' is not a member of 'System.Web.UI.WebControls.Button'.

        Can you please help.

        Thanks,
        Zee
        • Using CheckOut API in VB. NET
          2007-11-22 12:33:14  momander [View]

          Zee,

          Sounds like your Button4 is a regular Button and not a GCheckoutButton. Did you add the button to your ASPX page according to page 3 of the article, like this:

          <cc1:GCheckoutButton id="GCheckoutButton1" onclick="PostCartToGoogle" runat="server"/>

          /Martin