It is currently Tue Jan 26, 2021 7:34 pm

All times are UTC + 1 hour

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: File requester issue
PostPosted: Thu Jun 06, 2019 10:57 pm 
User avatar

Joined: Tue Nov 22, 2011 5:11 pm
Posts: 331
Location: Kelowna, BC, Canada
Using the proc below works as expected - until I navigate to my Desktop folder (Win10) and there it also lists all web shortcuts (*.url) I have on my desktop.
Do others see this phenomenon as well?

Global StartFile.s

Procedure SelectFile()
  Protected pattern.s = "PureBasic files (*.pb, *.pbi, *.pbp)|*.pb;*.pbi;*.pbp", patternindex = 0
  StartFile = OpenFileRequester("Select a Purebasic file/project", "", pattern, patternindex)
  Debug StartFile


PB 5.73 on Windows 10 & OS X High Sierra

Reply with quote  
 Post subject: Re: File requester issue
PostPosted: Fri Jun 07, 2019 3:07 am 

Joined: Thu Apr 18, 2019 8:17 am
Posts: 1214
Confirmed here. Also does it for *.url files anywhere on my Win 10 hard drive (not just the desktop).

But it seems to be a normal Windows behavior (not a PureBasic bug):

There's apparently a way to hook the dialog to not show them, as mentioned in the second link above, but it's a lot of work.

The first link above says the *.url links are shown because the shortcuts could point to one of the files in your filter (such as a *.pb file on a website or network folder).

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour

Who is online

Users browsing this forum: No registered users and 19 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye