Search found 39 matches

by Peter_DevRes
Wed Mar 17, 2010 5:09 pm
Forum: Coding Questions
Topic: mySQL - Invalid memory access
Replies: 1
Views: 750

Re: mySQL - Invalid memory access

Hi,

Yes, I can replicate the error, but also can't seem to find a solution.
Interesting, should be able to get a stable connection and the ability to handle large volumes of transactions.

Best Regards,
Peter.
by Peter_DevRes
Fri May 08, 2009 11:21 am
Forum: Coding Questions
Topic: ComboBoxGadget 'Default Text' and 'Invoke Commands'
Replies: 6
Views: 1143

The code above was great, thanks for taking the time to have a look.


Best Regards,
Peter
by Peter_DevRes
Fri May 08, 2009 10:31 am
Forum: Coding Questions
Topic: ComboBoxGadget 'Default Text' and 'Invoke Commands'
Replies: 6
Views: 1143

Hi,

It was the doubled 'declare' that didn't make sense to me.

AddGadgetItem(1,-1,"Select a number...")
SetGadgetText(1,"Select a number...")

I am new to Pure Basic, and didn't understand how gadget syntax is to be applied. I had tried several ways to achieve what I wanted, each time not adding ...
by Peter_DevRes
Fri May 08, 2009 9:11 am
Forum: Coding Questions
Topic: ComboBoxGadget 'Default Text' and 'Invoke Commands'
Replies: 6
Views: 1143

Thanks for the feedback, but that doesn't provide default text in the combo box.

There must be some way to do add generic text in to the control, so it is clear what the drop down is used for.

Pure Basic must be able to do this, it is basic functionality. The only other solution would be to have ...
by Peter_DevRes
Thu May 07, 2009 1:19 pm
Forum: Coding Questions
Topic: ComboBoxGadget 'Default Text' and 'Invoke Commands'
Replies: 6
Views: 1143

ComboBoxGadget 'Default Text' and 'Invoke Commands'

Hi there,

I am having a problem setting the 'default text' in the control to suggest what the control is being used for. Tried SetGadgetText, but that only works if I use #PB_ComboBox_Editable, but I don't want the user to be able to edit the text, so I can use that.

Any suggestions ...
by Peter_DevRes
Wed Apr 15, 2009 11:19 pm
Forum: Coding Questions
Topic: Transforming ASN.1 Files
Replies: 0
Views: 620

Transforming ASN.1 Files

Hi there,

Looking to transform ASN.1 files in to Text Files (with a structured layout).
Essentially ASN.1 files read like structured BINARY files.

Does anyone have experience of handling ASN.1 files with PureBasic?

Best Regards,
Peter.
by Peter_DevRes
Fri Apr 03, 2009 10:19 pm
Forum: Coding Questions
Topic: Seek a Line in a File
Replies: 9
Views: 2954

Thanks very much, I will go through the code and see what I can make of it.

Best Regards,
Peter
by Peter_DevRes
Fri Apr 03, 2009 2:38 pm
Forum: General Discussion
Topic: Printed Manual
Replies: 8
Views: 2286

The pdf manual is up to date with the manual included in the 4.30 release.
There is also a version without the library reference (uses less ink and paper ;))

Its all available here (also in french and german):
http://www.purebasic.com/support.php3

Sorry I wasn't being clear, I am referring to a ...
by Peter_DevRes
Fri Apr 03, 2009 2:00 pm
Forum: Announcement
Topic: Purebasic - A Beginners Guide To Computer Programming.
Replies: 24
Views: 12172

Re: Purebasic - A Beginners Guide To Computer Programming.

http://www.pb-beginners.co.uk/

In a few weeks (24th Jan 2009) my book will be withdrawn from sale because it is no longer updated to the current version of Purebasic. I don't want to charge people for a version that is out of date.

So i must say thank you to all the people who have bought a copy ...
by Peter_DevRes
Fri Apr 03, 2009 1:52 pm
Forum: General Discussion
Topic: Printed Manual
Replies: 8
Views: 2286

Printed Manual

Hi there,

Does anyone know if it is possible to purchase a printed (book like) copy of the PB 4.30 manual. Nice to be able to thumb through a manual and make notes within it. Really good if you are travelling and want to read it without your PC being on.

Thanks & Regards,

Peter.
by Peter_DevRes
Fri Apr 03, 2009 1:47 pm
Forum: Coding Questions
Topic: Discriminators: Strings & Variables
Replies: 1
Views: 723

Discriminators: Strings & Variables

Hi there,


Looking for some syntax help for PB.

I would like to fully understand the string, variable and array type discriminators. Not clear how PureBasic 'labels/denotes' these different string types or variable types. Any clues?

Case in point:
" FileNo.l " --> what is '.l'


Would be ...
by Peter_DevRes
Fri Apr 03, 2009 1:43 pm
Forum: Coding Questions
Topic: Seek a Line in a File
Replies: 9
Views: 2954

Right, great.


Thanks,
Peter.
by Peter_DevRes
Fri Apr 03, 2009 1:09 pm
Forum: Coding Questions
Topic: I need an advice
Replies: 3
Views: 1481

Re: I need an advice

Hello!
I'm new here. I've been browsing tons of forums for an idea of what to do. I was laid off from my job about 3 month ago. I've been looking for a job since then, but did not even get a single interview. I worked as a web designer for a publishing company for the last 5 years. Looks like www ...
by Peter_DevRes
Fri Apr 03, 2009 1:00 pm
Forum: Coding Questions
Topic: Seek a Line in a File
Replies: 9
Views: 2954

Re: Seek a Line in a File

I am a little new to PureBasic, in the former language I was programming in to seek a line in a file you use a command @line.

I don't seem to find a similar function in PureBasic. Been reading through the manual, is anyone able to help.

I basically want to read a pre-formated file in to a ...
by Peter_DevRes
Fri Apr 03, 2009 12:58 pm
Forum: Coding Questions
Topic: Seek a Line in a File
Replies: 9
Views: 2954

Hi,


Thanks for taking the time to go in that level detail, appreciated your assistance. Looks like an interesting approach.


Thanks & Regards,

Peter.