Search VB 2010

Sunday, July 29, 2012

Visual Basic 2010 Error the application failed to initialize properly 0xc000007b

Visual Basic 2010 Computer Virus

Visual Basic Courses Online

Error :

he application failed to initialize properly 0xc000007b

Cause :

Virus W32.Sality

Symptoms :

When you attempt to start an application (.exe) it generates an error message the application failed to initialize properly 0xc000007b

 Solution :

Any antivirus will do the job.

In my case :

I had VS2010 Professional Edition installed on my X86 machine that runs WinXpSp3 Home Edition along with many other applications (i.e. Office 2003\2007, VS6 SP6) and of course .Net framework 4.0.
 
Every time i develop an application it runs fine until i restart my computer or shut it down and then re-open it again, i receive this annoying error message when i attempt to run the .exe file i just built with VS 2010 "the application failed to initialize properly 0xc000007b"
 
I formatted my C:\ drive and re-installed windows along with VS 2010 and all other software, but that did not solve the problem, i did not realize that my PC is infected with Virus [Win32.Sality] until i used a flash USB memory that acting a little bit weird for instance, it was opening in new window and that my computer is really slowing down so i got a KAV rescue CD and scanned my whole PC and found a lot of WIN32.Sality Virus there and removed it along with a lot of applications, then i re-installed Windows XPSP3 Home Edition again and VS 2010 Pro. and all other applications, and the problem went away for good.

I really worked around the problem for a very long time and it did not work out until i used this method i mentioned, so i thought it would be fine to share with everyone.

Thanx for reading, i hope that was useful .

Wednesday, May 23, 2012

Visual Basic 2010 Working With DataBase Full Project Example

VB 2010 Book
Working With Database Full Project Example

Download VB 2010 Book to work with MS-Access
Download VB 2010 Book to work with MS-Access

Book Link via MediaFire.com

The book is 5 chapters and is explained here, it contains source code of a project example on how to work with Microsoft Access Database from Visual Basic 2010.

    In the book; the photos show how to start your project, how to select your database and how to display it. Here, we'll discuss each photo and explain each code block.

Chapter#1 - Released
VB .Net 2010 Working With DataBase Full Project Example

    Photo (1) : Shows the folder that contains the project, the (My-First-Con.vbproj) is the icon you need to click to open the project.

    Photo (2) : From menu (Data) choose (Add New Data Source), a popup dialog-box will show titled (Choose a Data Source Type) and you select (Database) as long as we are connecting to one, then click next.

    Photo (3) : A popup dialog-box appears titled (Data Source Configuration) and you select (DataSet). The DataSet is the connection type we are trying to establish here, click next. Also in the end you will notice a file (DataSet) was created, let's not rush, ok?!

    Photo (4) : Another dialog-box shows up titles (Choose Your Data Connection), here we'll choose (New Connection) and another dialog-box will show up to choose the connection from it, this new dialog-box titled (Add Connection) has (Change) button and (Browse) button, we will click on (Change) to choose the data source we wish to work with, as for this lesson we're working on (Access) so we will choose access from the next popup window that will show when we click on (Change) which called (Microsoft Access Database File), the other databases are for the other types of databases, now choose (Access) and there will be another button below called (Data Provider) which provides us with the technology we wish to work with, as for here we will work with (.Net Framework Data Provider for Ole DB), then we click next.

Continue reading ....

Chapter#2 - Released
VB .Net 2010 Working With DataBase Full Project Example
Chapter#3 - Released
 VB .Net 2010 Working With DataBase Full Project Example
  •         Adding\Inserting photos into database table
  •         Retrieving\displaying photo from database table
  •         Displaying photos into DataGridView Control
  •         Using PictureBox Drag/Drop Method to display photo
- The example remains (My Phone Book) so we will just resume our previous work.

Here are some online Visual Basic lessons and courses :

Monday, May 14, 2012

VB2010 -Connect your first database

Hello,

This is a new book about using MS-Visual Basic .Net 2010 to connect to database and build complete applications based on database.
The book title’s (“Microsoft Visual Studio 2010 Data-Base Applications”) it comes in PDF format, with many Source codes and photo shots of – How To Do …… ?

Visual Basic Courses - Share