Page 2 of 3

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Fri Mar 08, 2013 12:48 pm
by infratec
Hi mk-soft,

I've done it now.
But nothing changed.

Btw., it is Windows 7 Professional x64 german version with Service Pack 1 and all updates.

It is really strange that no one other have the same behaviour.
I'll go now to test it on an other PC with the sme configuration.

Bernd

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Fri Mar 08, 2013 1:25 pm
by infratec
Hm...

I can not reproduce it on an other PC. :cry:

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Fri Mar 08, 2013 2:56 pm
by Little John
Hu, that's strange.

I cannot reproduce the problem here (PB 5.10 final on Windows XP x86),
regardless of whether I create the test folders on a FAT32 drive or on a NTFS drive,
and regardless of whether I compile the program in ASCII or in Unicode mode.

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Fri Mar 08, 2013 4:45 pm
by skywalk
infratec wrote:How many peoble use such directory names?
Maybe only I.
But I use it to save my old software versions (for example).
Microsoft ways are always mystic :evil:
I agree, but don't manually manage your software :idea: Use Fossil instead.
All your files and data in 1 SQLite database and a simple cross platform command line and html gui for administration. :wink:

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Sat Mar 09, 2013 7:20 am
by Danilo
infratec wrote:It looks like that something is not correct initialized.
:?:

Code: Select all

OleInitialize_(0)
PathRequester("","")
OleUninitialize_()

CoInitializeEx_(0,#COINIT_APARTMENTTHREADED)
PathRequester("","")
CoUninitialize_()

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Sat Mar 09, 2013 6:36 pm
by infratec
Hi Danilo,

I can check it on monday, because the 'bug' happens on my office PC.

Bernd

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Mon Mar 11, 2013 8:01 am
by infratec
Hi Danilo,

both initializations don't work.
Still I can't see the .xxx part of the directories. :cry:

Bernd

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Mon Mar 11, 2013 10:23 am
by Fred
infratec wrote:Hi MachineCode,

I was to fast.

Your example works fully. Also PB is showing the .000

Than I did some additional tests:

If I use

Code: Select all

SHBrowseForFolder_(@dir.BROWSEINFO)
PathRequester("","")
The PB Requester shows it correct too.

If I comment out the SHBrowseForFolder_() PB shows not the .xxx stuff :!:

It looks like that something is not correct initialized.
After the first call to SHBrowseForFolder_() it is initialized and the PB Requester works Ok.

Bernd
We use #BIF_NEWDIALOGSTYLE | #BIF_EDITBOX as style, may be it makes a difference ?

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Mon Mar 11, 2013 10:40 am
by infratec
Hi Fred,

you are right, it depends on this flags:

Code: Select all

Define dir.BROWSEINFO

; fails
;dir\ulFlags = #BIF_NEWDIALOGSTYLE | #BIF_EDITBOX

; fails
;dir\ulFlags = #BIF_NEWDIALOGSTYLE

;works !!!
dir\ulFlags = #BIF_EDITBOX

SHBrowseForFolder_(@dir)
#BIF_NEWDIALOGSTYLE is :twisted:

From MS Dev-Center:
Note If COM is initialized through CoInitializeEx with the COINIT_MULTITHREADED flag set, SHBrowseForFolder fails if BIF_NEWDIALOGSTYLE is passed.
maybe that's the explanation.

Bernd

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Mon Mar 11, 2013 11:05 am
by Fred
We don't use this flag anywhere in PB source tree. The flag #BIF_NEWDIALOGSTYLE makes a big difference here on Windows 8, so I think we will have to keep it. It's also wierd than it occurs only on one PC, may be you have installed a program which install an explorer hook ?

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Sun Jul 28, 2013 2:56 pm
by Fred
Any news on this ?

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Sun Jul 28, 2013 4:54 pm
by infratec
Hi Fred,

I'll try it tomorrow on Win7 64.
Here at home on Win XP 32 no problems. (PB 5.20b7)

Bernd

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Mon Jul 29, 2013 7:15 am
by infratec
Hi Fred,

with PB 5.20b7 x86 on Win7 x64 it's still not working:

Image

Bernd

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Mon Jul 29, 2013 8:25 am
by bamsagla
Hi infratec,

you mentioned 'work pc'. Maybe there are some group policies activated, prohibiting the expected action? Could be some explorer, system, or even internet explorer policies...

Harry.

Re: PB 5.10 PathRequester() does not show 'extensions'

Posted: Mon Jul 29, 2013 10:06 am
by mk-soft
Version:
- PB v5.11
- PB v5.20 Beta 6,7

Testing on:
- Windows XP SP3 (X86)
- Windows 7 Pro SP1 (X86, X64)

Network-Folders direct and binding drives:
- Windows XP SP3
- Windows 7 Pro SP1
- Windows SBS2011
- NAS (Linux-base)

All folders Ok.