|
|
|
|
|
|
Show ChooseFont dialogbox using API
|
Total Hit (5564) |
You can use ChooseFont API to show Font selection common dialogbox. This API will eliminate the need of Common Dialog ActiveX control which comes with Visual Basic.
«b»Step-By-Step Example«/b»
- Create a standard exe project
- Add one commandbutton on the form1
- Add the following code in fo
....Read More |
Rating
|
|
|
Print Dialogbox without using Common Dialogbox ActiveX control
|
Total Hit (4970) |
This code will show you use of PrintDialog API to show print dialogbox.
«b»Step-By-Step Example«/b»
- Create a standard exe project
- Add one class module
- Rename it to clsPrnDlg
- Add one command button on form1
- Place the following code in form1
«code LangId=1»Private Sub Command1_C
....Read More |
Rating
|
|
|
Using the Find and Replace Common Dialogs
|
Total Hit (2754) |
VB has never provided direct support for the Find/Replace common dialogs. This may have been because these dialogs are non-modal, and it is more difficult to use these from an ActiveX control container, or that it is fairly simple to knock up your own Find/Replace form in VB without bothering with t
....Read More |
Rating
|
|
|
CommonDialog/Direct
|
Total Hit (3068) |
Common Dialog/Direct is a new DLL or class library which shows how to completely replace COMDLG32.OCX through Visual Basic code. The main advantage of this is you no longer need to put a control on a form to use common dialogs - just declare an instance of the class and you have a straight replaceme
....Read More |
Rating
|
|
|
Common Dialog Templates - Create a WinZip Style File Add Dialog
|
Total Hit (1114) |
This sample, from Cayce Cochran (cayce@fastlane.net), demonstrates how to use a dialog template with a File Open or Save CommonDialog. It takes advantage of the CommonDialog/Direct DLL component which now (versions dated 1 November 1999 and higher) includes the relevant support for templates.
....Read More |
Rating
|
|
|
|
Browsing For Folders
|
Total Hit (2089) |
The Folder Browse Dialog is the missing dialog in VB - it can't be called from a run-time function and it is missing from the Common Dialog OCX as well. Whilst a number of code samples demonstrate that calling this dialog is simple, many ignore the most important feature: the ability to initialise t
....Read More |
Rating
|
|
|
Two code only solutions for displaying Common/Dialogs
|
Total Hit (1045) |
The Common Dialog/Direct component provides you with a more functional version of the Common Dialog control which also means you no longer need a form to create Common Dialogs. These samples show how you can go one further with your app and remove the need to ship any DLLs at all!
....Read More |
Rating
|
|
|
Browsing in Win32/NT4 - An Overview
|
Total Hit (1700) |
Details on the ITEMIDLIST, SHITEMID, BROWSEINFO structures, and the SHGetSpecialFolderLocation, SHGetPathFromIDList and SHBrowseForFolder APIs.
|
Rating
|
|
|
|
|
|
Browse for Folders Callback Overview
|
Total Hit (1544) |
Windows' Browse for Folders dialog provides the means to retrieve from a user their selection of the Shell's file system and special folders. The following and related code page discuss adding callback functionality to a VB5 application to provide the ability to pre-select a folder on the dialog's d
....Read More |
Rating
|
|
|
Pre-selecting a Folder using the Browse Callback
|
Total Hit (1500) |
Add a callback routine to your VB5/6 code to allow pre-selecting of a file system object when displaying the Browse for Folders dialog. Added version-detecting code and necessary changes to allow the String method to function on NT
|
Rating
|
|