Full Unicode support for creating newsletters in MultiMailer 2013

We have updated our email marketing tool MultiMailer 2013 so it now has a full support for Unicode (UTF-8) when you create and send out newsletters. That means that you can write and send newsletters in any language and with any character whatsoever, Chinese, Japanese, Thai, Russian, Arabic, Hebrew etc. Of course that MultiMailer 2013 also supports Western languages​such as English, German, French, Spanish, Greek, Italian and so on.


The image above shows a Thai newsletter displayed in MultiMailer.

Unicode
Unicode is a standard that handles all characters in all the world’s writing systems. The good thing with Unicode is that all characters can be displayed in any language or country regardless of what language your computer operating system is set to. This is not the case if you use a language-specific character set. In this case the recipient must have the same character system installed otherwise the characters are not displayed correctly. With Unicode, you do not have this problem.

Chinese text in USA
If you for example want to create a newsletter in Chinese and send it to email recipients in the US using American Windows, you can fix this easily by using the Unicode (UTF-8) character set. The newsletter will be displayed in Chinese for your receivers even if they do not use Chinese Windows.

Select Unicode (UTF-8) in MultiMailer
To create or send out a newsletter that uses Unicode, you have to set it in MultiMailer. To do this, follow these steps:

1. Start MultiMailer
2. Select from the menu Settings – Options
3. Select the tab Language
4. In the drop-down menu E-mail character set select “Unicode (UTF-8) – [utf-8]”
5. Close the dialog


In the picture above, the e-mail character set Unicode (UTF-8) is selected.

If you create your newsletter with a different HTML editor than MultiMailer, make sure that it is set to Unicode (UTF-8).

Full Unicode support even for sender’s name
Besides the advantage of creating newsletters with Unicode in MultiMailer, you can also use Unicode’s characters for the sender’s name. That means that you can enter a name of your newsletter sender in e.g. Chinese, Arabic or Thai. It will display correctly for your recipients regardless the language version of Windows they use.


Even sender’s name has now full support for Unicode. In the example above, the sender’s name is written in Thai.

New Windows 8.1 will be released on October 18th

Windows 8.1, an update to Windows 8, will be released on October 18 according to Microsoft. Some of the new features in Windows 8.1 are that the Start button comes back, SkyDrive gets improved, VPN support is extended, Internet Explorer 11 is included and the Start screen becomes more flexible. It will also be possible to boot directly the traditional desktop in Windows 8.1 which was not possible in Windows 8 in an easy way.

Related information
> Start button back in Windows 8.1
> Article: Why Were the Start Button & Start Menu Removed in Windows 8?
> Article: New Keyboard Shortcuts (Hot Keys) in Windows 8

How to give a standard user write permission to a folder in Program Files

In Windows Vista, Windows 7 and Windows 8 the Program Files folder and the Program Files (x86) folder (and all subfolders beneath) are read-only folders for standard users (users that run programs with standard privileges). This means it is not possible for them to create files or update files in this location of the hard disk. The folders are write-protected. Why these folders are write-protected is explained in this technical article on our website.

The 'Program Files' and 'Program Files (x86)' folder

We sometimes get the question: is it possible to circumvent the write protection and allow also standard users write access to a folder beneath Program Files and Program Files (x86)?

The answer is: Yes, it is possible. You can do it by changing the permission settings for the folder.

This should always be the last resort if you can not find another way. All folders placed in Program Files and Program Files (x86) should be write-protected for standard users, but sometimes this can give problems to older legacy software. In some computers a virtualization system called VirtualStore can solve the problem, but in many computers this is turned off. And then it is impossible to write data to a file. A file can be neither created nor updated.

You should note that it requires a user with administrator rights to change the permission settings for a folder in Program Files and Program Files (x86). A standard user can not change any permissions.

How do I change the permission settings for a folder?
This can be done in different ways. One method is just to right click on the folder in Windows Explorer, choose the Properties menu item, open the Security tab, select the Users item and change permissions for the user.

The 'Properties' dialog box in Windows

