Search found 227 matches

by Le Soldat Inconnu
Sun Apr 24, 2016 7:15 pm
Forum: Tricks 'n' Tips
Topic: culture share - sync exif time, change to unified filename
Replies: 3
Views: 2639

Re: culture share - sync exif time, change to unified filena

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 ...
by Le Soldat Inconnu
Tue Jan 26, 2016 11:11 am
Forum: Tricks 'n' Tips
Topic: ODBC direct connection, find driver name
Replies: 4
Views: 10139

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 ...
by Le Soldat Inconnu
Wed Oct 08, 2014 8:53 am
Forum: Bugs - IDE
Topic: [PB 5.30] IDE - UTF8 Tooltip Problem
Replies: 1
Views: 2091

[PB 5.30] IDE - UTF8 Tooltip Problem

Hi,

Just a problem with UTF8 (*.PB file in UTF8, program compiles in UTF8)
Image

All special characters don't work.

Thanks
by Le Soldat Inconnu
Tue Aug 12, 2014 10:03 am
Forum: Coding Questions
Topic: [PB5.30] IDE : Comments start by - and Issues
Replies: 4
Views: 1922

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 ...
by Le Soldat Inconnu
Mon Aug 11, 2014 2:31 pm
Forum: Coding Questions
Topic: [PB5.30] IDE : Comments start by - and Issues
Replies: 4
Views: 1922

[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 ...
by Le Soldat Inconnu
Wed Jul 30, 2014 4:24 pm
Forum: Bugs - IDE
Topic: Editor : Display structure value with debugger
Replies: 2
Views: 2636

Re: Editor : Display structure value with debugger

Demivec wrote:What if you highlight the 'Code()\IHM()' part instead of simply putting your mouse pointer over it?
By this way, it works fine (i don't know this way)
Thanks
by Le Soldat Inconnu
Wed Jul 30, 2014 11:02 am
Forum: Bugs - IDE
Topic: Editor : Display structure value with debugger
Replies: 2
Views: 2636

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 ...
by Le Soldat Inconnu
Mon Jul 28, 2014 10:19 am
Forum: TailBite
Topic: TailBite and PB5.30
Replies: 6
Views: 23581

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 ...
by Le Soldat Inconnu
Sun Jul 27, 2014 10:12 pm
Forum: Windows
Topic: [PB 5.22] Save XML and #LF$ in attribute
Replies: 3
Views: 3226

Re: [PB 5.22] Save XML and #LF$ in attribute

Great :)

Thanks a lot
by Le Soldat Inconnu
Fri Jul 25, 2014 10:07 am
Forum: Windows
Topic: [PB 5.22] Save XML and #LF$ in attribute
Replies: 3
Views: 3226

[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 ...
by Le Soldat Inconnu
Wed Nov 20, 2013 9:45 am
Forum: Feature Requests and Wishlists
Topic: Please ignore comments for indentation
Replies: 21
Views: 10179

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 ...
by Le Soldat Inconnu
Mon Nov 18, 2013 4:38 pm
Forum: Feature Requests and Wishlists
Topic: PureBasic Editor improvement
Replies: 14
Views: 5527

Re: PureBasic Editor improvement

@Thunder93 : Your remarks is in another subject
http://www.purebasic.fr/english/viewtop ... =3&t=56677
by Le Soldat Inconnu
Wed Nov 06, 2013 5:17 pm
Forum: Feature Requests and Wishlists
Topic: Comment Symbol with 'CTRL+B' not in front of indentation
Replies: 3
Views: 1788

Re: Comment Symbol with 'CTRL+B' not in front of indentation

Yes, 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 ...
by Le Soldat Inconnu
Wed Nov 06, 2013 5:09 pm
Forum: Feature Requests and Wishlists
Topic: [PB IDE] Cursor placement after search/compiler error
Replies: 3
Views: 844

[PB IDE] Cursor placement after search/compiler error

Hi,

Just a point really uncomfortable.
When i do search in my code, the line which contains the search result is always on top of scintilla gadget.
It's not helpful, can we place the line with search result in middle of scintilla gadget, to can see better in which part of code we are.

Same problem ...
by Le Soldat Inconnu
Wed Nov 06, 2013 5:06 pm
Forum: Feature Requests and Wishlists
Topic: PureBasic Editor improvement
Replies: 14
Views: 5527

Re: PureBasic Editor improvement

I agree with Droopy, can be great.

Another point in PB IDE, ";{-" is not supported like ";-"