Click to See Complete Forum and Search --> : Code for Open Dialog Box
Gary Maheu
January 22nd, 1999, 10:14 AM
I am looking for the code for the open common dialog box. I want to create my own open dialog box and I am wondering where I can get this code. I am not sure how to code the drive, directory, and file boxes.
Thank you
Gary
rockies1
August 25th, 1999, 12:55 PM
Are you looking to use the existing Open Dialog box or create one of your own?
July 10th, 2000, 11:02 PM
try this before you decide to make your own common dialog box
first- right click on the toolbar, and form the pop-up menu select components
then- when the list of controls installed on your system appears, check the "Microsoft Common Dialog Control - 5.0" option
now - click Ok
Place one on your form
Place a button on your form, and in the click event type,
commondialog1.ShowOpen
if you want the path for a file
dim filename as string
commondialog1.showOpen
filename = Commondialog1.FileName
some others you can try are:
ShowSave
ShowColor
ShowFont
ShowPrinter
ShowHelp
Good Luck!
Jerome Norgren
July 11th, 2000, 12:38 AM
Gary,
Check out this link, it goes to a program by Paul Mather at Planet Source code. You may find most if not all you need to know in the code download, if not just search "Common Dialog" and you'll find more to check out it's a big site. You'll find gem's of great price, and things you'll laugh at. Good and bad it's all there!
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=3592
Hope this helps, it helped me.
Jerome W. Norgren
Using VB6, SP3, Pro
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.