Beyond Web Logs

Discuss technology, web development, networks and more ...

Recent posts

Tags

First time here? At BeyondWebLogs we discuss technology, web development, personal development, networks and more. You can subscribe to the RSS feed so that you keep up to date with the latest content. Now, on with the regular content...

Speed Up Visual Studio 2005

  • Make sure Visual Studio 2005 SP1 is installed.
  • Turn off animation.
    Go to Tools | Options | Environment and uncheck Animate environment tools.
  • Disable Navigation Bar.
    If you are using ReSharper, you don't need VS2005 to update the list of methods and fields at the top of the file (CTRL-F12 does this nicely). Go to Tools | Options | Text Editor | C# and uncheck Navigation bar.
  • Turn off Track Changes.
    Go to Tools | Options | Text Editor and uncheck Track changes. This will reduce overhead and speeds up IDE response.
  • Turn off Track Active item.
    This will turn off jumping in the explorer whenever you select different files in different projects. Go to Tools | Options | Projects and Solutions and uncheck Track Active Item in Solution Explorer. This will ensure that if you are moving across files in different projects, left pane will still be steady instead of jumping around.
  • Turn off AutoToolboxPopulate.
    There is an option in VS 2005 that will cause VS to automatically populate the toolbox with any controls you compile as part of your solution. This is a useful feature when developing controls since it updates them when you build, but it can cause VS to end up taking a long time in some circumstances. To disable this option, select the Tools | Options | Windows Forms Designer and then set AutoToolboxPopulate to False.

Currently rated 4.5 by 2 people

  • Currently 4.5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: How To
Posted by Waqas on Wednesday, October 31, 2007 6:55 PM
Permalink | Comments (0) | Post RSSRSS comment feed

How to easily refresh an Update Panel using javascript

 Very nice tip to easily refresh an Update Panel using javascript

http://encosia.com/2007/07/13/easily-refresh-an-updatepanel-using-javascript/

enjoY! 

 

Currently rated 4.0 by 2 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: ASP.NET
Posted by Waqas on Tuesday, October 30, 2007 6:50 AM
Permalink | Comments (0) | Post RSSRSS comment feed

Making Payments Form for PayPal

How it Works

PayPal makes doing this very easy by providing those “Buy-It-Now” buttons you’ve probably seen around the place. Basically when you see one of those buttons, it is really the submit button on an HTML form with all the form fields set to hidden. This is fine for when you have a set price and set item, but in our situation we want the client to be able to fill out what it is they are paying for (e.g. an invoice number) and also to set how much they are paying.

This is easily done by changing the <input> fields from hidden to text and stripping away the defaults so that the user can fill them in. So let’s get started.

Step 1 - Make a Payment Confirmation Page

First of all you should make a page to send the user to after payment has been processed. On this page you should be placing a simple confirmation message so that your client doesn’t feel like they just sent money off into the ether. Next upload the confirmation page so it’s accessible over the web and you have a URL for it.

Step 2 - Create the Form

Next we create the form. When I first made this form I used the Buy-It-Now button form generator on PayPal and then modified accordingly, but you can just use the code below and make the changes I’ve described further on:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="payPalForm">
<input type="hidden" name="item_number" value="01 - General Payment to BeyondWebLogs.com">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="business" value="accounts@beyondweblogs.com">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="return" value="http://beyondweblogs.com/payment-complete/">Item Details:<br />
<input name="item_name" type="text" id="item_name"  size="45"><br /><br />Amount: <br />
<input name="amount" type="text" id="amount" size="45"><br /><br />
<input type="submit" name="Submit" value="Submit">
</form>

The parts that need modification are as follows:

Item Number
The item number field is this one:

<input type="hidden" name="item_number" value="01 - General Payment to BeyondWebLogs.com">

The value you place in this field appears when the user goes to PayPal and clicks the down arrow for more details on their purchase.

Business
The business field is this one:

<input type="hidden" name="business" value="accounts@beyondweblogs.com">

This is the most important field to modify as it is the one that determines where your customer is paying to. You need to substitute in your PayPal email address.

Currency Code
The currency code value in this example form is set to USD, you could change this to your own currency. If you want a list of the different currencies available through PayPal you should log in to your account, click on Merchant Tools then click on Buy Now Buttons and in the form there is a drop down box which lists them.

Return URL
The return URL (or payment confirmation page) is set by this field:

<input type="hidden" name="return" value="http://beyondweblogs.com/payment-complete/">

Simply swap in the URL you created in Step 1.

Item Name
The item_name field is the one where your user describes what they are paying for. Note that if this were a Buy-Now button form, then the item_name would be a Hidden field with a default value, but we’ve changed it to a text field so the user can decide what they are paying for.

