Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / How to call the file selector dll?

Author
Message
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 28th Sep 2009 22:15
I need a file picker, and I read somewhere on these boards that you can call the windows file selector dll. But I don't have a clue what the parameters would be.

Anybody have a link to them?

And is there some place I can find the parms for all the common windows dialogs?

Thanks in advance.
Rich

Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 28th Sep 2009 22:55
Here's Jess T's (a TGC moderator) code for it:



You can see it takes a bit more than just "passing some parameters"...

Cheers!
Sven B

Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 28th Sep 2009 23:18
Quote: "You can see it takes a bit more than just "passing some parameters"..."


Wow, does it ever! That looks very daunting. Maybe I'll just stick to using VB.

So... I also read somewhere about using a VB program to hold DarkBASIC in a wrapper for rendering.

What I'm aiming for is a "windows" like set of controls (text input, output boxes, spinners, file picker, etc) with 3D rendering.

I also recall some GUI plugins for DBPro, so I look around for those as well.

Thanks for the response.
Rich

Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 30th Sep 2009 02:12
I got over my fear of large code blocks, and tried that code you posted.

Works great! Just what I need!

So, thanks Sven!

And thanks Jess T, wherever you are!

Rich

kordman916
16
Years of Service
User Offline
Joined: 5th Oct 2007
Location:
Posted: 9th Oct 2009 06:59
Even though this is kinda late, you could use goga's dbpro plugin which can do all of that in about 3 commands and that would seriously reduce the size of the code.


Dell Optiplex GX280,3.4 GHZ Pentium 4 processor
1 Gig DDR2 ram,Geforce 8500 GT 512mb
Rich Dersheimer
AGK Developer
15
Years of Service
User Offline
Joined: 1st Jul 2009
Location: Inside the box
Posted: 9th Oct 2009 13:04 Edited at: 9th Oct 2009 19:51
Quote: "Even though this is kinda late, you could use goga's dbpro plugin which can do all of that in about 3 commands and that would seriously reduce the size of the code."


Yes, that's what I was looking for. Finding them is another story. Goga, or GogetaX, or Sergey K, and the websites and file locations come and go. Some of his plugins are free, some are for pay.

This thread shows the dll calls...
http://forum.thegamecreators.com/?m=forum_view&t=76887&b=5
Do you have a link to the free DBP one?

EDIT: Here's the link I found...

Goga's DBP plugin

Hawkblood
14
Years of Service
User Offline
Joined: 5th Dec 2009
Location:
Posted: 1st Jan 2010 05:41
Sven B, I can't get it to work on my machine. I have windows 7..... if that makes any difference.

The fastest code is the code never written.

Login to post a reply

Server time is: 2024-09-28 14:24:32
Your offset time is: 2024-09-28 14:24:32