Page 1 of 1

FTP app help

Posted: Sat Mar 22, 2008 10:32 pm
by mr_penguin
I'm working on an ftp app to connect to the xbox. It links to the xbox but when I try to go into any of the folders in the xbox it opens that folder in a new window. Does anyone know how to keep it in the same window.

I'm using VB but I can use C# if I have to.

Posted: Sun Mar 23, 2008 2:12 am
by Patrickssj6
Show us your code maybe? Don't worry...people who mod xbox probably know how to write ftp code themselves.

Posted: Sun Mar 23, 2008 4:18 pm
by mr_penguin
My code to link to the xbox is kind of like this:
  • Private Sub btn_connect_click()
    Dim Ip as string = me.txt_IP.text
    Dim User as string = me.txt_user.text
    Dim Pass as string = me.txt_pass.text

    Dim URL as string
    URL = "ftp://" & User & ":" & Pass & "@" & Ip

    If Ip = "" then
    me.messagebox.show("Please enter a valid IP Address")

    Else
    me.webbroser1.navigate(URL)

    End If
    End sub
Its basically a web browser app but it has two web browsers in it.

Posted: Sun Mar 23, 2008 8:19 pm
by OwnZ joO
Not sure how to make it only open in one window, but I wouldn't release your app unless you write it using something other than the prebuilt .net webbrowser component. Good luck with it though.