Creating open font save with common dialog box control

Creating font dialog box:-

We can create the font dialog box using following syntax. But before you need to install the font by code in your project.

Installing font syntax :-

Commondialog.flags=cdlcfboth

Or

Commondialog.flags=cdlcfscreenfont

Creating font dialog syntax:-

Commondialog.showfont

Example:

Private Sub cmdfonts_Click()

cdc.Flags = cdlCFScreenFonts

cdc.ShowFont

End Sub

Using Fonts effects from Common Dialog box:-

Syntax:-

Textbox.property=cdb.property

Creating save Dialog box:-

To create the save dialog box use the following syntax:-

Commondialog.showsave

Naming to Dialog Title:-

You can change the name for dialog box as below:-

Commondialog.dialogtitle= "Name"

Creating open dialog box:-

To create the open dialog box we use the following syntax:-

Commondialog.showopen

Filter Method:-

To work with the particular file types we need to filter the file’s types. Filtering syntax:-

Commondialog.filter= "allfiles(*.*)|*.*|(*.jpg)|*.jpg|"

Saving picture:-

Syntax:-

Savepicture picturecontrol.picture,filename

Example:-

Private Sub cmdsave_Click()

cdc.DialogTitle = "My Nepal save box"

cdc.ShowSave

fn = cdc.FileName

SavePicture imgopen.Picture, fn

End Sub

Related posts:

free download visual basic 6 black book including source code
iOS THE OS Killer Features OS Rater and iOS other Stars
code.org America learn their children programming
Get the most popular wordpress plugin seo readily available today, you'll find both free and exceptional plugins below. We have actually examined the entire internet, assessed hundreds of advised Wordpress plugins and selected the most effective.
Get technology science news the current technology news, featuring brand-new item launches, revenues figures and tech sector performance information. Check out short articles on new gadgets and models for future innovation.
seo tips you need to and need to not be doing on your Web pages to make them place greater in online search engine. In a constantly altering Search Engine Optimization garden, it is essential to continue to be current with the altering methods and methods of optimization.
Listed here is a listing of system managing multiple WordPress with a main place. There are WordPress dash panels, as well as multisite devices to handle domains, styles, projects, and more. consists of one-click accessibility, monitoring, data backup, deployment, publishing, and security components. Review which of your sites have themes and plugins that need focus. With one click, upgrade every one of your plugins, motifs or core WordPress software.


Hi, My Name is Sanjan Bikram. I am a Visual Interface Designer focusing on Web Applications design, WordPress/blogger development… I am also the founder and Chief-editor of XploringMinds.Com

Share This Post

Recent Articles

2 Responses to “Creating open font save with common dialog box control”

  1. Celebrity Blog says:

    Recommended Websites…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

Leave a Reply

What is 12 + 11 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)
XploringMinds is on Wordpress CMS · Designed by BloggingTalks