Print Page | Close Window

CommonDialog Filter

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=10597
Printed Date: 21 November 2024 at 3:58pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommonDialog Filter
Posted By: McKloony
Subject: CommonDialog Filter
Date Posted: 12 May 2008 at 6:34am
If I try to show the Caption Filter in die actual CodeJock Online Help, the WindowsHelp chrashes.
 
So could anybody tell me, how to set the Filter Property correctly. Normaly O set as Filter String that looks like:
 
"Textdateien (*.txt)" & Chr$(0) & "*.txt" & Chr$(0) & "Alle Dateien (*.*)" & Chr$(0) & "*.*" & Chr$(0) & Chr$(0)
 
And how do I set the DefaultExt = "txt"? Should I set DefaultExt = "txt"oder DefaultExt = "*.txt"?


-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6



Replies:
Posted By: Oleg
Date Posted: 12 May 2008 at 11:29am
Hi,
 
Use "|" :
 
Text (*.txt)|*.txt|Pictures (*.bmp;*.ico)|*.bmp;*.ico


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net