Search found 33 matches

by bcgreen
Fri May 25, 2007 3:03 am
Forum: Coding Questions
Topic: list all dirs and files
Replies: 3
Views: 1230

Hmmm...that doesn't appear to be a recursive procedure; it never calls itself...
by bcgreen
Wed Dec 17, 2003 3:55 am
Forum: Coding Questions
Topic: DLL Wrong Number of Parameters
Replies: 1
Views: 1071

DLL Wrong Number of Parameters

OK...I've made a simple DLL with PureBasic, per the manual...here's the meat of it:

ProcedureDLL EasyRequester(Message$)

MessageRequester("EasyRequester!", Message$, #MB_ICONINFORMATION)

EndProcedure

Now....as you can see, the procedure has ONE argument, a string called "Message$"...call ...
by bcgreen
Tue Nov 25, 2003 10:50 am
Forum: Coding Questions
Topic: Directory Sort
Replies: 3
Views: 1282

Directory Sort

Question: Is there a way to change how files in a directory are sorted in PB? I want to be able to list directories as they are listed in windows explorer...For instance: How can I produce a directory listing that looks like this:

pic1
pic2
...
...
pic9
pic10

Rather than this:

pic1
pic10
pic2 ...
by bcgreen
Mon Nov 24, 2003 11:07 pm
Forum: Coding Questions
Topic: Need help converting 'trainer' to PureBasic
Replies: 25
Views: 10228

What is a "trainer?"

Bryan
by bcgreen
Thu Nov 20, 2003 9:51 am
Forum: Coding Questions
Topic: Printing Tutorial, Tips
Replies: 4
Views: 1960

That's OK...I'm continuing with the trial and error...got some stuff figured out-- just enough to be dangerous! :)

Thanks,
Bryan
by bcgreen
Thu Nov 20, 2003 6:22 am
Forum: Coding Questions
Topic: Printing Tutorial, Tips
Replies: 4
Views: 1960

Wow....first time no one's offered any advice. :cry:
by bcgreen
Wed Nov 19, 2003 9:33 pm
Forum: General Discussion
Topic: About PureBasic
Replies: 37
Views: 10385

I've tried every basic compiler known to mankind, and PureBasic is by far the best in my opinion. No runtimes needed, meaning tiny executables! Direct compilation to machine code, baby! Fast, fast, fast. Gotta love it.

Not too mention the tight integration with the Windows API, along with a nice ...
by bcgreen
Tue Nov 18, 2003 7:02 pm
Forum: Coding Questions
Topic: Printing Tutorial, Tips
Replies: 4
Views: 1960

Printing Tutorial, Tips

What I desperately need at this point is some info on printing. Can't figure it out to save my life. Well, I can get stuff to print, but through sheer trial and error. Can someone tell me how to position things properly on a page...does each page form feed automatically, or do you do that with the ...
by bcgreen
Tue Nov 18, 2003 6:53 pm
Forum: Coding Questions
Topic: Want to buy Pure basic...But no documentation or tutorials
Replies: 42
Views: 9792

That online user guide is nice, but stops at chapter 6? I'd love a complete version of this!

Bryan
by bcgreen
Mon Nov 17, 2003 2:55 am
Forum: Coding Questions
Topic: MP3 player example reports wrong songlength
Replies: 2
Views: 1491

MP3 player example reports wrong songlength

Just an FYI-- the mp3 player example code that comes with PureBasic and that is also listed on the website returns an incorrect song length when you play mp3s...evidently you can use MCI to play mp3s, but not get the proper song length (at least, not using the method demonstrated in this code)...I'm ...
by bcgreen
Fri Nov 14, 2003 10:15 pm
Forum: Coding Questions
Topic: Why does this crash every time???
Replies: 6
Views: 2641

Thanks everyone!

Ya know, if it weren't for the PureBasic community, I don't know what I'd do...

:D Bryan
by bcgreen
Fri Nov 14, 2003 2:12 am
Forum: Coding Questions
Topic: Why does this crash every time???
Replies: 6
Views: 2641

I made it work by removing the renamefiles proc and placing the code in the same block as the "#renamebutton" code....so it didn't work because the code was in a procedure.....why?

****UPDATE****

Put the renamefiles code back into a procedure and got it to work by putting the "Shared path ...
by bcgreen
Fri Nov 14, 2003 1:01 am
Forum: Coding Questions
Topic: Why does this crash every time???
Replies: 6
Views: 2641

Hmmm..... but when I place :"Debug path$" after the ExamineDirectory() statement in the renamefiles proc, it displays the same directory that was used in the "listfiles" proc....

I also just tried placing the statement "Shared path$" in the listfiles proc, and got rid of the Global path$ statement ...
by bcgreen
Fri Nov 14, 2003 12:53 am
Forum: Coding Questions
Topic: SQLite Errormessage "library routine called out of sequ
Replies: 3
Views: 1414

Yep, that's the same bug I reported. For every database you open, you need to use a new database ID#, rather than reusing the same ID# over and over....

Bryan
by bcgreen
Fri Nov 14, 2003 12:43 am
Forum: Coding Questions
Topic: Why does this crash every time???
Replies: 6
Views: 2641

Why does this crash every time???

Yep, me again with another stupid question. Why does this crash every time the "renamefiles" procedure is called?


Enumeration
#Window_0
EndEnumeration

Enumeration
#oldextbox
#newextbox
#renamebutton
#browsebutton
#Gadget_5
#Gadget_6
#listbox
EndEnumeration

Procedure Open_Window_0()
If ...