Tuesday, January 29, 2013

Launch of BlackBerry 10

BlackBerry 10, a hidden treasure.

BlackBerryTomorrow January 30, 2013 will be the launch of the new BlackBerry 10, which will try to lend a boost to the company Research in Motion. In 2004, the Blackberry smartphone was the fight. Email, internet, SMS, phone, photo and video camera, single sim card and keyboard were the number one global mobility. With its network of more security for the transmission of messages and mail servers most sophisticated, who would think that today, RIM would build on his last blow with the Blackberry 10.

Facts, about 3 years ago, RIM launched the new RIM playbook. The product has been the target of criticism from journalists and thereby generated only bad comments on social networks. Too much and unfairly compared to the iPad world, the playbook has never managed to charm its target clientele. However, users who have adopted the playbook are very satisfied with the product. First, the size of the device is smaller than its counterpart iPad. In fact, it has the size of a paperback book. Excellant to tighten it in the inside pocket of a jacket. An ergonomic protective case is also included as the iPad, bulkier has nothing. The Playbook can be synchronized with your phone blackberry directly while other products, data exchange must be passed through the WiFi network manipulations are asking more or less laborious. The playbook also resembles the Kindle which is regularly used for e-book readers. Also, network outages related to Blackberry have caused loss of user confidence and especially the business class. Many failures are listed since that day, but nothing compared to the failure of 2011, which lasted several days and caused his loss.

So RIM put all his energies to reposition itself in the mobile market by offering products such as application online music, video and television on his BlackBerry Word. It will broadcast an advertisement at great expense to the Super Bowl XLVII Sunday that oppose the San Francisco 49ers and the Baltimore Ravens. (I take my chance with the 49ers).

But is that all these efforts will be sufficient? It is clear that software producers rely mobile experiences currently on products such as Apple and Android in this world. Alone control more than 92% of the market, 70% for Android and 22% for Apple as the Strategic Analytics. In addition, interest measured by search engines show the same trend.
Millions of searches per month according to Google AdWords

Key word

Samsung S

The choice of Samsung-S is used as indicator. The term Andoid is not a term familiar to consumers because it is also used in other electronic devices such as Colby, Acer, Asus, Sony, Toshiba, ViewSonic, Amazon, Archos, HTC and more.
So what to think of the Blackberry 10? The competition is fierce and it can more mobile devices than PC and laptop all together. Existing applications on the Blackberry can have many and does not offer the same quality as the competition. Just think of the Angry Bird and Skype are all the rage on iPhone and Android as these products are non-existent in Blackberry. How to compare GPS Blackberry versus the competition exactly? One might expect that the Blackberry is the expectations of consumers?

Wednesday, January 23, 2013

Change Internet Explorer size

Change Internet Explorer Size

Increase size

CTRL "+"

Decrease size

CTRL "-"

Friday, January 18, 2013

Drag And Drop

Drag And Drop

Drag And Drop give a professional effect to your program. It is a central element in computer-aided design as it presents the theories in schools and universities. Drag And Drop without, your program loses a lot of charm to most other technologies: Android, iPad, iPhone, Windows, etc..
Drag And Drop

The Visual Basic is both simple to create user interfaces as it becomes cumbersome to operate when there is no correctly. This is quite normal. Many people who use Visual Basic programmers are initiated and intermediates. These programmers will naturally focus on program performance at the expense of user appearance. When you think of Windows products, we find that the ubiquitous Drag And Drop is absolutely everywhere. Why is that programs developed by many programmers do almost no functionality Drag And Drop. Without Drag And Drop, we fall into the 80s when the mouse does not exist. The Apple Mac has yet revolutionized the world of computing with the mouse in 1982 as well as with Microsoft operating system Windows 3.1 in 1991. There is no reason to disregard the Drag And Drop in our 2013 and more. Worse, cell phones, tablets, GPS, iPhone, iPad, and Kindle Blacberry all have touch screens. If you have children, look you exceed the technologically who write SMS with the five fingers of the main.is

How to implement Drag And Drop? What are the steps to perform Drag And Drop? First, to answer the question, Drag And Drop is simple, but requires a series of events to accomplish a task. The steps may vary slightly depending on the situation and increase.

  1. The event mouse button (copy / cut)
  2. The event displacement (slip)
  3. The mouse event released (submitted)

You see? It really is not that difficult to code a programming code that performs the same task "directly".

For example, you write a program to copy a file and then to paste the file in any place by clicking a button. Awesome! Few lines of code are enough to achieve something acceptable. This program, developed in LISP, C #, Visual Basic, C + +, Java, Visual Basic Script, LISP, .... has only two major events: the copy and paste.
An effective programmer will be able to pass through a point "A" to point "B" with a short and efficient way. It can also by a second time to increase the reliability of its program by adding steps checks or validations. But what comes after when the program works and is reliable? The programmer trend in most of the time not to have to continue to improve the program and will instead terminate its development to start another.

Many programmers will neglect the application of their programs. Drag And Drop in our example is the most neglected aspect. The programmer who worries Drag And Drop will ensure that such controls are in programs can be moved to the appropriate place for the user. Never a programmer worthy of the name will compel the appearance of the program in an absolute form. Professional program will always have eg ToolButtons that can be moved anywhere on the screen. Think with their Autodesk ToolBars or many video games free online.

