Hi, i just extract the procedure to get the exif date
Procedure.i GetExifDate(Image.s)
File = ReadFile(#PB_Any, Image)
If File
If Lof(File) > 8192
*imageAdress = AllocateMemory(8192)
If *imageAdress
ReadData(File, *imageAdress, 8192)
CloseFile(File)
For I = 0 To 8192
If PeekB(*imageAdress ...
Search found 230 matches
- Sun Apr 24, 2016 7:15 pm
- Forum: Tricks 'n' Tips
- Topic: culture share - sync exif time, change to unified filename
- Replies: 3
- Views: 2558
- Tue Jan 26, 2016 11:11 am
- Forum: Tricks 'n' Tips
- Topic: ODBC direct connection, find driver name
- Replies: 4
- Views: 9958
Re: ODBC direct connection, find driver name
Very nice, thanks,
A small correction for "ODBC_DeleteConnection", you do well to connect, but string are not well formated to delete connection.
Procedure.i ODBC_DeleteConnection(Driver.s, DSN.s)
Protected Library.i, Result.i, Base, *mem.Character, *ptr.Character, Len, i
DSN = "DSN="+DSN ...
A small correction for "ODBC_DeleteConnection", you do well to connect, but string are not well formated to delete connection.
Procedure.i ODBC_DeleteConnection(Driver.s, DSN.s)
Protected Library.i, Result.i, Base, *mem.Character, *ptr.Character, Len, i
DSN = "DSN="+DSN ...
- Wed Oct 08, 2014 8:53 am
- Forum: Bugs - IDE
- Topic: [PB 5.30] IDE - UTF8 Tooltip Problem
- Replies: 1
- Views: 1949
[PB 5.30] IDE - UTF8 Tooltip Problem
Hi,
Just a problem with UTF8 (*.PB file in UTF8, program compiles in UTF8)

All special characters don't work.
Thanks
Just a problem with UTF8 (*.PB file in UTF8, program compiles in UTF8)
All special characters don't work.
Thanks
- Thu Aug 14, 2014 3:11 pm
- Forum: Bugs - IDE
- Topic: [Done] PB5.30 IDE : Save *.exe name
- Replies: 5
- Views: 3247
Re: [PB5.30] IDE : Save *.exe name
For information : If i convert my *.PB file from ASCII to UTF8, problems disapear.
- Thu Aug 14, 2014 10:58 am
- Forum: Bugs - IDE
- Topic: [Done] PB5.30 IDE : Save *.exe name
- Replies: 5
- Views: 3247
Re: [PB5.30] IDE : Save *.exe name
Almost same problem with icon file name
In compilation option, i read
..\..\Images\Icônes\Dossiers\Corbeille pleine 01.ico
So when i compile, icon is not found
but in *.pb file, it's correct
; IDE Options = PureBasic 5.30 (Windows - x86)
; CursorPosition = 37
; FirstLine = 73
; Folding ...
In compilation option, i read
..\..\Images\Icônes\Dossiers\Corbeille pleine 01.ico
So when i compile, icon is not found
but in *.pb file, it's correct
; IDE Options = PureBasic 5.30 (Windows - x86)
; CursorPosition = 37
; FirstLine = 73
; Folding ...
- Tue Aug 12, 2014 10:03 am
- Forum: Coding Questions
- Topic: [PB5.30] IDE : Comments start by - and Issues
- Replies: 4
- Views: 1852
Re: [PB5.30] IDE : Comments start by -
> When a comment start by a "-", comment is consider as a "title" in procedure list
Correct. Been that way forever.
> But in this code, comment is not a title
> ;{- Title
Are you serious? The comment doesn't start with "-" but with "{", as you just noted .
So how can this be considered a bug ...
Correct. Been that way forever.
> But in this code, comment is not a title
> ;{- Title
Are you serious? The comment doesn't start with "-" but with "{", as you just noted .
So how can this be considered a bug ...
- Mon Aug 11, 2014 2:31 pm
- Forum: Coding Questions
- Topic: [PB5.30] IDE : Comments start by - and Issues
- Replies: 4
- Views: 1852
[PB5.30] IDE : Comments start by - and Issues
Edit : Look Post 4, thanks
Hi
When a comment start by a "-", comment is consider as a "title" in procedure list
But in this code, comment is not a title
;{- Title
If Truc = Bidule
Truc + 1
EndIf
;}
Another point, i want use note to set backgroud color on comment Title.
So i set this ...
Hi
When a comment start by a "-", comment is consider as a "title" in procedure list
But in this code, comment is not a title
;{- Title
If Truc = Bidule
Truc + 1
EndIf
;}
Another point, i want use note to set backgroud color on comment Title.
So i set this ...
- Mon Aug 11, 2014 1:57 pm
- Forum: Bugs - IDE
- Topic: [Done] PB5.30 IDE : Save *.exe name
- Replies: 5
- Views: 3247
[Done] PB5.30 IDE : Save *.exe name
Hi,
I get a problem with exe name saved after compilation.
My exe is named :
Génération commentaires.exe
When I want create exe again (Do first compilation and save program, and do it again)
IDE set as default exe name previous exe name used. but exe name is :
Génération commentaires.exe ...
I get a problem with exe name saved after compilation.
My exe is named :
Génération commentaires.exe
When I want create exe again (Do first compilation and save program, and do it again)
IDE set as default exe name previous exe name used. but exe name is :
Génération commentaires.exe ...
- Wed Jul 30, 2014 4:24 pm
- Forum: Bugs - IDE
- Topic: Editor : Display structure value with debugger
- Replies: 2
- Views: 2508
Re: Editor : Display structure value with debugger
By this way, it works fine (i don't know this way)Demivec wrote:What if you highlight the 'Code()\IHM()' part instead of simply putting your mouse pointer over it?
Thanks
- Wed Jul 30, 2014 11:02 am
- Forum: Bugs - IDE
- Topic: Editor : Display structure value with debugger
- Replies: 2
- Views: 2508
Editor : Display structure value with debugger
Hi
Better a long text, example on screenshoot
http://imagik.fr/thumb/113434.jpeg
Fisrt, i put mouse over "Code()", all OK
http://imagik.fr/thumb/113433.jpeg
I put mouse over "Code()\IHM()", no display
If i do *IHM = @Code()\IHM(), i can get display IHM structure on pointer.
Can be great to ...
Better a long text, example on screenshoot
http://imagik.fr/thumb/113434.jpeg
Fisrt, i put mouse over "Code()", all OK
http://imagik.fr/thumb/113433.jpeg
I put mouse over "Code()\IHM()", no display
If i do *IHM = @Code()\IHM(), i can get display IHM structure on pointer.
Can be great to ...
- Mon Jul 28, 2014 10:19 am
- Forum: TailBite
- Topic: TailBite and PB5.30
- Replies: 6
- Views: 21563
TailBite and PB5.30
Hi,
I get some error with PB 5.30, and i can't compile any library (all works fine on PB 5.22)
First error i get is :
When i compile a library named DrawText, I get error : "Line 1 - Invalid name: Same as a command (from library 'DrawText')"
So i try to delete old library and i get :
No error ...
I get some error with PB 5.30, and i can't compile any library (all works fine on PB 5.22)
First error i get is :
When i compile a library named DrawText, I get error : "Line 1 - Invalid name: Same as a command (from library 'DrawText')"
So i try to delete old library and i get :
No error ...
- Sun Jul 27, 2014 10:12 pm
- Forum: Windows
- Topic: [PB 5.22] Save XML and #LF$ in attribute
- Replies: 3
- Views: 3109
Re: [PB 5.22] Save XML and #LF$ in attribute
Great 
Thanks a lot

Thanks a lot
- Fri Jul 25, 2014 10:07 am
- Forum: Windows
- Topic: [PB 5.22] Save XML and #LF$ in attribute
- Replies: 3
- Views: 3109
[PB 5.22] Save XML and #LF$ in attribute
Hi,
I have a problem when i save XML file.
I have a XML file like this one :
<?xml version="1.0" encoding="UTF-8"?>
<gfx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Gfx-ME5.xsd">
<displaySettings displayType="replace" securityCode="*" backColor="#3A7878 ...
I have a problem when i save XML file.
I have a XML file like this one :
<?xml version="1.0" encoding="UTF-8"?>
<gfx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Gfx-ME5.xsd">
<displaySettings displayType="replace" securityCode="*" backColor="#3A7878 ...
- Wed Nov 20, 2013 9:45 am
- Forum: Feature Requests and Wishlists
- Topic: Please ignore comments for indentation
- Replies: 21
- Views: 9826
Re: Please ignore comments for indentation
when you comment ";" is placed on start line and not before indentation.
But when you reset indentation with Ctrl+I, ";" come back with good indentation
Example
If Truc = 0
Test + 1
EndIf
i comment
If Truc = 0
; Test + 1
EndIf
i set indent with ctrl + I
If Truc = 0
; Test + 1
EndIf
so ...
But when you reset indentation with Ctrl+I, ";" come back with good indentation
Example
If Truc = 0
Test + 1
EndIf
i comment
If Truc = 0
; Test + 1
EndIf
i set indent with ctrl + I
If Truc = 0
; Test + 1
EndIf
so ...
- Mon Nov 18, 2013 4:38 pm
- Forum: Feature Requests and Wishlists
- Topic: PureBasic Editor improvement
- Replies: 14
- Views: 5278
Re: PureBasic Editor improvement
@Thunder93 : Your remarks is in another subject
http://www.purebasic.fr/english/viewtop ... =3&t=56677
http://www.purebasic.fr/english/viewtop ... =3&t=56677