Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Problem with Combobox...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with Combobox...

 Post Reply Post Reply
Author
Message
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post Topic: Problem with Combobox...
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 18 April 2008 at 12:56pm

Hello,

ok. so think problem in line 17 of your code ;-)
 
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 24 April 2008 at 11:40am
CommandBars.ShowTabWorkspace True\False
Back to Top
shipwreck View Drop Down
Senior Member
Senior Member
Avatar

Joined: 18 April 2008
Location: United States
Status: Offline
Points: 308
Post Options Post Options   Thanks (0) Thanks(0)   Quote shipwreck Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.