Although this is achievable, this is not a user-friendly solution for end-users. Especially not for users that are not so familiar with computers. A much better method is to change the permissions programmatically.

Let the installation program change the permission settings
As mentioned above, the permissions should be changed programmatically, and the best method is to let the installation program change the permission settings. When a software is installed to the Program Files / Program Files (x86) folder, the setup program is always run with administrator rights. This means that the installation program is allowed to change permission settings for a folder. If you try to change the permission settings later, for example when the installed software is running, it is very likely that the software do not have administrator rights. It will very likely only have standard user access rights, and it can therefore not change any permission settings for folders in Program Files / Program Files (x86).

How Visual Installer can handle this
In our setup tool Visual Installer there is a special script command that can be used to change permission settings for a folder. The name of the command is SETPERM, and below you can see an example of how to use the script command:

The 'Execute script commands' dialog box in Visual Installer

%DESTDIR\MyDataFolder is a path to a folder that will have its permissions changed and PERM_ALL tells Visual Installer to give a standard user full access rights to the folder (including write access). Instead of PERM_ALL you can also use PERM_WRITE as a second parameter. PERM_WRITE will give the standard user write access to the folder, but no other permission settings are changed.

%DESTDIR is variable that contains the main destination folder for the installation. If for example the main destination folder is C:\Program Files\SamLogic\My Application, the full path to the folder entered above will be C:\Program Files\SamLogic\My Application\MyDataFolder.

Related information
> How to install files in the correct folder using Visual Installer
> Visual Installer’s Scripting Language

CD-Menu Creator: How to always open a DOC file with Word

It is very common to link a button in a menu created with CD-Menu Creator to a document file. One of the most used formats is DOC files (Microsoft Word documents).

In Windows XP and earlier a DOC file can be opened either with WordPad or Word. WordPad has the benefit to be loaded more quickly than Word, and it is always present in Windows. Microsoft Word is a large application, so in a slow computer it can take some time to load the application, so there may be a significant delay before the document is shown. Other disadvantage is that not all computers have Microsoft Word installed.

However, some Word documents require that they are opened with Microsoft Word. They can not be shown correctly with WordPad. That is the case if the Word document is complex and is advanced formatted. Then the only option is to open it with Microsoft Word.

In CD-Menu Creator you can select a setting that makes sure that the DOC file is always opened with Microsoft Word. The steps below show how to achieve this:

1. Start CD-Menu Creator and open the Buttons (text) tab.
2. Click on the Add Button button. The Add Button dialog box is opened.
3. Enter a button text at Text (button).
4. Select the Show Documents command at Command.
5. Press the “…” button and select a DOC file.
6. Select the Open document with Microsoft Word option.

The 'Add Button' dialog box in CD-Menu Creator

7. Click OK to close the dialog box.
8. Create your menu.

When a user clicks on the button that you just added, the DOC file will always be opened with Microsoft Word. If you want the DOC file to be opened with WordPad in Windows XP or earlier, you can unselect the Open document with Microsoft Word option.

Notes
In Windows Vista or later, WordPad does not support DOC files anymore. So if your end-user for example uses Windows 7, the document will always be opened with Microsoft Word. If Microsoft Word is not installed, CD-Menu Creator will try to open the document with other software that can read Word documents. But if no such a software is installed in the computer, an information message is shown for the user. However, it is very rare that an end-user can not open Word documents. Almost all computers have some kind of software installed that can open Word documents.

How to add an ActiveX control to a Visual C++ 2010 project

In a previous blog post we showed how to add an ActiveX control to a Microsoft Visual Basic 2010 project. In this blog post we will show how to add an ActiveX control to a Microsoft Visual C++ 2010 project. We will also show how to create a variable that can be used to access properties and methods in the ActiveX control.
Twitter
In this step-by-step tip we will use the Twitter control that is included in our SamLogic Social Media Components component library. This control can be used to send tweets to Twitter, and we will show how to add this control to a Visual C++ project. Although this tip will cover Microsoft Visual C++ 2010, the steps in other versions of Visual C++ are very similar.

How to add an ActiveX component to a Visual C++ 2010 project