I invite you to come back to my blog for examples of Drag And Drop more or less complete. In the meantime, here's an old link that describes the MSDN Drag And Drop with Visual Basic 2003 (and VB6). It shows how to move images, files, texts such as in MS-Word and objects together (ListView).

Référence :

Tuesday, January 15, 2013

Twitter crashed

don't tell me your twitter isn't responding !!! it is happening to me tooooooo!

Change color Microsoft Visual Studio 2012 for Windows 8 in 10 secondes

Change Microsoft Visual Studio 2012 for Windows 8 style

you want to change to color in Visual Studio Express 2012 to white. You don't like to work with the default color scheme. You need to set the white background back in you Visual basic or Visaul Studio environment or you will downgrade to an older version.. Juste follow theses instructions.

Microsoft Visual Studio Express 2012 for Windows 8 black

Open Microsoft Visual Studio Express 2012 for Windows 8.

Sunday, January 13, 2013

SendKeys Method

You could « automate » a program using the SendKeys to another program. Many hacking programs use this technique to cheat games. Unfortunately, most game is now blocking this type of technique.
Here is an example from MSDN. It shows how to get the Windows calculator and simulate key entries: How to: Start an Application and Send it Keystrokes (Visual Basic)

In Visual Basic .NET:
Dim ProcID As Integer
' Start the Calculator application, and store the process id.
ProcID = Shell("CALC.EXE", AppWinStyle.NormalFocus)
' Activate the Calculator application.
' Send the keystrokes to the Calculator application.
My.Computer.Keyboard.SendKeys("22", True)
My.Computer.Keyboard.SendKeys("*", True)
My.Computer.Keyboard.SendKeys("44", True)
My.Computer.Keyboard.SendKeys("=", True)
' The result is 22 * 44 = 968.

Saturday, January 12, 2013

Error Handling in VBA

Error Handling in VBA

You do small code in your Excel in VBA. you code works but get bigger and bigger. Sometimes you get error message ans your worksheet or Excel software crash. I have a simple solution for you. So simple that you can't miss it.

Error handling , simple way:

public sub test()
on error goto ErrHandling

'place you code here
if err.number <>0 then
msgbox "err.number"
end if
end sub

Thursday, January 10, 2013

All you need to know with Visual Basic and Excel

All you need to know with Visual Basic and Excel

You want to develop applications using Visual Basic (Visual Studio) that interact with Excel, but you do not know where to start? Read this article to learn more about the development of import and export Excel. You would be able to develop your own programs and interact with Excel files. Better than a tutorial, it includes most of the programming knowledge and a sample project at the end of article. This article is also perfect for VBA programmers who often have with the language in Excel or any other specialized software.

Excel Sample

Sunday, January 6, 2013

TreeView with recursivity

Fill a TreeView with recursivity

I decided to put in 1 single place an article to help build a treeview with recursivity.

There is a lot of forum or Question and Answser related on TreeView but i think is a good idea to write 1 article on the subject.

For many people, anything that works with node is a little bit difficult. The structure itself is not easy. For example, xml file a compose of node. If you don't like to work with node, you will probably choose to work with text file. Text File are simple. They work line by line. So is very sequential.

TreeView work the same way. They use node to structure his own databse. Each node have a parent. That means that the Node can't exist alone.

Friday, January 4, 2013

How to prevent a form from closing?

How to prevent a form from closing?

This is a very classic question and there are multiples answers. I’ll show you my way to do it not because my way is smarter but only because I want to share my ideas to you.

prevent from closing a form

Thursday, January 3, 2013

How to setup VPN client in Windows 8 for free

How to setup VPN client in Windows 8

Set up a VPN (Virtual Private Network) could be done in less than 5 minutes. The steps are very simple. You need the IP address, the username and the password. That is all.

1. First, you need to access the Windows 8 Control Panel. Using the search Apps or from the classic desktop.
Control Panel

Search for Control Panel in Windows 8

Extract icon from lnk file

Extract icon from lnk file

How could you extract the icon from a shortcut file (.lnk) in Windows programmatically with Visual Basic? How to remove the arrow in the icon from a shortcut file (.lnk)?

Inside Windows XP, Vista, Seven or Windows 8, the system automatically creates a new icon for every shortcut with the target file or the target folder and adds an arrow in it. If you don’t like the arrow on the icon in your shortcut, you will need to replace it by using the target file or target folder.
icon with arrow in shortcut

Analyse your code in Visual Basic

Analyzing the needs

This is the best part. You need to analyze your code. Try to understand what the function needs to do what you want. This is not an easy step. With practice, you could build you brain to code directly in Visual Studio.

Lets only focus on this part of the code:

For Each foundFile As String In My.Computer.FileSystem.GetFiles( _
      dirPath, FileIO.SearchOption.SearchTopLevelOnly, String_to_Search)



For Each foundDirectory As String In My.Computer.FileSystem.GetDirectories( _ dirPath, FileIO.SearchOption.SearchTopLevelOnly)

      findfiles(foundDirectory) ''recursive search file : re-use "himself"