Search found 46 matches

by Mindtrick
Tue Feb 27, 2007 7:43 pm
Forum: Coding Questions
Topic: Having a little trouble!
Replies: 11
Views: 2115

netmaestro wrote:"Twice is he armed whose cause is just
But three times he who gets his blow in fust."
Thanks :D it works now woo!

Such friendly folk on these forums

Mindtrick
by Mindtrick
Tue Feb 27, 2007 7:32 pm
Forum: Coding Questions
Topic: Having a little trouble!
Replies: 11
Views: 2115

Now your language() array[?] and the constants are missing. :P

If you run your original code in the debugger, on which line and in which procedure does the error occur?

It occurs here:
If OpenWindow(#Window_LangSelect, 0, 0, 200, 60, "Language", #PB_Window_SystemMenu | #PB_Window ...
by Mindtrick
Tue Feb 27, 2007 7:09 pm
Forum: Coding Questions
Topic: Having a little trouble!
Replies: 11
Views: 2115

LoadLanguage() isn't included now.

Procedure.b LoadLanguage(PrefFile$)
OpenPreferences(PrefFile$)

PreferenceGroup("Translation")
language(#Lang_Trans_Lang) = ReadPreferenceString("Language", "English")
language(#Lang_Trans_Author) = ReadPreferenceString("Author", "")
language(#Lang ...
by Mindtrick
Tue Feb 27, 2007 5:30 pm
Forum: Coding Questions
Topic: Having a little trouble!
Replies: 11
Views: 2115

I'm having a little trouble with my code, when I initialize the language procedure it says the #Window object is not initialised...
Do you seriously expect someone to create all the missing resources to get this run and then work his way all trough the source to solve a problem that you only ...
by Mindtrick
Tue Feb 27, 2007 5:13 pm
Forum: Coding Questions
Topic: Having a little trouble!
Replies: 11
Views: 2115

Having a little trouble!

Hey!

I'm having a little trouble with my code, when I initialize the language procedure it says the #Window object is not initialised...

I will post my code but I would like you to know that it is Copyright © 2007 Joseph Kemp, All Rights Reserved so I would like it if you don't steal it because it ...
by Mindtrick
Mon Jan 29, 2007 11:20 pm
Forum: Coding Questions
Topic: Writing to a file!
Replies: 4
Views: 1265

oldBear wrote:There are even a few who can read the manual :)
lol..ssshhh haha thanks a lot nonetheless :lol:

Mindtrick
by Mindtrick
Mon Jan 29, 2007 8:10 pm
Forum: Coding Questions
Topic: Writing to a file!
Replies: 4
Views: 1265

Wow thank you very much!

There are so many friendly folk around here!!

Many Regards
Mindtrick
by Mindtrick
Mon Jan 29, 2007 7:18 pm
Forum: Coding Questions
Topic: Writing to a file!
Replies: 4
Views: 1265

Writing to a file!

Hey!

I am trying to make a little program and I was wondering how I can write variable to a text file!

Here is my gadget code:

If CreateGadgetList(WindowID(0))
StringGadget(0 , 100 , 50 , 400 , 20 , "")
TextGadget(1 , 20 , 55 , 100 , 20 , "Website Title:")
EditorGadget(2 , 100 , 100 , 400 , 200 ...
by Mindtrick
Thu Jan 25, 2007 4:51 pm
Forum: Coding Questions
Topic: Variable Help!
Replies: 7
Views: 1744

Change Debug ReadString(FileID) to: AddGadgetItem(#EDIT, #PB_Any, ReadString(FileID))
and please, show the examples and help :wink:
Fantastic!

Thank you ever so much for being a great help :D

Finally.

I have the following code but how do I make it so when I click on a menu it does it aswell as ...
by Mindtrick
Wed Jan 24, 2007 11:25 pm
Forum: Coding Questions
Topic: Variable Help!
Replies: 7
Views: 1744

Great!

How would I display it in an editor gadget?

Many Regards
Mindtrick
by Mindtrick
Wed Jan 24, 2007 10:36 pm
Forum: Coding Questions
Topic: Variable Help!
Replies: 7
Views: 1744

Thanks a lot :D

Question 2:

Is there anyway to read the whole preferences file and display it all?

Regards
Mindtrick
by Mindtrick
Wed Jan 24, 2007 10:32 pm
Forum: Coding Questions
Topic: Variable Help!
Replies: 7
Views: 1744

Variable Help!

Hey!!

I am using the following code but it says I can't write a string into a numerical value...

OpenPreferences("Projects/Language1.lng")
line=ReadPreferenceString("Translator", "")
SetGadgetText(6, line)
ClosePreferences()

What is actually wrong with it?!

Many Regards
Mindtrick :roll:
by Mindtrick
Tue Jan 23, 2007 9:40 pm
Forum: Off Topic
Topic: Pure Basic Lobby
Replies: 13
Views: 2153

Re: Pure Basic Lobby

PB wrote:PureBasic is one word. :)
Damn!

I will change all the text on the forum but the banner will have to wait a day because my friend has the PSD and I don't have Photoshop :shock:

Mindtrick
by Mindtrick
Tue Jan 23, 2007 4:46 pm
Forum: Off Topic
Topic: Pure Basic Lobby
Replies: 13
Views: 2153

You really should buy a "real" domain. It's not too expensive; e.g. .de domains are 6€/year....
I have had a word with my parents and they said they will buy and mantain a .com domain for me if the board gets active and has a lot of users :) (I am only 14, nearly 15 you see, so I can't do online ...
by Mindtrick
Tue Jan 23, 2007 2:07 pm
Forum: Off Topic
Topic: Pure Basic Lobby
Replies: 13
Views: 2153

lol I never actually thought there was a German PureBasic-Lounge! I just thought I would create this for people to hang out :)
after almost two years, the PB-Lounge is a second smaller german PB-Forum.
(link is in my signature)

meanwhile it's most often used for Q&A, project discussions and other ...