1. Start Visual Studio 2010 and choose New project in the File menu.

2. Select the MFC Application option in the Visual C++ node in the New project dialog box.

New Project - Visual C++ - MFC Application

3. In the MFC Application Wizard window that is shown, choose Dialog based in the Application Type step. We will create a dialog based Windows application.

4. In the Advanced Features step in the MFC Application Wizard, make sure that the ActiveX controls option is selected.

5. In the last step of the MFC Application Wizard, click on the Finish button.

We have now created a basic Visual C++ / MFC project that uses a dialog based window. Next will show how to add the Twitter ActiveX control to the project:

6. Right-click over the Toolbox window.

7. Select the Choose items menu item in the local menu that is shown.

The 'Choose Items' menu item

8. The Choose Toolbox Items dialog box is now shown. In this dialog box, open the COM Components tab.

9. If you have installed the Twitter component and want to use it, select the SLTwitCtrl control in the list. Otherwise, select the ActiveX component that you want to use.

The 'Choose Toolbox Items' dialog box in Visual C++

10. Click OK to close the dialog box.

11. The selected component should be visible in the Toolbox window; probably in the bottom of the window.

12. Now drag and drop the component on the dialog box.

The Twitter ActiveX control is placed in the dialog box

We have now included an ActiveX component into a Visual C++ 2010 project and put it in a dialog box. We will now show how to create a variable that can be used to access properties and methods in the ActiveX control.

13. Right-click on the ActiveX control in the dialog box window.

The 'Add Variable' menu item

14. Click on the Add Variable menu item in the local menu that is shown.

15. Enter a variable name in the dialog box that is shown, for example: SLTwitterCtrl.

The 'Add Member Varible Variable' dialog box

15. Click Finish to close the dialog box and create the variable

16. We have now created a variable that can be used to access properties and methods in the ActiveX control. The example below shows how to access the AppName property in SamLogic’s Twitter Control (it sets the ActiveX property to “Twitter Test Application”):

Code example - How to access the AppName property in SamLogic's Twitter component in Visual C++

Related Blog Posts
> How to add an ActiveX component to a Visual Basic 2010 project
> How to add an ActiveX component to an Excel 2010 sheet

SamLogic MultiMailer 2013 has now been released

SamLogic MultiMailer 2013

We have now released a new version of our newsletter tool SamLogic MultiMailer. Some new features in the latest version are:

SamLogic MultiMailer 2013 – New Features
– Full support for Microsoft Windows 8 and Microsoft Windows 8.1.
– Better support for international characters. Unicode is now fully supported.
– Support for Twitter. You can now send tweets directly from MultiMailer.
– Support for Dropbox and SkyDrive.
– Support Outlook 2013 and Excel 2013.
– Better support for smartphones and tablet computers.
– New statistics & analysis functions. You can now see when newsletters are opened.
– A new powerful filtering function in the Statistics tab.
– Better handling of e-mail bounces.

More Information
A more detailed description of the new features are available on this webpage:
> SamLogic MultiMailer 2013 – News

How to use SamLogic Image Resizer – Video

In this video, that is published on YouTube, you will get a short demonstration of how to use our image resizer / converter application SamLogic Image Resizer.

SamLogic Image Resizer is used to resize and convert images (for example photos) so they can be used in web sites, blogs, e-mail newsletters, and with applications. The tool makes images smaller in size, optimizes the images resolution (DPI) for best quality on screens, and can also convert CMYK color images to RGB color images.

Download SamLogic Image Resizer
SamLogic Image Resizer is installed together with our other software, but you can also download it separately from the following web page:

> Download SamLogic Image Resizer

It is free to use SamLogic Image Resizer. You can also distribute it to other users, if you think they will have use of the program.

Visual Installer: Prime number based license keys

One important key feature in Visual Installer is the ability to create and handle license keys (installation keys). Visual Installer can handle both static license keys and prime number based license keys.

Prime number based license keys
Prime number based license keys are license keys that are created by using a formula that includes prime numbers. By combining this with a checksum, Visual Installer can very easy check that an entered license key is correct or wrong. You don’t need to include your license keys with the installation; pure mathematics is used to verify the license key.

