VB Script to XCode?

Discussion in 'iOS Programming' started by itemobile, Oct 13, 2009.

  1. itemobile macrumors newbie

    Joined:
    Oct 13, 2009
    #1
    I have made a VB app that I want to somehow port over to XCode and then into my own app to run on my iPhone. The program simply finds a text box, enters a random number, and submits. It counts how many times it does it. This is a app used to test databases I create for customers. Could someone help me out? Thank you in advance.
     
  2. boyplunder macrumors regular

    boyplunder

    Joined:
    Sep 8, 2008
    Location:
    UK
    #2
    There isn't any straightforward way of 'porting' your vb app to xcode, as far as I know. The logistics and methods are very much the same, although the language is different. An IF statement is the same, bar the syntax differences.

    I have more than 10 years VBA experience, and learning how to use the SDK wasn't too great a leap.
     
  3. itemobile thread starter macrumors newbie

    Joined:
    Oct 13, 2009
    #3
    Someone who actually knows VB! Finally. Okay. All I want to do with in this app is open a link. Find a text box (via the name of the box), enter and randomized number (a certain number of characters though) and submit it. (Adjustable time is possible)

    This app I made is used to test my clients PHP databases when i configure them. I wrote the whole thing in VB, but would like to make it for my iphone.

    Any chance you could help me out? I'd really appreciate it.
     
  4. Kingbombs macrumors member

    Joined:
    Jun 24, 2009
    #4
    may have to re-write the code.
    As said above most of the code syntax will be very similar.
    You may need to go into the apple documentation to find the methods which you use in VB and find the names that you will need and what frameworks to import (if you need to import any)
     
  5. itemobile thread starter macrumors newbie

    Joined:
    Oct 13, 2009
    #5
    Could you help me out guys? Or get me a starter source with a few text boxes or somethin?
     
  6. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #6
    There's plenty of example code on the apple developer site, as well as a bunch of other tutorial sites (see the FAQ at the top of this forum).

    If you take the time to actually look, you might find an existing iPhone development tutorial that already does very close to what you want.

    If you want to develop the iPhone app yourself, it should take between a couple weeks and a couple months of study for an experienced VB dev (in OOP and event-driven projects) to figure out how to translate a simple VB algorithm with Windows UI objects into Obj-C and Cocoa Touch for the iPhone.

    If you want someone to write the code for you, there are various other sites where you can find a developer to hire for the project.

    ymmv.
     

Share This Page