private bool CheckIllegalChars(string nametext)
{
char[] illegalChars = new char[] { '*', '|', ',', '\\', '\"', '<', '>', '[', ']', '{', '}', '`', '\'', ';',':', '(', ')', '@', '&', '$', '#', '%', '?', '^' };
int length = nametext.Length;
bool res = false;
if (nametext.IndexOfAny(illegalChars) > -1)
{
MessageBox.Show("The textbox cannot contain illegal characters");
res = true;
}
return res;
}
Wednesday, July 29, 2009
Checking for illegal characters in C#
Wednesday, June 3, 2009
Hottest Components of the .NET Framework
JQuery is a new JavaScript library that changes the way you write JavaScript today. JQuery simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. ASP.NET MVC Framework and JQuery are here to change the world of programming.
Tuesday, June 2, 2009
NetworkWorld sent by Mafaz
This NetworkWorld article was sent to you by sm2mafaz@gmail.com Windows 7 to ship Oct. 22Microsoft sets date, puts RTM in late July Windows 7 will be generally available on Oct. 22 and the code will be finalized and sent out to manufacturing in late July, according to Microsoft. Read the entire article athttp://www.networkworld.com/news/2009/060209-microsoft-windows-7-ship-date.html TOP STORIES | MOST DUGG STORIES
Network World on Twitter: Get our tweets and stay plugged in to networking news Copyright 2007 NetworkWorld, Inc. All rights reserved Monday, May 25, 2009Installing SQL Server 2008 Express Edition
I do not know how many people were resulted with the problem in getting SQl Server 2008 Express Edition (offered freely by Microsoft) installed. Several times i got problem with the authentication, even though i produced appropriate information. Anyway some how i got it installed. But unlike it's predecessor, the number of steps inorder to get it installed was high. Yet the installion interface was cool. Microsoft has required to get the following components installed beforehand:
as of 24th of May 2009... But I was shown with one more requirement during the installtion, which Microsoft has forgotten to mention in it's updated page for users who have installed Visual Studio 2008. You got to get the Visual Studio 2008 SP1 installed if you are to use the latest version of SQL Server 2008. Tuesday, May 5, 2009How To Determine If Your Computer Is Being Assigned The External IP AddressThis is a very interesting information I came across from www.whatismyip.com For Windows 2000, XP, and 2003 1. Click Start Tuesday, March 24, 2009TechRepublic Blogs: IBM + Sun: Why it could make senseLooks like IBM might look to buy the whole Sun cooperation in the foreseeable future. I found this recent post at TechRepublic Blogs: IBM + Sun: Why it could make sense Tuesday, January 27, 2009Modern Physicist: Stephen HawkingWhen i was recently watching the news on http://aljazeera.net/english live on air,there appeared a special program called "Rizkhan", which on that day introduced a very special person of the current day universe. Yes he was Stephen Hawking. I wouldn't have known him unless I saw him on that program. He was interviewed by the program presenter on the aftermath of the GAZA Holocaust earlier this year. He was one of the many people who strongly rejected the Israeli offensive. This man is a genious from Britain, who could be called the next Albert Einstein of the universe. The following is a short description about his life and mission: Stephen Hawking was born on the 300th anniversary of Galileo's death. He has come to be thought of as the greatest mind in physics since Albert Einstein. With similar interests -- discovering the deepest workings of the universe -- he has been able to communicate arcane matters not just to other physicists but to the general public. Hawking grew up outside London in an intellectual family. His father was a physician and specialist in tropical diseases; his mother was active in the Liberal Party. He was an awkward schoolboy, but knew from early on that he wanted to study science. He became increasingly skilled in mathematics and in 1958 he and some friends built a primitive computer that actually worked. In 1959 he won a scholarship to Oxford University, where his intellectual capabilities became more noticeable. In 1962 he got his degree with honors and went to Cambridge University to pursue a PhD in cosmology. There he became intrigued with black holes (first proposed by Robert Oppenheimer) and "space-time singularities," or events in which the laws of physics seem to break down. After receiving his PhD, he stayed at Cambridge, becoming known even in his 20s for his pioneering ideas and use of Einstein's formulas, as well as his questioning of older, established physicists. In 1968 he joined the staff of the Institute of Astronomy in Cambridge and began to apply the laws of thermodynamics to black holes by means of very complicated mathematics. He published the very technical book, Large Scale Structure of Space-Time but soon afterwards made a startling discovery. It had always been thought that nothing could escape a black hole; Hawking suggested that under certain conditions, a black hole could emit subatomic particles. That is now known as Hawking Radiation. He continued working on the theory of the origin of the universe, and in doing so found ways to link relativity (gravity) with quantum mechanics (the inner workings of atoms). This contributed enormously to what physicists call Grand Unified Theory, a way of explaining, in one equation, all physical matter in the universe. At the remarkably young age of 32, he was named a fellow of the Royal Society. He received the Albert Einstein Award, the most prestigious in theoretical physics. And in 1979, he was appointed Lucasian Professor of Mathematics at Cambridge, the same post held by Sir Isaac Newton 300 years earlier. There he began to question the big bang theory, which by then most had accepted. Perhaps, he suggested, there was never a start and would be no end, but just change -- a constant transition of one "universe" giving way to another through glitches in space-time. All the while, he was digging into exploding black holes, string theory, and the birth of black holes in our own galaxy. In 1988 Hawking wrote A Brief History of Time: From the Big Bang to Black Holes , explaining the evolution of his thinking about the cosmos for a general audience. It became a best-seller of long standing and established his reputation as an accessible genius. He wrote other popular articles and appeared in movies and television. He remains extremely busy, his work hardly slowed by Lou Gehrig's disease (amyotrophic lateral sclerosis, a disease that affects muscle control) for which he uses a wheelchair and speaks through a computer and voice synthesizer. "My goal is simple. It is complete understanding of the universe, why it is as it is and why it exists at all." Friday, January 23, 2009Abortion: waste of LifeAn open letter to the newly Elect US president. The original post can be found at: http://www.letters2president.org/letters/4139-abortion-waste-of-life Dear Mr. President, Abortion is murder-plain and simple. In an abortion individuals terminate their pregnancy killing the baby. A baby, no matter how young, has a heart; therefore. the doctors performing these procedures are stopping a heart from beating, a child from living, and a life from being lived. Abortion should only be performed in extreme cases as decided by a court, judge, or certified doctor. Nonetheless, some people are having abortion performed as birth control and it's not. Every year in America 1.37 million murders are committed. These murders all happen inside the womb. When doctors perform an abortion, they are killing a baby. The court systems give murderers 25 years to life, so why do we let the doctors get away without any consequences? Some believe the baby isn’t alive, but yet it has a heart; anything that has a beating heart is alive. There is absolutely no reason why some of these babies can’t be carried through full term and adopted. A life of adoption with loving parents and a nice home is better than no life at all. Abortion should not be a choice left up to the public. Only under very extreme circumstances should an abortion ever performed and abortion shouldNOT just be a choice that anyone gets to be able to make. What if some irresponsible teenagers or drug dealers are wasting lives getting abortions? Why do we let them if they are ruining their lives anyway? The only people who should get the choice are the women who will die if the baby is born due to a terminal illness or the women who will pass on a disease that no human should have to suffer. The women who fear for their health or lives, and the terminally ill pregnant women should also have the option to abort. This choice, however, should not be taken lightly and should be discussed and recommended by a doctor. Unfortunately, women are having abortions because they purely don’t want the baby. Abortion is not a birth control method. In fact, abortions have an excruciatingly painful list of side effects including impacted grieving, suicidal thoughts, anxiety, and self-destructive tendencies that no one who is sane should suffer through. If a woman really doesn’t want her baby, then she can ask for an emergency birth control pill. These pills don’t abort the baby; they stop the egg from being fertilized, meaning simply that no heart is stopped. Overall, the side effects of an abortion aren’t worth the loss of a life ,and there are other options. Thus, people need to think more about what they are doing. I realize abortions are a touchy subject to discuss, but someone has to do something. Mr. President, you should have health clinics that openly carry these emergency birth control pills and pass a law that only those in need of an abortion should get one. Without these alternative methods, like emergency birth control pills, that we keep inventing people will resort to “back alley” abortions and hurt themselves and the babies inside of them. Therefore, Mr. President, you have to do something about the 1.37 million American babies that are killed each year.
Sincerely, JD Microsoft SDKsOn this page you will find links to Microsoft Software Development Kits (SDKs), which provide documentation, code samples, tools, headers, libraries, and other files that developers can use to create software applications and libraries.http://msdn.microsoft.com/en-us/dd299405.aspx
Friday, January 9, 2009A satanic, genocidal Israel
Tuesday, January 6, 2009SOA gets an ObituaryBurton Group analyst Anne Thomas Manes has declared SOA dead but says that offshoots like mashups and cloud computing remain alive and wellBy Paul KrillJanuary 05, 2009 SOA is dead but services remain alive, according to a prominent analyst who published an obituary for SOA in a blog post on Monday. [ For more about SOA, check out David Linthicum's Real World SOA blog ] "SOA met its demise on January 1, 2009, when it was wiped out by the catastrophic impact of the economic recession. SOA is survived by its offspring: mashups, BPM, SaaS cloud computing, and all other architectural approaches that depend on 'services,'" Manes wrote. Instead of becoming a savior, SOA "instead turned into a great failed experiment -- at least for most organizations," Manes said. SOA failed to deliver on promised benefits and after the investment of millions, IT systems are not better than before. In some cases they are worse, with costs higher and projects taking longer, she said. Interviewed Monday afternoon, Manes said successful SOA implementations have resulted from major IT transformation efforts rather than just slapping a bunch of interfaces on applications. "Those companies have seen spectacular results from these efforts, but in those circumstances, SOA was part of something much bigger," Manes said. Companies need to become more in tune with what businesses require and understand what the problems are, she said. What is required is an examination of application architecture rather than project-by-project integration, Manes noted, but with the difficult economy, funding for SOA has dried up, she said. "All these guys intent on pursuing [an] SOA initiative, they're not going to have any money to do it because the business is not going to continue to fund it," Manes said. In conducting research, she found that the failure of SOA to deliver on initiatives has soured those holding the purse strings. Still, Manes does emphasize a continuing need for services, such as cloud services. She advised against using the acronym SOA, which has generated a backlash. Instead of people talking about architecture and services, they have focused on such matters as ESBs (enterprise service bus). "SOA has become a bad word. It must be removed from our vocabulary," she stressed in her blog. "The demise of SOA is tragic for the IT industry. Organizations desperately need to make architectural improvements to their application portfolios," she wrote. Service-orientation is a prerequisite for rapidly integrating data and business processes and enabling situational development models like mashups. It also is foundational for SaaS and cloud computing, Manes said. "Although the word 'SOA' is dead, the requirement for service-oriented architecture is stronger than ever," she said. Successful SOA requires disrupting the status quo and redesigning the application portfolio as well as a shift in how IT operates, said Manes. She cited Bechtel as a company that has had success with services but does not even use the term "SOA." Two vendors prominent in SOA, HP and IBM, could not be immediately reached Monday to comment on Manes's blog.
Subscribe to:
Posts (Atom)
|