none
Too many arguments to 'Public Sub New()

    Pregunta

  • ok well iam complete noob here and dotn now to much about errors, and this one is making me crazy

    ok a litte background about my project i have joint 3 projects to a point the all 3 works flawlessly but when i get to specific line

     

    iPhoneInterface = New iPhone(AddressOf iPhoneConnected_EventHandler, AddressOf iPhoneDisconnected_EventHandler)

     

    ok this project is open source so i have to give credit to the coder http://code.google.com/p/iphonebrowser/

    well if i run the app like it comes from the site it runs perfect!!

    so i when and joint to my project y add all references and did all the recoding i had to do so it will run under my prohect, but when it comes to that point i have no have the only problem..

    only we i try just go ahead and crash on me,,,

    Error	102	Too many arguments to 'Public Sub New()

     

    ok here is the main page i just dont now what to do from here please someone....HElp

    DownLoad frmMain.txt ////---->  http://www.mediafire.com/?8l2o5197k4manqx     <---------it docent let me put paste the code here...

     

    that is the MainForm and the one is crashing one me please....someone...

     

    PS if i just go ahead and coment this line or make it like this

    iPhoneInterface = New iPhone
    this will work but dont load

    --------------------------------------------------
    now if i comment the line

    'iPhoneInterface = New iPhone(AddressOf iPhoneConnected_EventHandler, AddressOf iPhoneDisconnected_EventHandler)

    it will work also but just  don't load aether ,

     

    please someone help me out....

     


     

    • Editado JCB,Borax viernes, 14 de enero de 2011 12:57 edit
    viernes, 14 de enero de 2011 12:56

Todas las respuestas