I need a help with combo box command

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • aiman.h.kallaf
    Forum Member
    • May 2009
    • 30

    I need a help with combo box command

    i'm using version 7

    i need to know can i do this

    if i have a combo box with a list of names "like "google , yahoo, ask,
    i need when the user chose any of the name , the programs then should open the net browser for the user to the selected site ..

    it's been very long since i used the program so i kind of forgot how to do it ,

    usually i write the options on "Item "and i put the link on "Item data "

    so what is the code that make this happen

    excuse my bad English , and please i need this code fast I'm sure it's nothing for people like you guys
  • boku
    Indigo Rose Customer
    • Mar 2009
    • 283

    #2
    Assuming you have the combo setup with TEXT and DATA (the URL)

    You could use something as simple as this

    PHP Code:
    Shell.Execute(ComboBox.GetItemData(thisComboBox.GetSelected(this)), "open"""""SW_SHOWNORMALfalse); 
    - BoKu -

    Comment

    • mystica
      No longer a forum member
      • May 2007
      • 1548

      #3
      Here, try this example:

      Comment

      Working...
      X