Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - tools-n-stuff

Pages: [1]
1
General / Live forum update
« on: August 05, 2011, 02:36:30 PM »
Wierd watching the forum update as i go from page to page. I like SMF, i must of installed and relooked/themed over 50 SMF forums to date. Keep up the good work.

2
Databases / storing to bin file
« on: October 28, 2010, 10:09:27 AM »
Using the Book HN, i am trying to store the data created by the user to a bin file. The reason i am looking at using a bin file is because i read that writing to a file (excel i imagine) is a little limited by the number of entries.
So my first question is:
Is bin the way to go?

I have looked at the example contained within the Hn built in guide and pasted the example into my project.

GUIDE example - as is.
Code: [Select]
These show how to write and read to/from binary files. No checking for the files existence or type is made using fdets.

Note if the file variable fvar is zero then the file does not exist.

@ Write to a named file
Local fname,fvar,fdets,ftypes,fpaths,fnames,fextens
Local findex,n
FileGet(fname,fvar,fdets,ftypes,fpaths,fnames,fextens)
CreateBFile(fvar,findex,n)
WriteBVariable(findex,'hello')
For n=1 to 10
    WriteBByte(findex,n)
EndFor
CloseBFile(findex)

@ Read from a named file, assumes format known
Local fname,fvar,fdets,ftypes,fpaths,fnames,fextens
Local findex,n
FileGet(fname,fvar,fdets,ftypes,fpaths,fnames,fextens)
OpenAsBFile(fvar,findex)
ReadBVariable(findex,mess)
For n=1 to 10
    ReadBByte(findex,num)
    Put num After mess
EndFor
CloseBFile(findex)
 
The read part i have tried placing it on the home card and on card 2 which is the main working environment. And the 'write' part i have tried placing on an independant button and directly on the Book HNs update button. I remember last night that on one try i got a conflict on 'nVar' as been already used!!?? I could see being used twice but couldn't work out if i should or how to get them to work together.

From what i can gather from this example, it should create a bin file in the data store, but i can't see it.

Any chance of a few pointers as to how to create a bin file as i am lost again. I can't work out if someting else should be declared and where, or if its needed to get the bin file hooked up to the project.

One thing i thought of thought:
When writing to a bin or file will it save all the fields from that Book HN page entry or does something need to be done so that the bin file knows there are more than one field, and doe's it know that there are more than one page with reusing the same fields but with new data? I know it maybe a lame question, but i am just trying to understand what i am doing.

Thanks in advance.

3
General / Maths operations
« on: October 27, 2010, 03:30:05 PM »
Ok i so maths wasn't my best subject way back in the ol'shool days  :lol:

On reading the guide i have to say the Maths Ops section is really like a foreign language.
Its maybe straight forward to you (i hope), but i need pointers again.

Heres the set up.

This is to be based on real time.

I have two fields, one where i want the user to be able to add seconds. On hitting the update button i need those 60 seconds to be added to the second field, updating that field and its existing count, which needs to display in Hours (H), minutes (M) and seconds (S)  (read only). At the same time if a particular page is deleted i need the maths to decount from the total time.

Or have i got the wrong idea about maths ops?
Should a user create a new blank page for a fresh entry would it be possible for the total time results to be transfered to the new blank page automatically?
I know what i would like to happen but really don't know if its possible let alone how to do it.  :roll:

4
General / Just a couple of questions
« on: October 26, 2010, 02:34:17 PM »
If i find what maybe a bug where do i post what i find?
Maybe a new forum section!?

When is version HN.4 coming to the net?

The splash screen on startup, isn't needed (by me), how can i remove it? oops found the answer in another thread for this one

Are you and tigabyte, the same thing?

5
General / Centering cards
« on: October 26, 2010, 02:29:40 PM »
I guess the title says it all, but i was wondering if there wasn't a way of having the cards display in the center of the screen?

6
Getting Started / search box's [RESOLVED]
« on: October 22, 2010, 02:24:57 PM »
Hi,
In the BookHN example there are 4 search option. I have managed to hook up another 4 and get them to work. The problem is that its taking up way to much space.

I have now added a dropdown menu/popup and added the 8 options to it. Next to this i have added a new textfield followed by a button. Does anyone know how i can hook the dropdown list options to the textfield and button. Basicly i am trying to get the the dropdown and 1 textfield and button do the same job as 8 options, textfields and buttons. I have tried looking at the popup example but can't figure it out.

Thanks in advance for any help or examples of this

7
Graphics / User selected image
« on: October 21, 2010, 07:58:42 PM »
I guess hello is the best place to start, so hi to all!

I have to say i have been looking for something like this for around 12 years now.I can do a fair amount of stuff but RAD tools and languages have been a serious issue for me, a total meltdown every time i tried. Ive installed all the MS express stuff, looked at a couple of eclipse packages, looked at realbasic and i just don't get any of it.

Then i came across HN (couple of weeks ago that is), only looked at it 2 days ago though. Since then I think i slept 4 hours in 2 days, this is just too cool. All i have done is open and quickly look at the samples, and finaly settle down and play around with 'BooksHN' adding images, new buttons and textfields and linking them up to store the data.

Theres one thing i could really use some help on though if someone has the time!?

Is it possible to add a button that opens up the C drive so the user can open and place an image next to the comments textfield, maybe/ideally a placeholde image (stored in the template) that can be replaced!?????


I have loads of other questions but im too tired to formulate the words. I'll come back to them after a few hours sleep.

regards

Pages: [1]
anything