How you display webpage in VC++

You have to create a browser manager to display webpage within your vc++ application. Then you call functions to display any webpage based on url. You have to write following code in your dialog:

BOOL VMCLEScannerGameBookDlg::OnInitDialog()
// Initialize Browser window Size
m_nBrowserWindowLeft = rect.left + (rect.right – rect.left) /2 – 300;
m_nBrowserWindowRight = rect.left + (rect.right – rect.left) /2 + 300;
m_nBrowserWindowTop = + (rect.bottom – /2 – 300;
m_nBrowserWindowBottom = + (rect.bottom – /2 + 300;

// Create Browser Window
if( TRUE == m_BrowserManager.createHTMLBrowserWindow(this,
//Hide Paint Canvas

CString strURL = m_strCSVUrlPath + m_strCurrentLanguage + “open\\openning.html”;
// Load URL

return TRUE; // return TRUE unless you set the focus to a control

Get application root path in VC++

Wanna get application root path from vc++? You have to follow the following code:

in your application header file

// Implementation
CString m_strCurrentDirName;

In application cpp file:

BOOL VMCLEScannerGameBookApp::InitInstance()

/*** Get Application Root path ***/
CString strDir;

int nLen = strDir.ReverseFind(‘\\’);
m_strCurrentDirName = strDir.Left(nLen + 1);
VMCLEScannerGameBookDlg dlg;
m_pMainWnd = &dlg;
dlg.m_strCurrentDir = m_strCurrentDirName; // Set Root Path to the MainWindow
int nResponse = dlg.DoModal();

// Since the dialog has been closed, return FALSE so that we exit the
// application, rather than start the application’s message pump.
return FALSE;


How to display Flash animation in Visual C++ 6

Wanna display flash swf movie file in your VC++ application. Dont worry! Here I give the steps below:

1. Start Visual C++ 6.0 wizard, select type and name of new MFC application project: FlashViewer. Click OK to start MFC Application Wizard:

2. Select Dialog based project type and click Next. Next page will appear:

3. Select aboutbox, 3d control and ActiveXControls and Click Finish to create new project. Visual C++ IDE will display summary information for new project: Click OK to open new dialog based project in VC++ IDE:

Now we have to import Shockwave ActiveX control to controls toolbar to display flash file in our application.

4. Go to Project menu, select Add To Project sub-menu and then click Components and Controls command: Visual C++ will display “Components and Controls Gallery” dialog.

5. Click on “Registered ActiveX Controls” to display list of available ActiveX controls:

6. Find and select Shockwave Flash Object ActiveX control in the list of available controls and click “Insert” to add this control to controls toolbar.

Registered ActiveX controls

VC will generate special C++ class that will help to interact with this control:

7. Click OK and VC will generate new “CShockwaveFlash” class in ShockwaveFlash.cpp and ShockwaveFlash.h files.

8. “Shockwave Flash Object” control will appear on controls toolbar:

9. Click on “Shockwave Flash Object” icon and then click on dialog form. Answer “OK” to add new component to dialog:

Confirmation message box

10. New control will be added. Now we will add dialog class member that will handle Flash control. Right-click on dialog and select “Class Wizard” to invoke Class Wizard:

11. Class Wizard dialog will appear. Select Member Variables tab and click Add Variable… button to add new variable:

Enter name of new varaible: m_FlashPlayer and click OK:

Add Member dialog

12. Now click OK to close MFC ClassWizard.

Now we will place code that will load “nightFall.swf” into flash player control.

13. Right-click on dialog form and select “Events..” to invoke Events dialog:Select and double-click on WM_INITDIALOG caption.

14. Code Editor window will appear. CDisplayFlashDlg::OnInitDialog() function is responsible for handling initialization code so we will add our code here.

Add this line below // TODO: Add extra initialization here:


15. Run application by pressing F5 or using Build menu:

You will see application that will display NightFall.SWF flash movie using Shockwave Flash Object ActiveX control:

You can download the source code of this example here:

About Facebook Security

At Facebook, where people keep so much of their lives and information, they’ve built an amazing security team solely focused on making sure our users have a safe experience on the site. The security team at Facebook is dedicated to investigating and auditing their own code for holes, as well as reaching out to people in an extended community to let us know if they’ve missed anything. If they get a report of a bug or a hole from a user, a security researcher, a reporter, blogger, or anyone, they check it out and fix it as quickly as possible.

As a Facebook user you can help them protect you by doing the following things:

  • Report any spam message or posting you see. The more reports they get, the easier it is for them to respond decisively.
  • Never share your Facebook password with anyone. Never. No Facebook employee will ever ask for it, and no one else should know it. If you are ever prompted to log in to Facebook, make sure it’s from a legitimate Facebook web address. If something looks or feels off, go directly to to log in.
  • If your Windows PC or Mac is ever infected with malware or a virus, check out these helpful sites: or
  • Finally, just as in your off line community, be aware of your surroundings in your online community. If a user doesn’t seem right, or says or posts something that you feel is threatening or inappropriate, report it to them.

More:Facebook Security: Fighting the Good Fight

আজ রাতে যদি শ্রাবণের মেঘ হঠাৎ ফিরিয়া যায়

আজ রাতে যদি শ্রাবণের মেঘ হঠাৎ ফিরিয়া যায়
তবুও পড়িবে মনে
চঞ্চল হাওয়া যদি ফেরে কভু হৃদয়ের আঙিনায়
রজনীগন্ধা বনে,
হয়তো পড়িবে মনে

বলাকার পাখা আজও যদি ওড়ে সুদূর দিগঞ্চলে
বন্যার মহাবেগে,
তবুও আমার স্তব্ধ বুকের ক্রন্দন যাবে মেলে
মুক্তির ঢেউ লেগে
বন্যার মহাবেগে

বাসরঘরের প্রভাতের মতো স্বপ্ন মিলায় যদি
বিনিদ্র কলরবে
তবুও পথের শেষ সীমাটুকু চিরকাল নিরবধি
পার হয়ে যেতে হবে
বিনিদ্র কলরবে

মদিরাপাত্র শুষ্ক যখন উৎসবহীন রাতে
বিষণ্ন অবসাদে
বুঝি বা তখন সুপ্তির তৃষা ক্ষুব্ধ নয়নপাতে
অস্থির হয়ে কাঁদে
বিষণ্ন অবসাদে

নির্জন পথে হঠাৎ হাওয়ার আসক্তিহীন মায়া
ধূলিরে উড়ায় দূরে
আমার বিবাগী মনের কোণেতে কিসের গোপন ছায়া
নিঃশ্বাস ফেলে সুরে;
ধূলিরে উড়ায় দূরে

কাহার চকিত-চাহনি-অধীর পিছনের পানে চেয়ে
কাঁদিয়া কাটায় রাতি,
আলেয়ার বুকে জোৎস্নার ছবি সহসা দেখিতে পেয়ে
জ্বালে নাই তার বাতি
কাঁদিয়া কাটায় রাতি

বিরহিনী তারা আঁধারের বুকে সূর্যেরে কভু হায়
দেখেনিকো কোনো ক্ষণে
আজ রাতে যদি শ্রাবণের মেঘ হঠাৎ ফিরিয়া যায়
হয়তো পড়িবে মনে
রজনীগন্ধা বনে

(স্মারক/ সুকান্ত ভট্টাচার্য।)

Some job sites

Here I give some address of job sites for tech people like me:

Tech Jobs

1000′s of IT Jobs in Gulf & M East. Upload Your Resume Now. Free!
Jobs In Dubai

Over 1000 Employers hiring in Dubai Quick and easy process..

2008 Olympic Games, Beijng, China

The greatest show of the earth Beijing Olympic Games 2008 will start tomorrow 8th August and end 24th August. China has promised to make them the best ever. This year the estimated cost of the entire event is USD 40 billion which is highest in the history of Olympic. One of the major attraction of this year Olympic is the marvelous stadiums. Ten thousand athletes have gathered in China for the Olympics, along with hundreds of thousands of fans and 30,000 journalists. All are being watched over by 100,000 security forces.

More information:

Web 2.0

The concept of “Web 2.0″ began with a conference brainstorming session between O’Reilly and MediaLive International. Dale Dougherty, web pioneer and O’Reilly VP, noted that far from having “crashed”, the web was more important than ever, with exciting new applications and sites popping up with surprising regularity. What’s more, the companies that had survived the collapse seemed to have some things in common. Could it be that the dot-com collapse marked some kind of turning point for the web, such that a call to action such as “Web 2.0″ might make sense? We agreed that it did, and so the Web 2.0 Conference was born.

Web 2.0 is a term describing the trend in the use of World Wide Web technology and web design that aims to enhance creativity, information sharing, and, most notably, collaboration among users. These concepts have led to the development and evolution of web-based communities and hosted services, such as social-networking sites, wikis, blogs, and folksonomies. Although the term suggests a new version of the World Wide Web, it does not refer to an update to any technical specifications, but to changes in the ways software developers and end-users use the Web.

According to OReilly “Web 2.0 is the business revolution in the computer industry caused by the move to the Internet as platform, and an attempt to understand the rules for success on that new platform”.

O’Reilly provided examples of companies or products that embody these principles in his description of his four levels in the hierarchy of Web 2.0-ness:

  • Level-3 applications, the most “Web 2.0″-oriented, only exist on the Internet, deriving their effectiveness from the inter-human connections and from the network effects that Web 2.0 makes possible, and growing in effectiveness in proportion as people make more use of them. O’Reilly gave as examples eBay, Craigslist, Wikipedia,, Skype, dodgeball, and AdSense.
  • Level-2 applications can operate offline but gain advantages from going online. O’Reilly cited Flickr, which benefits from its shared photo-database and from its community-generated tag database.
  • Level-1 applications operate offline but gain features online. O’Reilly pointed to Writely (now Google Docs & Spreadsheets) and iTunes (because of its music-store portion).
  • Level-0 applications work as well offline as online. O’Reilly gave the examples of MapQuest, Yahoo! Local, and Google Maps (mapping-applications using contributions from users to advantage could rank as “level 2″).

Non-web applications like email, instant-messaging clients, and the telephone fall outside the above hierarchy.

Web 2.0 websites typically include some of the following features/techniques:

The Web As Platform

Like many important concepts, Web 2.0 doesn’t have a hard boundary, but rather, a gravitational core. You can visualize Web 2.0 as a set of principles and practices that tie together a veritable solar system of sites that demonstrate some or all of those principles, at a varying distance from that core.

Figure 1 shows a “meme map” of Web 2.0 that was developed at a brainstorming session during FOO Camp, a conference at O’Reilly Media. It’s very much a work in progress, but shows the many ideas that radiate out from the Web 2.0 core.
Image Source:

A variety of Web 2.0 tools and technologies:

Publish and Disseminate Information

Seven Blogging Tools Reviewed
There are a number of good blogging tools, but choosing among them can be confusing. In this report, we’ll take a detailed look at the top blogging tools and outline key considerations for selecting a platform.
A Technical Guide to Anonymous Blogging
If you have reason to be worried that what you’re posting could endanger your safety, the security measures outlined in this article will help you keep your identity a secret.
Easy Ways to Publish Your Own RSS Feeds
RSS feeds are a simple, inexpensive way to deliver news and announcements to your constituents and supporters, helping them stay active and involved in your cause. We’ll show you tools you can use to get started.
Thirteen Tips for Effective Tagging
A tag is a collaborative labeling system that allows you to categorize online content like Web pages, photos, and links. Learn why tagging is a valuable tool for your nonprofit — and how to choose tags effectively.

Network and Build Community

What Can Social Networking Do for Your Organization?
Social networking platforms like Flickr, Friendster, and MySpace give nonprofits a forum for meeting like-minded organizations and potential supporters, and provide a medium for spreading their messages beyond the immediate community.
Citizen Journalism Movement Gives More Power to the People
Is the mainstream media overlooking a story or an issue important to your cause? Rise up, nonprofits, through citizen journalism, a new form of reporting driven by people rather than large news agencies.
Interplast: Harnessing Technology to Help Heal
In addition to providing free reconstructive surgeries to children with disabilities and adults with no access to specialized care, Interplast works to educate local surgeons around the world through its international online forum. Learn how this Web site is empowering doctors and transforming patients’ lives.

Collaborate with Others

Exploring the World of Wikis
Wikis — collaborative Web sites that allow users to change the content of pages easily — can help your organization share information. Learn how wikis work, what wiki-creation software and services are out there, and whether a wiki makes sense for your nonprofit.
Eight Tools to Keep Your Team Connected
How do you coordinate a team of 20 volunteers providing support to 83 organizations in 14 countries — all from one location? Veteran eRider manager Teresa Crawford shares eight tried-and-true applications for keeping far-flung workers connected.
Wikispaces Plus Plan
The Wikispaces Plus Plan offers organizations a hosted wiki with 2-GB storage, unlimited users, edits, and messages. A $10 one-year subscription is available to qualifying nonprofits through TechSoup Stock.

Share Your Stories with the World

How to Record, Edit, and Promote a Podcast
Podcasts — digital audio files posted to the Web for anyone to download and listen to — are a useful, affordable way for nonprofits to expand their reach and further their missions. We’ll walk you through the process of creating and posting your own podcasts.
Digital Storytelling: A Tutorial in 10 Easy Steps
Learn more about the powerful medium of digital storytelling, which allows you to create narratives using images, video, and sound.
Witnessing the Power of Digital Video
Witness has helped human-rights groups use digital camcorders to document abuses in more than 60 countries around the globe. But the organization says that the era of video advocacy is just beginning.
Understanding Video-Sharing Sites’ Terms of Service
We scoured lengthy agreements of the most popular sites like YouTube and Google Video to help you figure out where to post your videos.
BAVC’s Interactive Learning Series
To learn more about this topic, nonprofits can purchase DVDs that cover Flash MX, digital storytelling, and video preservation techniques. All of the videos are available at a discount on TechSoup Stock.

Customize and Create Your Own Tools

Mashups: An Easy, Free Way to Create Custom Web Apps
Mashups are opening up new possibilities for nonprofits, allowing them to combine online data from multiple sources to create customized, interactive Web applications. Find out how.

World Wide Web Consortium(W3C)

The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web (abbreviated WWW or W3). It is arranged as a consortium where member organizations maintain full-time staff for the purpose of working together in the development of standards for the W3. As of February 2008, the W3C had 434 members.

W3C also engages in education and outreach, develops software and serves as an open forum for discussion about the Web. It was founded and is headed by Sir Tim Berners-Lee.


The World Wide Web Consortium (W3C) was founded by Tim Berners-Lee after he left the European Organization for Nuclear Research (CERN) in October, 1994. It was founded at the Massachusetts Institute of Technology Laboratory for Computer Science (MIT/LCS) with support from the DARPA — which had pioneered the Internet — and the European Commission.

W3C was created to ensure compatibility and agreement among industry members in the adoption of new standards. Prior to its creation, incompatible versions of HTML were offered by different vendors, increasing the potential for inconsistency between web pages. The consortium was created to get all those vendors to agree on a set of core principles and components which would be supported by everyone.

It was originally intended that CERN host the European branch of W3C; however, CERN wished to focus on particle physics, not information technology. In April 1995 the Institut national de recherche en informatique et en automatique (INRIA) became the European host of W3C, with Keio University becoming the Japanese branch in September 1996. Starting in 1997, W3C created regional offices around the world; as of October 2007 it has sixteen World Offices covering Australia, the Benelux countries (the Netherlands, Luxemburg, and Belgium), China, Finland, Germany and Austria, Greece, Hungary, India, Ireland, Israel, Italy, Japan, South Korea, Korea, Morocco, South Africa, Spain, Sweden, and the United Kingdom.

In January 2003, the European host was transferred from INRIA to the European Research Consortium for Informatics and Mathematics (ERCIM), an organization that represents European national computer science laboratories.

The Consortium is jointly administered by the MIT Computer Science and Artificial Intelligence Laboratory (CSAIL) in the USA, the European Research Consortium for Informatics and Mathematics (ERCIM) (in Sophia Antipolis, France), and Keio University (in Japan). The W3C also has World Offices in sixteen regions around the world. The W3C Offices work with their regional Web communities to promote W3C technologies in local languages, broaden W3C’s geographical base, and encourage international participation in W3C Activities.


W3C/IETF Standards (over Internet protocol suite):

W3C Sites is a collection of web sites created by designers that conform with the W3C standards. For more… W3C Sites.

Happy Friendship Day-2008

Hi Mates,

Have a very happy friendship day. I miss my all bosom friends. Best wishes for them.

History of Friendship Day:

The tradition of celebrating Friendship Day began in 1935 when the US Congress decided to dedicate a day in the honor of friends. Though it is not known exactly what were the reasons that went into the making of this day, the retrospection of the world scenario of those times can lead us to an understanding. With the devastating effects of the First World War still showing and increasing hostilities, mistrust and hatred between countries providing the perfect conditions for another imminent battle, there was a greater need for friendship and camaraderie not only among nations but also among individuals.

Little FriendsHence, the US Congress decided to designate the first Sunday of the month of August as Friendship Day and with a formal proclamation in 1935, officially declared the occasion a holiday dedicated in the honour of friends and friendship. Since then, celebration of National Friendship Day became an annual event. The lofty idea of honoring the beautiful relationship of friendship caught on with the people, particularly the youngsters all over the country, and in no time Friendship Day became a highly popular festival.

But the success of this wonderful occasion was not to be limited to the US alone. With time, several other countries followed suit in adopting the tradition of dedicating a day to the cause of friendship. The beautiful idea of having a day in the honor of friends was joyously taken over by several other countries across the world. With more and more nations joining in the celebrations, Friendship Day soon became International Friendship Day.

Today, Friendship Day is enthusiastically celebrated every year by many countries. The occasion is observed on the first Sunday of every August. The traditional celebrations include meeting with friends and exchanging of cards, flowers and gifts. Many social and cultural organizations also celebrate Friendship Day by hosting programs and get togethers. Special performances by rock bands are also organized in countries like the US to enhance the jubilations.

In 1997, the United Nations named Winnie – the Pooh, the famous cartoon character as the world’s Ambassador of Friendship.

It is interesting to note how some associations observe Friendship Day with different customs, by giving the festival different names and holding it in times unlike that of the actual festival.
For example, National Friendship Day is held on the first Sunday in August; Women’s Friendship Day is on the third Sunday in August; the third week of May is the Old Friends, New Friends Week and the whole of February is designated as the International Friendship Month.

These days, Friendship Day is celebrated with a lot of fanfare and great expenses. Just as in US and several other countries, the festival has been greatly commercialized.

Days before the festival, card and gift companies launch an extensive campaign to lure people into buying cards and gift items for their friends. Companies indulge in aggressive marketing to target youngsters, the main celebrators of festivals as these, and entice them into purchasing expensive articles for their pals. Restaurateurs too offer special discounts to make the most of the time. This marketing strategy has been severely criticized by many people and is a subject of debate every year. Many feel that such rampant commercialization has marred the very concept of Friendship Day and has turned it into a mere formality. Many on the other hand think that greater hype and hoopla around the occasion has helped to generate awareness about Friendship Day festival which was till recently a low-key affair (compared to occasions as “Mother’s Day” and “Father’s Day”) and thus promote friendship and brotherhood.

The popular customs of Friendship Day includes handing over roses, especially the pink and yellow ones. The day is observed with great exhilaration and merriment, with friends throwing parties, gorging on lip-smacking dishes and drinking hard (be it at home or at restaurants that offer special discounts for this occasion).

A highly popular thing associated with the day is the well-known Friendship Band – the modern day token of friendship that friends gift to one another to form an everlasting bond. Friendship bands are favorite items for youngsters and are available in stores all over the country. Girls go in for friendship bracelets instead of the conventional friendship wristbands. Friendship Poems and Friendship Day Gifts are exchanged between best friends to renew the bond of friendship and express gratitude and love for each other. These are new ways of celebration of this day that the GenX has invented.

Since its inception in 1935, Friendship Day and Friendship Day celebrations have come a long way. But however much the ways of celebration have changed, the basic idea behind the occasion remains the same. Friendship Day remains the time when you acknowledge your friends’ contribution in your life, express love for them, cherish their presence in your life and pay them a tribute.

Today, Friendship Day is being celebrated around the globe, across diverse cultures and social segments.

For more you can visit:


Get every new post delivered to your Inbox.