Print Page | Close Window

Problem with Combobox...

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=10293
Printed Date: 08 October 2024 at 1:38am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with Combobox...
Posted By: shipwreck
Subject: Problem with Combobox...
Date 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



Replies:
Posted By: Oleg
Date Posted: 18 April 2008 at 8:12am
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


Posted By: shipwreck
Date Posted: 18 April 2008 at 9:30am
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


Posted By: Oleg
Date Posted: 18 April 2008 at 12:56pm

Hello,

ok. so think problem in line 17 of your code ;-)
 
 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: shipwreck
Date Posted: 21 April 2008 at 11:13am
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


Posted By: Oleg
Date Posted: 21 April 2008 at 2:10pm
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


Posted By: shipwreck
Date Posted: 21 April 2008 at 2:43pm
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


Posted By: shipwreck
Date Posted: 24 April 2008 at 11:06am
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


Posted By: shipwreck
Date Posted: 24 April 2008 at 11:13am
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


Posted By: SuperMario
Date Posted: 24 April 2008 at 11:40am
CommandBars.ShowTabWorkspace True\False


Posted By: shipwreck
Date Posted: 24 April 2008 at 11:47am
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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net