C# a Step by Step Beginners Tutorial

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Escapee
    Junior Member
    • Feb 2009
    • 51

    #76
    Originally posted by kawafan View Post
    Very informative tutorial Escapee.
    When the New Part is coming , waiting for "BETS" Related work like , match unmatched bets and Update bets
    The problem is that this :



    is probably more complex and logically involved than the whole tutorial up to this point.
    Take a moment to think through what happens on the betfair webpage when you place and subsequently match or partially match a bet or five.

    Having said that, almost all knowledge that is required to evolve this bets module is already contained within this tutorial.
    Last edited by Escapee; 06-09-2012, 08:29 AM.

    Comment

    • ThanksFish
      Junior Member
      • Jan 2009
      • 3

      #77
      Originally posted by Escapee View Post

      Struck a couple of issues with null pointers and so on

      It seems I might have omitted some code
      Code:
      using BetfairAPI.BFGlobal;
      using BetfairAPI.BFExchange;
      from somewhere in the tutorial but I'm not sure where, and many people like yourself seems to be able to overcome this small issue.

      If you can remember how/where you overcame this problem then please let me know and I will go back and edit the tutorial....
      or maybe I should leave it as it helps the pupil if they have to use some gray matter occasionally
      Hi Escapee, I have a feeling those two lines were exactly the things I needed to figure out, but for the life of me I can't remember where they were supposed to be - I think it may have been in the RefreshControl, because it was handling the GetMarketPricesCompressedResp object.

      Given that I can't remember where it was and neither can you, I think it's fairly safe to call this an "exercise in problem solving"

      Comment

      • kawafan
        Junior Member
        • May 2011
        • 33

        #78
        SO , No New Updates ?

        Comment

        • Fappes
          Junior Member
          • Aug 2011
          • 1

          #79
          Originally posted by kawafan View Post
          SO , No New Updates ?
          Maybe the Thread "Using VB2008 to acccess the Betfair API: A tutorial" can help you.
          I havent seen this C# Tutorial and translated the VB Code for my needs to C#

          Comment

          • kawafan
            Junior Member
            • May 2011
            • 33

            #80
            Originally posted by Fappes View Post
            Maybe the Thread "Using VB2008 to acccess the Betfair API: A tutorial" can help you.
            I havent seen this C# Tutorial and translated the VB Code for my needs to C#
            i have a working code for match update delete bets but the way he is doing is looking much much more cleaned . and also i was never able to do it with OOP way as he is doing , my all code is on a single winform class , so actually it is learning i am actually doing.

            Thanks

            Comment

            • monkeymagix
              Junior Member
              • Jul 2010
              • 105

              #81
              What about the new API and JSON

              For some reason this morning I have found that the Betfair BOT I have been working on C# Windows Service has stopped allowing the withdrawal of money back to my card. It was only £20 but I received a SERVICE_NOT_AVAILABLE_IN_PRODUCT error where before I had managed to return money okay. I am using the free API but I see on the comparison list that they have removed this function from all versions of the product

              http://bdp.betfair.com/index.php?opt...=36&Itemid=64.

              I am wondering why this has happened?

              Also whilst scouring the forums I notice that they are rolling out a new version of the API using JSON instead of XML. Whilst I hope they give all developers enough time to move their code over I was wondering whether there would be any "crossover tutorials" coming out e.g an example of replacing your XML version of WithDrawFunds to JSON etc.

              I don't know if anyone here has the answers but I thought I would try!

              Thanks for any help received in advance.

              Comment

              • nettuno
                Junior Member
                • Sep 2012
                • 6

                #82
                Great tutorial!!

                I'll follow him to create my first API.

                I've got this error:





                What do'm doing wrong?

                Sorry my bad inglish

                Comment

                • Escapee
                  Junior Member
                  • Feb 2009
                  • 51

                  #83
                  Originally posted by nettuno View Post
                  Great tutorial!!

                  I'll follow him to create my first API.

                  I've got this error:





                  What do'm doing wrong?

                  Sorry my bad inglish
                  I can not see the error message !? your screen print is too fuzzy

                  But I can see that you have not followed the tutorial 100% and have created the BFExchange and BFGlobal as 'Service References' instead of 'Web References'



                  this is correct:


                  probably best to start the tutorial again.


                  good luck

                  Comment

                  • nettuno
                    Junior Member
                    • Sep 2012
                    • 6

                    #84
                    Escapee.

                    You are right.

                    Restarted the tutorial. And put with WEB SERVICE''''.

                    But still showing the same error.

                    Sorry my bad english.

                    Comment

                    • Escapee
                      Junior Member
                      • Feb 2009
                      • 51

                      #85
                      nettuno

                      you have only completed Part 1, which creates the BetfairAPI Library.

                      You need to complete Part 2, which creates a Form/GUI to use the BetfairAPI Library.


                      Keep going and you'll get there.

                      Comment

                      • nettuno
                        Junior Member
                        • Sep 2012
                        • 6

                        #86
                        Originally posted by Escapee View Post
                        nettuno

                        you have only completed Part 1, which creates the BetfairAPI Library.

                        You need to complete Part 2, which creates a Form/GUI to use the BetfairAPI Library.


                        Keep going and you'll get there.

                        Thank you.

                        Going part 2!!!

                        Comment

                        • nettuno
                          Junior Member
                          • Sep 2012
                          • 6

                          #87
                          Escapee.

                          I could go to step 36.

                          Where should I put the code in step 36?

                          In which part?

                          Sorry my bad english.

                          Comment

                          • nettuno
                            Junior Member
                            • Sep 2012
                            • 6

                            #88
                            Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                            Comment

                            • Escapee
                              Junior Member
                              • Feb 2009
                              • 51

                              #89
                              Originally posted by nettuno View Post
                              Escapee.

                              I could go to step 36.

                              Where should I put the code in step 36?

                              In which part?

                              Sorry my bad english.
                              Originally posted by nettuno View Post
                              Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

                              it the same as step 34, step 35, and step 37

                              its also in the full code given at the end of part 3


                              I understand that English is not your first language and you are doing very well..... BUT.... you are only asking twice about this problem because you have not thought about it.

                              If you thought about the problem you might go back a few steps and look for clues such as:
                              "Full Code for Part 3 is available at the end of Part 3."

                              and

                              "Step 34
                              Now onto the MenuTree.cs file"


                              Many people have completed this tutorial, therefore it is logical to assume it contains enough information to complete it.
                              If you get stuck it more likely to be something you can fix if you think about it, after all many other people have.

                              My advice to you is to slow down, think about each step, Try to learn and understand what each step is trying to do, if you get stuck, go back a few steps and read them again.

                              best of luck

                              Comment

                              • nettuno
                                Junior Member
                                • Sep 2012
                                • 6

                                #90
                                Thank you, Escapee.

                                Comment

                                Working...
                                X