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.

DarkBASIC Professional Discussion / Windows Open File dialog

Author
Message
Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 26th Apr 2007 02:50
I have a small need to open a file with a windows dialog box for my little application. Do I NEED to by BlueGUI for this? Or can I access some Windows DLL's the hard way and bring up the dialog? If so which DLL do I need to load, is it different across other versions of Windows. If I must, I will buy Blue, but since I only need it for this one thing right now I'd rather not if I don't have to.

Thanks.

I have no signature...
Lucy
17
Years of Service
User Offline
Joined: 19th Apr 2007
Location: Roanoke, VA USA
Posted: 26th Apr 2007 02:56 Edited at: 26th Apr 2007 02:57
You should be able to use commdlg.dll in the windowssystem32 directory but don't ask me how because I've no clue how to call external DLLs on DBPro just yet.

No matter where you are... everyone is always connected.
Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 26th Apr 2007 03:00
Thanks for that, it will at least point me in the right direction.

@ Everyone, I'm still open to suggestions

I have no signature...
Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 26th Apr 2007 03:21 Edited at: 26th Apr 2007 03:26
update: I found Goga's Free Dll sounds like it might do what I want, going to try now.

EDIT: Yep, does just what I want it to. Disregard this thread, thanks to anyone who looked.

I have no signature...
Aaron Miller
18
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 26th Apr 2007 08:58
@Agent Dink
Your welcome, and that was just the suggestion I was about to give.

@Lucy
You can call external DLLs using "load dll", "call dll", etc. OR, you could use my free "ext. dll" plugin. Which allows you to call more than 9 parameters from a DLL AND allows you to grab string table strings from a DLL as well.

Ext. DLL is here


Cheers,

-db


What? You mean I cant sleep here???
Kelebrindae
20
Years of Service
User Offline
Joined: 15th Sep 2003
Location: Where cheeses are scarier than dragons.
Posted: 26th Apr 2007 17:10
Hmm, wait a minute, I think I've got this on my website...

Ah, here it is:


Is it what you're looking for ?

Ideas: memories of things which did not occur yet...
http://keleb.free.fr/codecorner
Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 26th Apr 2007 18:15
That's exactly what I want, only with Goga's DLL I can do that in about3 lines of code Thanks for posting though, I appreciate it.

I have no signature...

Login to post a reply

Server time is: 2024-04-23 09:57:53
Your offset time is: 2024-04-23 09:57:53