Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

from site download icon flag...

Status
Not open for further replies.

sal21

Programmer
Apr 26, 2004
425
IT
no idea...
how to download and save in c:\test\, icon from site and save single icon with name of state


but really i need to fill a combobox with a internationl prefix and flag icon, similar for Italy:

+039<flag> ITALIA
ecc...

NOTE:
peraphs strongm, suggest me a solution from other site, in
but i cannot arrange the code to download the icon
 
Yeah, this one is somewhat more complex, as the site obfuscates the actual image source somewhat (ultimately getting it from wikipedia), so a straight page scrape doesn't quite work.

 
HI STRONGM,
saved all image in dir c:\images\, from other resource.
now , have idea to fill the combobox, similar:

+039<flag> ITALIA

ecc...

all image are saved with:

ALBANIA-355.png
CIPRO-357.png
ecc...

where first part, of file name, is the name of state, and 355 international phone prefix
 
As I think we have previously advised you, the default VB6 combobox does not display images. But there is an ImageComboBox control in the Microsoft Common Controls library that you should have a look at
 
Sal21,

2009luca,

Are you the same user? If so, could you stick to just one account here? The two identities make it difficult to follow discussions.
 
YES have two account...
for future i can use only one.
sorry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top