Search found 6383 matches

by infratec
Fri Mar 08, 2013 12:36 pm
Forum: Windows
Topic: PB 5.10 PathRequester() does not show 'extensions'
Replies: 36
Views: 10582

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

davido wrote:Pleased to see your problem is solved.
Nothing is solved :cry:

It's 'only' a workaround. :D

But you are right, a big thank you to all who are involved.

Bernd
by infratec
Fri Mar 08, 2013 12:22 pm
Forum: Windows
Topic: PB 5.10 PathRequester() does not show 'extensions'
Replies: 36
Views: 10582

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

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 SHBrowseForFolder_(@dir.BROWSEINFO) PathRequester("","") The PB Requester shows it correct too. If I comment out the SHBrowseForFolder_() PB shows not t...
by infratec
Fri Mar 08, 2013 12:12 pm
Forum: Windows
Topic: PB 5.10 PathRequester() does not show 'extensions'
Replies: 36
Views: 10582

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

Hi MachineCode,

your example works, but... PB not
Image
by infratec
Fri Mar 08, 2013 11:49 am
Forum: Windows
Topic: PB 5.10 PathRequester() does not show 'extensions'
Replies: 36
Views: 10582

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

Hi davido, the easy bugs are all fixed, only the tricky ones are left :wink: 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: But it is trange that the IrfanView Requester shows the full names...
by infratec
Fri Mar 08, 2013 10:59 am
Forum: Windows
Topic: PB 5.10 PathRequester() does not show 'extensions'
Replies: 36
Views: 10582

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

Hi Fred,

after thinking a bit I found one:

IrfanView Batch Processing, select output directory:
Image

(I deleted the other directory names)

Bernd
by infratec
Fri Mar 08, 2013 8:04 am
Forum: Windows
Topic: PB 5.10 PathRequester() does not show 'extensions'
Replies: 36
Views: 10582

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

Hi,

here is the evidence:

Image

Win7 x64 with PB 5.10 x86

The left picture shows the PathRequester, the right is Windows Explorer.

Bernd
by infratec
Thu Mar 07, 2013 2:00 pm
Forum: Windows
Topic: PB 5.10 PathRequester() does not show 'extensions'
Replies: 36
Views: 10582

PB 5.10 PathRequester() does not show 'extensions'

Hi, I use PB 5.10 x86 on Win 7 x64. Try this PathRequester("Test with directories like Test.001", "") With directories like: Test.001 Test.002 You will only see Test Test And if you have directories like: Test.infratec.001 Test.infratec.002 You will see Test.infratec Test.infrate...
by infratec
Tue Mar 05, 2013 7:59 am
Forum: Linux
Topic: x64 problem (Debian and Ubuntu)
Replies: 5
Views: 2840

Re: x64 problem (Debian and Ubuntu)

Hi idle, thanks for this hint. I'm to old for this stuff :cry: I learned that an integer has the native size of the architecture. So for me an integer had 64bit on a 64bit CPU/OS. In the LP64 I32LP64 model http://en.wikipedia.org/wiki/64-bit#64-bit_data_models I have to read that this is not the cas...
by infratec
Tue Mar 05, 2013 12:17 am
Forum: Linux
Topic: x64 problem (Debian and Ubuntu)
Replies: 5
Views: 2840

Re: x64 problem (Debian and Ubuntu)

idle wrote:think you should be using longs for the int fields
Yes, but why :?:

I have no explanation for that, since the C header is exactly the same for x86 and x64.

Bernd
by infratec
Mon Mar 04, 2013 5:13 pm
Forum: Linux
Topic: x64 problem (Debian and Ubuntu)
Replies: 5
Views: 2840

x64 problem (Debian and Ubuntu)

Hi, still my serial problem. Now on 64bit. In 32bit the size of the c structure serial_struct is 60 byte. With #PB_Structure_AlignC I get the same size of my structure. In Debian and Ubuntu x64 I get a size of 72 bytes with a C program and a size of 4 for int. In PB I get a size of 120 bytes for the...
by infratec
Sun Mar 03, 2013 10:44 pm
Forum: Coding Questions
Topic: (If) Bug ?
Replies: 7
Views: 1473

Re: (If) Bug ?

Hi Simo_na, as Danilo said: the result is correct. No bug. If you want to build a state machine, you can also use myampl=0 Debug myampl Select myampl Case 0 myampl = 1 Case 1 myampl = 2 Case 2 myampl = 3 EndSelect Debug myampl Bernd P.S.: Especially as beginner, place such mails first in 'coding que...
by infratec
Sat Mar 02, 2013 1:24 pm
Forum: Coding Questions
Topic: #CRLF$ as StringField delimiter
Replies: 17
Views: 1423

Re: #CRLF$ as StringField delimiter

Hi, I'm not sure if it works: #CRLF$ can be detected with the first character #CR The #LF is not always displayed with Debug. To test if it works with mutiple charactres you need to test it with something like that: String: "ABCDEFCDGHIJCDKLMN" And "CD" as delimiter. Sorry I can ...
by infratec
Fri Mar 01, 2013 10:51 am
Forum: Mac OSX
Topic: Compare images
Replies: 11
Views: 2373

Re: Compare images

Thanks Fred,

I corrected the listing above.

Bernd
by infratec
Fri Mar 01, 2013 8:11 am
Forum: Mac OSX
Topic: Compare images
Replies: 11
Views: 2373

Re: Compare images

Hi, Maybe because you forgot an * But still than, you can not use MemoryStringLength() since a picture contains 0 And MemorySize() works only with AllocateMemory() Maybe this works; EnableExplicit Define ImageHandle.i, *Buffer, Pitch.i, Length.i, Result.l CreateImage(ImageHandle, 300, 200) StartDraw...
by infratec
Thu Feb 28, 2013 3:36 pm
Forum: Linux
Topic: [Solved]Run default application in Linux
Replies: 1
Views: 1296

Re: [Solved]Run default application in Linux

Found the solution:

Code: Select all

RunProgram("xdg-open", "https://...", "")
Bernd