|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ComboBoxI have a ComboBox (On my Windows App, not ASP.NET) populated with several
internet destinations. How do I add a hyperlink so I can select the link and be taken right to the page. I think that if you just shell the link it would open the browser like
it would any other document. Just this time it has an HTML extension. I may be wrong. I have done this but it has been a while. DAL wrote: Show quoteHide quote > I have a ComboBox (On my Windows App, not ASP.NET) populated with several > internet destinations. How do I add a hyperlink so I can select the link and > be taken right to the page. > > > Hi DAL,
If your ComboBox contains the URL's themselves, just use the Start method of the System.Diagnostics.Process class. Dim cmbListItem as string = MyCombo.SelectedItem.ToString() Dim myProc As New System.Diagnostics.Process() myproc.Start("IExplore.exe", cmbListItem) If the ComboBox doesn't contain the complete URL, you can construct the URL depending on which item was selected. HTH, Regards, Cerebrus. |
|||||||||||||||||||||||