|
-
Jun 30th, 2000, 10:41 PM
#1
Thread Starter
Member
is there anyway to get the save file dialog without adding taht damn ocx....i hate using ocx's so much. ust wondering
-
Jul 2nd, 2000, 04:37 AM
#2
transcendental analytic
I'm sure the dll's are a bit cooler, commondialogs comes with windows anyway:
Code:
Private Declare Function GetSaveFileName Lib "comdlg32.dll" Alias "GetSaveFileNameA" (pOpenfilename As OPENFILENAME) As Long
Private Declare Function GetOpenFileName Lib "comdlg32.dll" Alias "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long
Private FileDialog As OPENFILENAME
Private Type OPENFILENAME
lStructSize As Long '
hwndOwner As Long '
hInstance As Long '
lpstrFilter As String '
lpstrCustomFilter As String
nMaxCustFilter As Long
nFilterIndex As Long '
lpstrFile As String '
nMaxFile As Long '
lpstrFileTitle As String '
nMaxFileTitle As Long '
lpstrInitialDir As String
lpstrTitle As String
Flags As Long '
nFileOffset As Integer
nFileExtension As Integer '
lpstrDefExt As String
lCustData As Long
lpfnHook As Long
lpTemplateName As String
End Type
Just in case you want to play around with it, otherways i could send you my opendialog class
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Sep 7th, 2003, 07:45 PM
#3
Frenzied Member
That would be nice... Could you please post your class?
We miss you, friend...  Rest in Peace, we will take care of the rest of it.
[vbcode]
On Error Me.Fault = False
[/vbcode]
- Silence is the human way to share ignorance
Tec-Nico
-
Sep 7th, 2003, 08:04 PM
#4
-
Sep 8th, 2003, 10:28 AM
#5
Frenzied Member
Yes, this is exactly what I was sarching for!
Thank you very much Manavo!
We miss you, friend...  Rest in Peace, we will take care of the rest of it.
[vbcode]
On Error Me.Fault = False
[/vbcode]
- Silence is the human way to share ignorance
Tec-Nico
-
Sep 8th, 2003, 04:14 PM
#6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|