It is also very difficult for a person to manipulate the license key and create false license keys. Not all combinations are allowed and besides that, also the checksum must be correct. So a “cracker” must consider two things in the same time, which makes it difficult to “crack” the key.

How to create prime number based license keys?
If you want to use prime number based license keys in your installation, follow the steps below to create the keys:

1. Start Visual Installer
2. Open the Dialog boxes tab in the editor
3. Click on the ”…” button to the right of the License key option
4. Click the Prime number based license keys button
5. In the dialog box that is shown you can create prime number based license keys

You can create prime number based license keys with Visual Installer

When does Visual Installer ask for the prime number based license key?
Before the actual installation of files starts, a setup wizard with dialog boxes is shown for the end-user. Among these dialog boxes there is one dialog box that asks for a license key. In the picture below you can see how the dialog box looks like:

The 'License Key' dialog box

The installation will not continue until correct license key has been entered. If the end-user enters wrong license key too many times the installation is stopped.

Note
Handling of prime number based license keys is only included in the Professional version of Visual Installer, not in the Standard version. If you have the Standard version and want to change to the Professional version, read this blog post.

See Also
> Visual Installer can show visually when a license key is correct
> How to block a license key when using Visual Installer
> The setup wizard in Visual Installer

Start button back in Windows 8.1

Windows 8.1As you may already know, and as we described in an article on our website, Microsoft removed the Start button in Windows 8. This raised much criticism among Windows users and Microsoft have partly listened to them and re-introduced the Start button in the upcoming Windows 8.1 that will be released later this year. However, there is no traditional Start menu as in earlier versions of Windows. Instead, the Start screen is shown if you click on the Start button (see image to the right). The new Start button is placed at the bottom left of the screen, just like in older Windows versions.

Windows 8.1 - Right-click Start menuWindows 8.1 – Right-click menu
It is also possible to right-click on the Start button and display a shortcut menu for Control Panel and Windows Explorer among other options. You can also turn off or restart Windows from this menu (see image to the right).

Displays traditional desktop at start
Another new feature in Windows 8.1 is that the computer can be started with the traditional desktop right away instead of clicking around with your mouse or using the keyboard to bring up the traditional desktop as you had to do in the previous version of Windows 8. This is welcome news for many, especially for companies that are still using traditional Windows programs (Windows desktop applications).

Other news
Some other news in Windows 8.1 are:
– Improved support for SkyDrive
– Internet Explorer 11 included
– Improved support for security
– Extended support for VPN
– Improved and more flexible Home screen
– Support for 3D printers

The following YouTube video from Microsoft presents news on Windows 8.1:

More information
More information about the new features in Windows 8.1 can be found on these pages:
> Microsoft: What’s New in Windows 8.1
> Guardian: Windows 8.1 review: Microsoft’s fresh Start?

Download Windows 8.1 Preview
Right now it is possible to download a preview version of Windows 8.1:
> Download English version of Windows 8.1
> Download Swedish version of Windows 8.1

Related information about Windows 8
> Article: New Keyboard Shortcuts (Hot Keys) in Windows 8
> Article: Why Were the Start Button & Start Menu Removed in Windows 8?

Visual Installer: How do I install files to the Program Files folder?

Applications (programs) are usually installed to the Program Files folder in Windows. The exact folder path may differ between different versions of Windows. The folder path is for example different between a 32 bit and 64 bit Windows, and for example a Spanish Windows uses a different folder path than an English Windows.

This will make it difficult to hard code the folder path to the Program Files folder. If you use Visual Installer for your setup projects you can use an environment variable to handle the Program Files folder. The name of the variable is %PROGRAMFILES and the variable will be replaced with the current folder path to the Program Files folder during the installation. By using this variable you don’t need to worry about the bitness of the Windows or which country / language version of Windows that is run.

More information
We have published more information about the %PROGRAMFILES variable in the following two Visual Installer related blog posts:

> How to install files in the correct folder using Visual Installer
> How Visual Installer handles 64 bit folders in Windows