FTP app help

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
mr_penguin





Posts: 541
Joined: Thu Feb 08, 2007 5:39 pm
Location: NJ

FTP app help

Post 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.
Your mom became oversized. Please make your mom smaller before reposting. :shock:
Infern0 wrote:You just shave the excess bush and burn the leftovers.
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post by Patrickssj6 »

Show us your code maybe? Don't worry...people who mod xbox probably know how to write ftp code themselves.
...left for good
mr_penguin





Posts: 541
Joined: Thu Feb 08, 2007 5:39 pm
Location: NJ

Post 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.
Your mom became oversized. Please make your mom smaller before reposting. :shock:
Infern0 wrote:You just shave the excess bush and burn the leftovers.
OwnZ joO




Articulatist 500

Posts: 980
Joined: Thu Nov 10, 2005 4:24 pm

Post 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.
Post Reply