|
-
Dec 30th, 2001, 07:18 PM
#1
Thread Starter
Registered User
Api open dialog...
1st. Is it possible to change the caption of the "open" button to something like "Add"?
2nd How can i associate several file endings to one filter e.g.:
Code:
OFName.lpstrFilter = "Executable files (*.exe)" + Chr$(0) + "*.exe" + Chr$(0) + "Batch/Script files (*.bat;*.cmd;*.jsp;*.vbs)" + Chr$(0) + "*.bat" + Chr$(0) + Chr$(0)
I want to add the .cmd, .jsp and .vbs to the filter as well, not only the .bat. Thank you for helping me!
-
Dec 31st, 2001, 12:27 AM
#2
Frenzied Member
#1:

#2:
VB Code:
OFName.lpstrFilter = "Executable files (*.exe)" + Chr$(0) + "*.exe" + Chr$(0) + "Batch/Script files (*.bat;*.cmd;*.jsp;*.vbs)" + Chr$(0) + "*.bat;*.cmd;*.jsp;*.vbs" + Chr$(0) + Chr$(0)
MicroBasic
Dragon Shadow Trainer
There is no good or evil in the world...only programmers and fools .
-
Dec 31st, 2001, 06:28 AM
#3
Thread Starter
Registered User
Ah, ok, with semicolon. Should have thought about that but only tried "or" and stuff... Thank you!
-
Dec 31st, 2001, 03:25 PM
#4
Thread Starter
Registered User
Wait, I want to add all registered extensions. I did so, but
if you add let's say about 300 entries to the filter it won't work anymore
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
|