Print Page | Close Window

ShowBrowseFolder

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=14594
Printed Date: 22 November 2024 at 11:46pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ShowBrowseFolder
Posted By: McKloony
Subject: ShowBrowseFolder
Date Posted: 22 June 2009 at 2:23am
How can I check, if a user clicks onto Cancel with the ShowBrowseFolder dialog?

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

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6



Replies:
Posted By: Oleg
Date Posted: 22 June 2009 at 4:09am

Hi,

it will return not 0 then.


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


Posted By: McKloony
Date Posted: 22 June 2009 at 4:43am
Whre in .FileTitle?

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

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6


Posted By: jpbro
Date Posted: 22 June 2009 at 11:45am
Hi McKloony,

My tests reveal that the ShowBrowseFolder function returns 2 if Cancel is clicked or 1 if OK is clicked:


   Debug.Print Me.CommonDialog1.ShowBrowseFolder



-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




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