Normal Topic Phantom database added to my LocalListDirectory (Read 805 times)
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Phantom database added to my LocalListDirectory
Oct 20th, 2016 at 1:02pm
Print Post Print Post  
I use the following programming to create a selection list of documents being stored in different directories.  When I do, I get a "Thumbs.db" in the list! (see attached).  This file DOESN'T EXIST and the file name shows up in all my unsorted lists.  See attached.

Any idea what's happening and why this list is showing up?

var DirectoryList as string
var vDCNumber as string
var vSortedList as string
var vShowList as string
var vTemp as Int


PopupSelectPosition(4, @XPos(ThisElement)-200, @YPos(ThisElement))


     directoryList = @LocalListDirectory("F:/sesame Docs/TS DOC Training")
     
     vShowList=@PopupChoiceList(DirectoryList,"SELECT A TRAINING PROGRAM TO VIEW")

     If @Len(vShowList)>0
     {
           vTemp = @ASynchShell("F:\sesame docs\ts doc Training\"+vShowList)
     }
  

DirectoryList.JPG ( 58 KB | 61 Downloads )
DirectoryList.JPG
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Phantom database added to my LocalListDirectory
Reply #1 - Oct 20th, 2016 at 1:14pm
Print Post Print Post  
Hi Paul,

That file does exist but it is a hidden file in Windows explorer. Thumbs.db is a file that Windows creates in every directory where you have images and it is the thumbnail cache of those images.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: Phantom database added to my LocalListDirectory
Reply #2 - Oct 20th, 2016 at 2:08pm
Print Post Print Post  
Oh, big brother Microsoft strikes again! 

Is there any way to program so it will not show up in my list?  It's not a big deal as the worst that happens is a user will get an error message saying "unspecified error", but I'd like to avoid any confusion.
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Phantom database added to my LocalListDirectory
Reply #3 - Oct 20th, 2016 at 3:19pm
Print Post Print Post  
Hello Paul,

Code
Select All
var DirectoryList as string
var vDCNumber as string
var vSortedList as string
var vShowList as string
var vTemp as Int
Var vPos as Int


	PopupSelectPosition(4, @XPos(ThisElement)-200, @YPos(ThisElement))
	directoryList = @LocalListDirectory("F:/sesame Docs/TS DOC Training")
	vPos = @FindStringArray(directoryList, "Thumbs.db")
	If vPos > 0
	{
		directoryList = @DeleteStringArray(directoryList, vPos)
	}
	vShowList=@PopupChoiceList(DirectoryList,"SELECT A TRAINING PROGRAM TO VIEW")

	If @Len(vShowList)>0
	{
		vTemp = @ASynchShell("F:\sesame docs\ts doc Training\"+vShowList)
	} 



-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: Phantom database added to my LocalListDirectory
Reply #4 - Nov 2nd, 2016 at 8:45pm
Print Post Print Post  
Perfect!!

Thanks for your help!
  
Back to top
 
IP Logged