ID:278300
 
Okay, I'm working on my own browser interface. It will be an all in one browser, media player, and chat. I've got the tabbed browsing part down, the only problem is you can't close the tabs. I could easily make a button or something that would close the current tab, but that's not what I want.

I'm trying to do one of two things. Either have a close button, in the tab button. Or at least be able to right click tabs and have a drop down menu with the option to close the tab. I'm thinking there is probably somewhere in the property panes for this. Though I can't find it, so I'm not sure.

Then I just have some basic questions about if certain things are easily implemented or need actually programming. By this I mean that most of BASIC is done for you. Though adding tabs, deleting tabs, and creating new browsers actually required a slight bit of work.

Basically I want to know how to save things. Like favorites for instance. Creating a favorites drop-down, or even pop up wouldn't be hard. But how would I import and export these files. Like when I favorite something, I give it a name, then the URL would be saved. Then to import the favorites it reads the file name and URL.

Then for the chat. The chat would either be another tab, or a I don't know what they are called, but like a new control in the same panes just on one side. Anyway, can I have people login with their e-mail address and password? For instance I have the chat built in to the browser, but also a stand alone. They enter their e-mail and password to their e-mail. The chat will check the website of the e-mail distributor to make sure this is their correct e-mail. Then log them in.

Is this possible with BASIC alone, or would I need some scripting? Another alternative is they can log in with their AIM account, but I would assume this would be pretty much the same as previous.

Then finally putting in a Firefox browser control. Some people say it's possible some say it's not. This thing call GeckoFx is suppose to work with XUL Runner and give you the ability to do this. They give you a line of code to put into your project for this, but it's not working for me. It just produces errors. I'm wondering if I'm suppose to put this in a different area or something?

Any help, or reference is much appreciated. This language seems picky as hell. Sometimes I can do something sometimes I can't. For instance when a browser loads I wanted the URL to go into the address bar. I did this before when working with a tutorial by doing abar.Text = browser.Url(). It won't let me do this now and says system.uri can't be converted to a string.
I don't think you can save anything in visual basic.... I went through the first 18 lessons in the book and never learned this... as for the rest, over my head, sorry, ill try to figure some of this out for you after I get home.
Ulterior Motives wrote:
I did this before when working with a tutorial by doing abar.Text = browser.Url(). It won't let me do this now and says system.uri can't be converted to a string.

abar.Text=browser.Url.ToString()
In response to Soldierman
That's what I was forgetting. I tried ToString(browser.Url) and it didn't work I didn't think about adding it to the end.
You'll find http://www.vbforums.com/ and http://www.xtremevbtalk.com/ to be far more useful than these forums.
In response to Darkjohn66
Darkjohn66 wrote:
I don't think you can save anything in visual basic....

Saving in Visual Basic is the same as saving in any other language. The data must be written to a file, the system registry or a database and later retrieved when it's needed.
In response to Tiberath
Okay, thanks for the links. I think vbforums draws more to my liking.