Amount
The amount field is pretty self explanatory. The only thing to note is that if the user types anything other than a number in here PayPal will return an error, so you might want to use some Javascript to do validation on this field and ensure it’s a number - though that’s not necessary. The main problem is your users might be tempted to write in a dollar sign - e.g. “$450″ which results in an error. Another solution would be to write a $ sign before the form field.

Step 3 - Test!

Yep! that’s it.

Currently rated 4.0 by 2 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:
Categories: Tips n Tricks
Posted by Waqas on Wednesday, October 24, 2007 7:00 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Dell XPS Series notebook

Intel Core 2 Duo


Performance to the Max

Feed your need for speed with Extreme Edition CPU for notebooks. Overclock the M1730 up to 3.4 GHz with the Intel Core 2 Duo Extreme Edition X7900.15


Windows Vista® 

Take control of your PC with Microsoft’s latest operating system. Enjoy enhanced organization, search features and network controls and use the new built-in Media Center to manage your digital photos, videos and music.
Windows Vista Home Premium
XPS M1730 Notebooks



Head-Turning Design

The M1730 is designed to inspire shock and awe with:
  • 16-color, RGB LightFXTM  in the front speaker grill
  • Illuminated tail lights
  • An illuminated Dell badge
  • Customizable touchpad back-lightning
  • Aggressive lines and a high-tech hydrographic pattern
  • Multiple color options, including Sapphire Blue, Smoke Grey, Crimson Red and Bone White


Extreme Mobility

With a comprehensive array of mobile features your M1730 is designed for gaming on the go. Take advantage of ultimate wireless connectivity with options including:
  • Long-ranging wireless connectivity via internal mobile broadband16
  • Bluetooth®  peripherals
  • Dell's exclusive Wi-Fi CatcherTM  to find available hotspots even when you’re powered down
  • Support for next-generation Wireless-N technology offering up to 5x faster connection speeds of 802.11g networks17
XPS M1730 Notebook
XPS M1730 Notebook


Hi-Def to Go

The M1730 also offers other top of-the line entertainment options including:
  • Full HD mobile movie viewing with optional Blu-ray Disc technology.
  • Dell MediaDirect for quick and easy access to your music and video files without booting your PC
  • Dual headphone jacks so you can share the experience
  • An express card travel remote control for added convenience
  • An optional TV tuner for TV capability on your PC

Currently rated 3.0 by 2 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: General
Posted by Naveed on Sunday, October 21, 2007 8:54 AM
Permalink | Comments (0) | Post RSSRSS comment feed

The Age of Software-Powered Communications

Letter from Chairman Microsoft. 

If you've been in the work force for 20 years or more, you can remember a time when the pace of business-and life in general-was quite a bit slower than it is today. Back then we read newspapers and magazines and watched the network news to stay informed. Faxes were just becoming a common way to share written business information. A phone call might elicit a busy signal or no one would answer at all. In those days, no one expected to send documents to coworkers on the other side of the globe instantly, collaborate in real-time with colleagues in distant cities, or share photographs the very day they were taken.

These and similar advances have delivered remarkable results. The ability to access and share information instantly and communicate in ways that transcend the boundaries of time and distance has given rise to an era of unprecedented productivity and innovation that has created new economic opportunities for hundreds of millions of people around the world and paved the way for global economic growth that is unparalleled in human history.

But few people would argue that there is no room for improvement. Although we have once-unimaginable access to people and information, we struggle today to keep track of emails and phone calls across multiple inboxes, devices, and phone numbers; to remember a growing number of passwords; and to synchronize contacts, appointments, and data between desktop PCs and mobile devices. The fact is that the proliferation of communications options has become a burden that often makes it more difficult to reach people than it used to be, rather than easier.

In 2006, I wrote about how unified communications innovations were already beginning to transform the way we communicate at work. Because you are a subscriber to executive emails from Microsoft, I want to provide you with an update on the progress we're making toward achieving our vision for unified communications. I also want to share my thoughts on how rapid advances in hardware, networks, and the software that powers them are laying the foundation for groundbreaking innovations in communications technology. These innovations will revolutionize the way we share information and experiences with the people who are important to us at work and at home, and help make it possible to put the power of digital technology in the hands of billions of people around the globe who have yet to reap the benefits of the knowledge economy.

Moving Beyond Disconnected Communications

A fundamental reason that communicating is still so complex is the fact that the way we communicate is still bound by devices. In the office, we use a work phone with one number. Then we ask people to call us back on a mobile device using another number when we are on the go, or reach us on our home phone with yet another number. And we have different identities and passwords for our work and home email accounts, and for instant messaging.

