Move photos from iPhone to local disk with Windows Explorer

Windows treats the iPhone as either a digital camera or a file system, depending on how the photos are accessed. On a Windows PC, the easiest way to get pictures from your iPhone is to just use Windows Explorer, but there are two ways to go about this. In either case, unlock the iPhone before beginning, or else the photos may not be visible.

Using Windows Plug & Play
This utilizes the pop-up that shows by default in Windows when a device is connected to the computer by way of USB.

      1. Plug-in your iPhone to the computer without iTunes running
      2. Wait for a popup asking you what you want to do with the device
      3. Select “View Content”
      4. Find your photos through the folders that are displayed
      5. Copy the images from Windows as usual

Using iPhone as Digital Camera in Windows Explorer
If your iPhone is already plugged into the PC, you can also try this method:

      1. Open “My Computer”
      2. Find the iPhone, it will appear under Portable Devices section
      3. Open iPhone to find your Photos
      4. Select the pictures you want to copy and paste them to the desired location of your computer

Remember, if the iPhone pictures are not showing up in Windows, make sure the iPhone is unlocked first. Otherwise the iPhone will be found in ‘My Computer’ but all of the content on it will be invisible and inaccessible. If you run into that, all you need to do is touch the iPhone, unlock the screen and enter the passcode, and all of your stuff will be visible as expected.

see: http://www.m2mate.com/resources/5-ways-to-transfer-iphone-photos-to-computer.html

Bluetooth Device Development using C#

Fortunately it is very simple to interact with Bluetooth radio and devices on the phone using <a href="http://msdn web link.microsoft.com/en-us/embedded/aa714533.aspx” target=”_blank”>Windows Embedded Source Tools for Bluetooth Technology. This download contains bunch of C# files which you can directly use in your code. You will get classes such as BluetoothDevice and BluetoothRadio which allow you to control the device and paired devices.

read more: blogs.msdn.com – bluetooth-device-control-development-using-c#

WordPress Plugin Duplicator

We started to use the WordPress Plugin Duplicator and it looks very good! 🙂

“The Duplicator gives WordPress administrators the ability to migrate, copy or clone a site from one location to another.
The plugin also serves as a simple backup utility.
The Duplicator supports both serialized and base64 serialized string replacement.
If you need to move WordPress or backup WordPress this plugin can help simplify the process.
For complete details visit lifeinthegrid.com.”

see also: https://wordpress.org/plugins/duplicator/

Visual Studio 2013 Community edition – Free, Unrestricted Version Of Visual Studio For Small Teams

Microsoft launched the Community 2013 edition of Visual Studio, which essentially replaces the very limited Visual Studio Express version the company has been offering for a few years now.

There is a huge difference between Visual Studio Express and the aptly named Visual Studio 2013 Community edition, though: The new version is extensible, so get access to the over 5,100 extensions now in the Visual Studio ecosystem. It’s basically a full version of Visual Studio with no restrictions, except that you can’t use it in an enterprise setting and for teams with more than five people (you can, however, use it for any other kind of commercial and non-commercial project).

“The simple way to think about this is that we are broadening up access to Visual Studio,” Microsoft’s corporate VP of its Developer Division S. “Soma” Somasegar told me in an interview late last month. Somasegar told me that the Community Edition will allow you to build any kind of application for the Web, mobile devices, desktop and the cloud. “It’s a full features version of Visual Studio,” he noted. “It includes the full richness of the Visual Studio extensions and ecosystem.”
more info, here:
Installing Visual Studio Versions Side-by-Side:
http://msdn.microsoft.com/en-us/library/ms246609.aspx

Visual Studio 2013 Compatibility:
How to make Visual Studio 2010 + 2012 + 2013 coexist together?
http://stackoverflow atorvastatin 20 mg.com/questions/22876932/how-to-make-visual-studio-2010-2012-2013-coexist-together

Responsive Web Design – Test if your page is mobile friendly

There are several tools, you may find, to test if your page is mobile friendly but I think it’s also very important to get a good ranking at Google and maybe not yet but for sure in the future mobile friendliness will also be a big criteria ….

So I recommend using Google’s mobile friendliness test:

www.google.com/webmasters/tools/mobile-friendly

 

Responsive Web Design – Use Legible Font Sizes

  1. Configure the viewport to make sure fonts will be scaled as expected across various devices.
  2. Use a base font size of 16 CSS pixels. Adjust the size as needed based on the font used.
  3. Use sizes relative to the base size to define the typographic scale.
  4. Text needs vertical space between its characters and may need to be adjusted for each font. The general recommendation is to use the browser default line-height of 1.2em.
  5. Restrict the number of fonts used and the typographic scale: too many fonts and font sizes lead to messy and overly complex page layouts.

Responsive Web Design – Configure the Viewport

More and more people are surfing the internet by mobile phones, pads, … and of course this devices have different (smaller) screen sizes.

There are some general basics you have to follow to render your site(s) well on this new devices, all of this techniques is often called “Responsive Web Design”.

Let’s start with “Configure the Viewport”:

A viewport setting controls how a page is displayed on a mobile device. Without a viewport specified, mobile devices will render the page at a typical desktop screen width and scale them to fit the real screen width. The setting of “width=device-width” avoids this, the real width is used.

Some browsers will keep the page’s width constant when rotating to landscape mode, and zoom rather than reflow to fill the screen. Adding the attribute “initial-scale=1″ instructs browsers to establish a 1:1 relationship between CSS pixels and device independent pixels regardless of device orientation, and allows the page to take advantage of the full landscape width.
Resolution: Pages optimized to display well on mobile devices should include a meta viewport in the head of the document specifying “width=device-width” and “initial-scale=1”:
 <meta name=viewport content=”width=device-width, initial-scale=1″>

 

How to bring toolbars in a row using MFC (Microsoft Foundation Classes)

Normally you add Toolbars like this:

header file (‘MainFrm.h’):
………….
CMFCMenuBar m_wndMenuBar;
CMFCToolBar m_wndToolBar;
CMFCToolBar m_wndToolBar_Views3D;
CMFCToolBar m_wndToolBar_Export2D;
CMFCToolBar m_wndToolBar_Export3D;
………….

source file (‘MainFrm.cpp’):
………….
m_wndMenuBar.EnableDocking(CBRS_ALIGN_ANY);
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
m_wndToolBar_Views3D.EnableDocking(CBRS_ALIGN_ANY);
m_wndToolBar_Export2D.EnableDocking(CBRS_ALIGN_ANY);
m_wndToolBar_Export3D.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockPane(&m_wndMenuBar);
DockPane(&m_wndToolBar);
DockPane(&m_wndToolBar_Views3D);
DockPane(&m_wndToolBar_Export2D);
DockPane(&m_wndToolBar_Export3D);
………….

But this results in showing every toolbar on a new row …. 🙁

<img class="size-medium wp-image-30" src="https://i1.wp.com/home.varlab.eu/wp-content/uploads/2015/12/DockPaneLeftOf_Not_Used.png?resize=300%2C171" alt="DockPaneLeftOf Not Used" srcset="https://i1.wp.com/home.varlab.eu/wp-content/uploads/2015/12/DockPaneLeftOf_Not_Used.png?resize=300%2C171 300w, https://i1.wp.com/home visite site.varlab.eu/wp-content/uploads/2015/12/DockPaneLeftOf_Not_Used.png?w=406 406w” sizes=”(max-width: 300px) 100vw, 300px” data-recalc-dims=”1″ />
DockPaneLeftOf Not Used

It’s very simple to change this to having all toolbars in one row,
just replace the code above (in ‘MainFrm.cpp’) with this one:

source file (‘MainFrm.cpp’):
…………. 
m_wndMenuBar.EnableDocking(CBRS_ALIGN_ANY);
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
m_wndToolBar_Views3D.EnableDocking(CBRS_ALIGN_ANY);
m_wndToolBar_Export2D.EnableDocking(CBRS_ALIGN_ANY);
m_wndToolBar_Export3D.EnableDocking(CBRS_ALIGN_ANY);
EnableDocking(CBRS_ALIGN_ANY);
DockPane(&m_wndMenuBar);
DockPane(&m_wndToolBar_Export3D);
DockPaneLeftOf(&m_wndToolBar_Export2D, &m_wndToolBar_Export3D);
DockPaneLeftOf(&m_wndToolBar_Views3D, &m_wndToolBar_Export2D);
DockPaneLeftOf(&m_wndToolBar, &m_wndToolBar_Views3D);
………….

Now you have it in one row …. 🙂

DockPaneLeftOf Used
DockPaneLeftOf Used

 

Using ‘_MSC_VER’ to check Microsoft Visual Studio version

If you develop applications for Windows using a Microsoft Visual C++ Compiler,  you may use the macro ‘_MSC_VER’ to check what compiler (version) you are using my latest blog post. Newer compilers have more possibilities of course or (more worse) things have just changed. So if you want (or must) support older ones you have to split your code.

The (current) values are:

MSVC++ 12.0 _MSC_VER = 1800 (Visual Studio 2013)
MSVC++ 11.0 _MSC_VER = 1700 (Visual Studio 2012)
MSVC++ 10.0 _MSC_VER = 1600 (Visual Studio 2010)
MSVC++ 9.0  _MSC_VER = 1500 (Visual Studio 2008)
MSVC++ 8.0  _MSC_VER = 1400 (Visual Studio 2005)
MSVC++ 7.1  _MSC_VER = 1310 (Visual Studio 2003)
MSVC++ 7.0  _MSC_VER = 1300 (Visual Studio 2002)
MSVC++ 6.0  _MSC_VER = 1200
MSVC++ 5.0  _MSC_VER = 1100

And here is a simple example how to use it:

#if (_MSC_VER >= 1600)  /*Visual Studio 2010*/
typedef /*unsigned*/ char mychar8; /**< defines the utf-8 character type. */
typedef wchar_t mychar16; /**< defines the utf-16 character type. */
#else /*(_MSC_VER >= 1600)*/
typedef /*unsigned*/ char mychar8; /**< defines the utf-8 character type. */
typedef unsigned short mychar16; /**< defines the utf-16 character type. */
#endif /*(_MSC_VER >= 1600)*/