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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File location not directory or path 1

Status
Not open for further replies.

three57m

Programmer
Jun 13, 2006
202
US
Is there a way to get the location data of a file, for example if i place a file on my desktop in the top right hand corner, is there a vb6 way to delete that file and then recreate it in that exact location ie...top right hand corner ?
 
The desktop is a ListView, so you can use the API to interrogate the ListView. For example you can send the LVM_GETITEMPOSITION message via SendMessage to find out where a specific icon is located, and then use LVM_SETITEMPOSITION to place it in a different location
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top