This will change in the very near future. As more and more of our communications and entertainment is transmitted over the Internet thanks to email, instant messaging, video conferencing, and the emergence of Voice over Internet Protocol (VoIP), Internet Protocol Television (IPTV), and other protocols, a new wave of software-driven innovations will eliminate the boundaries between the various modes of communications we use throughout the day. Soon, you'll have a single identity that spans all of the ways people can reach you, and you'll be able to move a conversation seamlessly between voice, text, and video and from one device to another as your location and information sharing needs change. You'll also have more control over how you can be reached and by whom: when you are busy, the software on the device at hand will know whether you can be interrupted, based on what you are doing and who is trying to reach you.

One of the best examples of how communication is changing-and how technology is integrating the way people share experiences across devices-starts in the world of video games. With Xbox Live, the online gaming and entertainment network for Xbox 360, people can play games with friends who are in distant locations. Xbox Live also provides a comprehensive range of communications options including video chat and instant messaging, as well as text, voice, and picture messaging, all seamlessly integrated into the video game experience. With more than 7 million subscribers, Xbox Live is quickly redefining the way people access entertainment of all kinds. And it is enabling them to share experiences with each other in real time without being constrained by the limits of location.

But that's just the start. We recently launched Games for Windows - Live, which links Xbox 360 gamers with the millions of people who play games on their PCs. Now, Windows and Xbox 360 video game players can compete and communicate with each other without being constrained by the limits of devices.

The communications expectations that young people-and anybody else who has adopted the latest digital communications tools-bring to the workplace are already changing how we do business. To them, the desk phone is an anachronism that lacks the flexibility and range of capabilities that their mobile device can provide. A generation that grew up on text messaging is driving the rapid adoption of instant messaging as a standard business communications tool. Accustomed to forming ad hoc virtual communities, they want tools that facilitate the creation of virtual workgroups. Used to collecting and storing information online, they look for team Web sites, Wikis, and other digital ways to create and share information.

All of these expectations are prompting companies to adapt by implementing new communications strategies and technologies. Those that do are already seeing a wide range of benefits including significant cost savings and important productivity gains. At Microsoft, for example, we replaced our old voice mail system with Exchange Server 2007 unified messaging, a move that is saving the company $5 million annually by lowering hardware and maintenance costs. More importantly, Exchange Server 2007 provides a software solution that enables integration of traditional telephone infrastructure and VoIP with corporate messaging, calendaring, and directories. This convergence of telephony and messaging increases employee productivity and decreases the administrative workload for IT professionals.

The Next Wave of Communications Technologies

Today in San Francisco, Microsoft is launching the next wave of enterprise VoIP and unified communications products for business. Among the products we'll launch are Microsoft Office Communications Server 2007 and Microsoft Office Communicator 2007, which bring together a broad range of communications options including voice, instant messaging, and video into a single, consistent experience. Office Communications Server 2007 and Office Communicator make it easier for employees to communicate and collaborate with each other in real-time by letting them see at a glance if the people they want to contact are available. They will also be able to initiate a conversation by email, voice, video, or instant messaging from within Microsoft Office system applications, making communication and collaboration an integral part of day-to-day work processes, rather than an interruption. In addition, when they use the new version of Office Communicator Mobile that is launching today, they will be able to stay connected using Windows Mobile-powered devices.

We're also announcing the availability of Microsoft RoundTable, an advanced video and VoIP conferencing device that provides a 360-degree view of a meeting room, along with wideband audio and video that tracks the flow of conversation between multiple speakers. With RoundTable and Office Live Meeting or Office Communications Server, meeting participants in different locations will be able to converse and share information as if they were in the same room. RoundTable also enables companies to record meetings for later use.

All of these products are important steps toward achieving our long-term vision for streamlined, integrated communications that will enable people to be more productive, more creative, and to stay in touch more easily without being limited by the device they have at hand or the network they are connected to.

A Foundation for Future Innovation

It would be hard to overstate the magnitude of the changes that are coming. Standardized, software-powered communications technologies will be the catalyst for the convergence of voice, video, text, applications, information, and transactions, making it possible to create a seamless communications continuum that extends across people's work and home lives. This will provide the foundation for new products, services, and capabilities that will change the world in profound and often unexpected ways.

This will happen not only in developed countries where access to digital technology is the norm, but also in emerging economies around the world. Currently, about 1 billion of us have a PC, just a fraction of the world's 6 billion people. As we make technology more accessible and simpler to use-often in the form of affordable mobile devices-we can extend new social and economic opportunities to hundreds of millions of people who have never been able to participate in the global knowledge economy. And as more and more of the world's people are empowered to use their ideas, talents, and hard work to the fullest, the results will be new innovations that make everyone's lives richer, more productive, and more fulfilling.

Bill Gates
Chairman, Microsoft

Currently rated 3.0 by 1 people

  • Currently 3/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: General
Posted by Naveed on Thursday, October 18, 2007 1:44 PM
Permalink | Comments (0) | Post RSSRSS comment feed

7 Common mistakes usually we make in prayers

