Problem with Combobox... |
Post Reply |
Author | |
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
Posted: 18 April 2008 at 5:47am |
Hello everyone, I use the current stable release of this, and I'm having a problem. I'm trying to make a tabbed web browser, and I have everything set up, But I don't know how to make it change the URL to the current tabs URL in the addressbar. Anyone help me with this? Or show me another way of working this?
|
|
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
What exectly is problem? You can't get url of webbrowser or you don't know how to set text of ComboBox ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
Well, It's a MDI based app, and I'm using the WB control in child forms, to co interact with the combobox in the command bar on the main form. I've used a couple of methods, Both in which providing me with the same result. For example, Say you have two tabs open. And each is a different website or domain, each featuring two completely different URLs to be in the addressbar. I was wanting it to switch to the correct URL whenever you selected a different tab. However, with the code I use, I get the exact opposite. Whenever I select a different tab, it gives me the "Other" tabs information such as the URL and the title bar caption. Make sense? I'm new at this forum stuff.
|
|
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, ok. so think problem in line 17 of your code ;-)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
Hey Ummm, Oleg, Just what do you mean by that? :p
|
|
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
I mean that description "However, with the code I use, I get the exact opposite" gives nothing because nobody know what code you use...
Show some code or better small sample and we will help to change it.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
Sorry, Like I said, I'm new at this stuff. Alrighty, I will, as soon as I build it again, Just upgraded to Vista Ultimate.
|
|
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
|
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
Alright Oleg. Heres some of the code I normally used.
Private sub Workspace_selectedchange()
commandbars.findcontrol(Type, ID).text = me.activeform.wb.locationURL
end sub
I know that might not be completely accurate to my original idea of the code, But I'm sure you get the point Oleg.
But, When I use this code, It doesn't function the way I should. So I'm going to ask you if you might have a sample or tutorial I can go by, or maybe a better code, Because I'm lost on this one.
|
|
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
|
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
Oleg, or anyone else, I got one other question also. When I only got one tab open, Is there a way I can get the tabworkspace to hide it'self, and return back when more than one is open?..
I'm also doing all this in vb6
|
|
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
CommandBars.ShowTabWorkspace True\False
|
|
shipwreck
Senior Member Joined: 18 April 2008 Location: United States Status: Offline Points: 308 |
Post Options
Thanks(0)
|
Yeah, I know that much.. lol :p But to make it happen at the interval. Thats what I'm havin trouble with.
|
|
Product: Xtreme Suite Pro (Active-X), Version 15.3.1
Platform: Windows 7 Ultimate SP1 (64Bit) & Windows XP Mode SP3 (32Bit) Language: Visual Basic 6.0 SP6 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |