PB 5.10 PathRequester() does not show 'extensions'
Re: PB 5.10 PathRequester() does not show 'extensions'
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
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'
Hm...
I can not reproduce it on an other PC.
I can not reproduce it on an other PC.
-
- Addict
- Posts: 4527
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: PB 5.10 PathRequester() does not show 'extensions'
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.
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'
I agree, but don't manually manage your software Use Fossil instead.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
All your files and data in 1 SQLite database and a simple cross platform command line and html gui for administration.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: PB 5.10 PathRequester() does not show 'extensions'
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'
Hi Danilo,
I can check it on monday, because the 'bug' happens on my office PC.
Bernd
I can check it on monday, because the 'bug' happens on my office PC.
Bernd
Re: PB 5.10 PathRequester() does not show 'extensions'
Hi Danilo,
both initializations don't work.
Still I can't see the .xxx part of the directories.
Bernd
both initializations don't work.
Still I can't see the .xxx part of the directories.
Bernd
Re: PB 5.10 PathRequester() does not show 'extensions'
We use #BIF_NEWDIALOGSTYLE | #BIF_EDITBOX as style, may be it makes a difference ?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 useThe PB Requester shows it correct too.Code: Select all
SHBrowseForFolder_(@dir.BROWSEINFO) PathRequester("","")
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
Re: PB 5.10 PathRequester() does not show 'extensions'
Hi Fred,
you are right, it depends on this flags:
#BIF_NEWDIALOGSTYLE is
From MS Dev-Center:
Bernd
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)
From MS Dev-Center:
maybe that's the explanation.Note If COM is initialized through CoInitializeEx with the COINIT_MULTITHREADED flag set, SHBrowseForFolder fails if BIF_NEWDIALOGSTYLE is passed.
Bernd
Re: PB 5.10 PathRequester() does not show 'extensions'
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'
Any news on this ?
Re: PB 5.10 PathRequester() does not show 'extensions'
Hi Fred,
I'll try it tomorrow on Win7 64.
Here at home on Win XP 32 no problems. (PB 5.20b7)
Bernd
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'
Hi Fred,
with PB 5.20b7 x86 on Win7 x64 it's still not working:
Bernd
with PB 5.20b7 x86 on Win7 x64 it's still not working:
Bernd
Re: PB 5.10 PathRequester() does not show 'extensions'
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.
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.
- Sherlock Holmes - "When you have eliminated the impossible, whatever remains, however improbable, must be the truth."
In my opinion, he must have been a programmer.
In my opinion, he must have been a programmer.
Re: PB 5.10 PathRequester() does not show 'extensions'
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.
- 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive