# Tag Archives: Windows 8

## Fix error: These are not actually errors !

Many users can got one of this system messages:

• There was a problem sending the command to the program.

• Windows cannot find the file, Make sure you typed the name correctly, and then try again.
• Cannot find the file (or one of its components). Make sure the path and filename are correct and that all required libraries are available.

These are not actually errors …
This problem occurs due to Dynamic Data Exchange (DDE) feature. DDE is a type of communication protocols which is used by Windows to open certain filetypes which require this protocol for communication between source and target programs.
DDE mechanism is used to prevent unnecessary opening of multiple instances of a program if one instance of that program is already running in background. So basically DDE helps Windows in saving computer resources so that you get better performance from your computer.
In my case the error message is shown only once and you’ll be able to open the file in second attempt or each time you try to open the file.

Posted in All, Errors, Windows 8. Tagged with , , .

## Create your GUID with Visual Studio Express 2013 .

The file called AssemblyInfo.cs contains information about your programme and provides properties for getting the information about the application, such as the version number, description, loaded assemblies.
This is just a simple example and you can read the docs from msdn docs

When you create the project you will find this file on Solution ExplorerProperties .
A Globally Unique Identifier is a unique reference number used as an identifier named GUID.
The GUID refers to various implementations of the universally unique identifier and usually stored as 128-bit values.
You can use the tools in Visual Studio Express 2013 on the Tools menu, click Create GUID. The Create GUID tool appears with a GUID in the Result box.

Posted in All, C#, Programming. Tagged with , , , .

## Android geo google maps .

You need to take a look under this Google Maps Intents .
Start your project under Androi Studio or AIDE.
The source code will need to know come into this two files :
The AndroidManifest.XML file:
<?xml version=”1.0″ encoding=”utf-8″?>
<manifest xmlns:android=”http://schemas.android.com/apk/res/android”
package=”com.mycompany.myapp” >

<application
android:allowBackup=”true”
android:icon=”@drawable/ic_launcher”
android:label=”@string/app_name”
android:theme=”@style/AppTheme” >
<activity
android:name=”.MainActivity”
android:label=”@string/app_name” >
<intent-filter>
<action android:name=”android.intent.action.MAIN” />

<category android:name=”android.intent.category.LAUNCHER” />
</intent-filter>
</activity>
</application>

</manifest>
The MainActivity.JAVA file:
package com.mycompany.myapp;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;

public class MainActivity extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Intent i = new Intent(android.content.Intent.ACTION_VIEW);
i.setData(Uri.parse(“geo:54.5200,15.2500?z=1”));
startActivity(i);
}
}
The result it’s this screenshoot.

Posted in All, Android, Programming. Tagged with , , , , , , .

## Android send mail with android mail setup.

I used AIDE development tool under my phone.
The main reason was : this IDE come with a simple default project.
The Android Studio can you give yourself a headache…
I named my project MyAppMailSend with MainActivity.
So the java class will be MainActivity – public class MainActivity extends Activity.
Also I used Intent named ig .
Under XML files I need to put intent-filter and all @string , @drawable and @style.
The AndroidManifest.XML file :

<?xml version=”1.0″ encoding=”utf-8″?>
<manifest xmlns:android=”http://schemas.android.com/apk/res/android”
package=”com.mycompany.myapp” >

<application
android:allowBackup=”true”
android:icon=”@drawable/ic_launcher”
android:label=”@string/app_name”
android:theme=”@style/AppTheme” >
<activity
android:name=”.MainActivity”
android:label=”@string/app_name” >
<intent-filter>
<action android:name=”android.intent.action.MAIN” />

<category android:name=”android.intent.category.LAUNCHER” />
</intent-filter>
</activity>
</application>

</manifest>

Under this path MyAppMailSend\app\src\main\java\com\mycompany\myapp you wil have this file MainActivity.JAVA:

The \MyAppMailSend\app\src\main\res\layout\main.XML file:

<LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android”
android:layout_width=”match_parent”
android:layout_height=”match_parent”
android:gravity=”center”>

<TextView
android:text=”@string/hello_world”
android:layout_width=”wrap_content”
android:layout_height=”wrap_content” />

</LinearLayout>

Posted in All, Android, Programming. Tagged with , , , , , , .

## PySide – Introduction – part 001

PySide requires Python 2.6 or later and Qt 4.6 or better so I used python3.4 .
PySide is the Python Qt bindings project, providing access the complete Qt 4.8 framework as well as to generator tools for rapidly generating bindings for any C++ libraries.
You can use pip3.4 to install this module:

Now I can some simple examples to see how to deal with this python module.
The code example is very simplistic if you know something about Qt. Even you can deal with this tutorial.

The next example will show you a message box with two buttons.

Posted in All, Programming, Python. Tagged with , , , .