|
-
January 22nd, 1999, 11:14 AM
#1
Code for Open Dialog Box
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
-
August 25th, 1999, 12:55 PM
#2
Re: Code for Open Dialog Box
Are you looking to use the existing Open Dialog box or create one of your own?
-
July 10th, 2000, 11:02 PM
#3
Re: Code for Open Dialog Box
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!
-
July 11th, 2000, 12:38 AM
#4
Re: Code for Open Dialog Box
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...txtCodeId=3592
Hope this helps, it helped me.
Jerome W. Norgren
Using VB6, SP3, Pro
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
|