ASSALAM-O-ALAIKUM

Listed below are the 7 Common mistakes usually we make in prayers

Mistake 1: Reciting Surat al-Fatiha fast without pausing after each verse.

The Prophet (SAW) used to pause after each verse of this surah. (Abu Dawood)

Mistake 2: Sticking the arms to the sides of the body, in rukoo' or sujood, and sticking the belly to the thighs in sujood.

The Messenger of Allah (SAW) said: 'Let not one of you support himself on his forearms (in sujood) like the dog. Let him rest on his palms and keep his elbows away from his body.' (Sahih Muslim) . The Messenger of Allah (SAW) used to keep his arms away from his body during rukoo' and sujood that the whiteness of his armpits could be seen (Sahih Muslim).


Mistake 3: Gazing upward during prayer.

This may cause loss of concentration. We are commanded to lower our gaze, and look at the point at which the head rests during sujood. The Prophet (SAW) warned: 'Let those who raise their gaze up during prayer stop doing so, or else their sights would not return to them. i.e. lose their eyesight].' (Muslim)

Mistake 4 : Resting only the tip of the head on the floor during sujood.

The Prophet (SAW) said: 'I am commanded to prostrate on seven bones the forehead and the nose, the two hands [palms], the two knees, and the two feet.' (Sahih Muslim) Applying the above command necessitates resting the forehead and the nose on the ground during sujood.

Mistake 5 : Hasty performance of prayer which does not allow repose and calmness in rukoo' or sujood.

The Messenger of Allah (SAW) saw a man who did not complete his rukoo' [bowing], and made a very short sujood [prostration] ; he (SAW) said: 'If this man dies while praying in this manner, he would die upholding a religion other than the religion of Muhammad.' Abu Hurairah (RA) said:

'My beloved friend, Muhammad (SAW) forbade me to perform postures of prayer copying the picking of a rooster; (signifying fast performance of prayer), moving eyes around like a fox and the sitting like monkeys ( i.e. to sit on thighs).' (Imam Ahmad & at-Tayalisi) The Messenger of Allah (SAW) said: ' The worst thief is the one who steals from his own prayer.' People asked, 'Messenger of Allah! How could one steal from his own prayer?' He (SAW) said: 'By not completing its rukoo' and sujood.' (At Tabarani & al-Hakim).

To complete rukoo' is to stay in that posture long enough to recite 'Subhana rabbiyal Adtheem' three times, SLOWLY, and 'Subhana rabbiyal-a'ala' three times, SLOWLY, in sujood. He (SAW) also announced: 'He who does not complete his rukoo' and sujood, his prayer is void.' (Abu Dawood & others)

Mistake 6 : Counting tasbeeh with the left hand


The Prophet (SAW) used to count tasbeeh on the fingers of his right hand after salah. Ibn Qudamah (RA) said: ' The Messenger of Allah (SAW) used his right hand for tasbeeh.' (Abu Dawood). The above hadeeth indicates clearly that the Prophet (SAW) used only one hand for counting tasbeeh. No Muslim with sound mind would imagine that the Prophet (SAW) used his left hand for counting tasbeeh. Aa'ishah (RA) said that the Prophet (SAW) used his left hand only for Istinjaa', or cleaning himself after responding to the call of nature. He never used it for tasbeeh. Yasirah (RA) reported: The Prophet (SAW) commanded women to count tasbeeh on their fingers.

The Messenger of Allah (SAW) said: 'They (the fingers) will be made to speak, and will be questioned (on the Day of Resurrection. )' (At-Tirmidhi) .. The above Hadeeth indicates that it is preferable to count tasbeeh on the fingers of the right hand than to do so on masbahah (rosary).

Mistake 7 : Crossing in front of a praying person.

The Messenger of Allah (SAW) warned: 'Were the one who crosses in front of a praying person to know the consequences of doing so, he would have waited for *forty better than to cross in front of him.' (Sahih Bukhari and Muslim). *The forty in the tradition may be days months or even years. Allah knows best.
Common Errors in Prayer That MUST Be Avoided - Please inform your near and dear ones to take care of the above.

Remember Muslim Ummah in your supplications

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: Religion
Posted by Waqas on Sunday, October 14, 2007 10:41 PM
Permalink | Comments (0) | Post RSSRSS comment feed

WebPart issue in Sharepoint

How to get rid of that stupid offending webpart in a Sharepoint page that you should never put there in the first place ?

Here is how. Go to -

http://<mosssite>/_layouts/spcontnt.aspx?&url=<insertRelativeUrlHere>

And bingo, you have a webpage that lets you delete out that offending webpart, both for shared and private views.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Categories: SharePoint
Posted by Waqas on Sunday, October 14, 2007 6:40 AM
Permalink | Comments (0) | Post RSSRSS comment feed