fenesan Posted May 25, 2011 Report Share Posted May 25, 2011 Am incercat sa fac un combobox in vb6 si nu prea reusesc sa fac cum vreau eu poate ma ajuta cineva de pe forumCombobox vreau sa contina:Name: GoogleLink: www.google.roName: YahooLink: www.yahoo.comMicrosoft Internet Controls si un buton, cand vreau sa selectez "google" sau "yahoo" si dau click pe buton sa ma redirectioneze catre site respectiv Quote Link to comment Share on other sites More sharing options...
Zolder Posted May 25, 2011 Report Share Posted May 25, 2011 (edited) Private Sub Combo1_click()If Combo1 = "Google" ThenWebBrowser1.Navigate ("wvw.google.ro")End IfEnd Subschimbi google.ro cu ce site vrei Edited May 25, 2011 by Zolder Quote Link to comment Share on other sites More sharing options...
cobra89 Posted May 25, 2011 Report Share Posted May 25, 2011 (edited) Private Sub Combo1_click()If Combo1 = "Google" ThenWebBrowser1.Navigate ("wvw.google.ro")End IfEnd Subschimbi google.ro cu ce site vreiNu merge asa cum zici tu@fenesan dami pm si iti explic eu Edited May 25, 2011 by cobra89 Quote Link to comment Share on other sites More sharing options...
DrGrim Posted May 25, 2011 Report Share Posted May 25, 2011 If Combobox1.selecteditem.text = "Google" or Combobox1.selecteditem.text.contains("Google") ThenWebBrowser1.Navigate ("wvw.google.ro")End Ifin vb.net cam asta ar fi ,sunt sigur ca nu este cu mult prea diferit in vb6 Quote Link to comment Share on other sites More sharing options...
emiliano Posted May 25, 2011 Report Share Posted May 25, 2011 Poate nu ai adaugat controloru respectiv..si daia nu merge si sunt diferente intre vb net si vb 6... Quote Link to comment Share on other sites More sharing options...
kame Posted May 25, 2011 Report Share Posted May 25, 2011 In visual basic 6 alegi microsoft internet control si de acolo webbroser1.navigate = "http://www.google.ro" si gata:D Quote Link to comment Share on other sites More sharing options...
Zolder Posted May 25, 2011 Report Share Posted May 25, 2011 Nu merge asa cum zici tu@fenesan dami pm si iti explic euNu are cum sa nu mearga , este testat de mine. Quote Link to comment Share on other sites More sharing options...
fenesan Posted May 25, 2011 Author Report Share Posted May 25, 2011 Nu are cum sa nu mearga , este testat de mine.Imi poti explica mai detaliat ? sunt incepator si nu prea inteleg@cobra89 ai pm Quote Link to comment Share on other sites More sharing options...