VB.NET accept only characters
Public Function ValidChars(ByRef myEmail As String) As Boolean
Dim isValidE As Boolean = False
If myEmail <> String.Empty Then
If (System.Text.RegularExpressions.Regex.IsMatch(myEmail, "[A-Za-z]", RegexOptions.IgnoreCase)) Then
isValidE = True
End If
End If
Return isValidE
End Function
Private Sub txtCILastName_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles txtCILastName.Validating
If ValidChars(txtCILastName.Text) Then
Else
MessageBox.Show("Invalid Character.", "Character Validator", MessageBoxButtons.OK, MessageBoxIcon.Warning)
txtCILastName.Focus()
End If
End Sub
javascript:void(0)
The Truth about Sarah Palin
Sarah Palin and her handlers are attempting to create a mythic reality about who she is, what she has accomplished, and what she stands for. The facts speak for themselves. Here they are:
1. CHOICE
Sarah Palin is vehemently anti-choice, even in cases of rape or incest. That's right, ANTI-CHOICE not pro-life. We are all pro-life. Sarah Palin, though, doesn't think that we're able to make our own decisions about our bodies so she has to make them for us. Kind of like she's making the choice for her 17 year-old daughter. Who knows what that CHILD really wants? It obviously doesn't matter to Sarah Palin.
2. ENVIRONMENT
Sarah Palin doesn't believe in global warming or climate change or that we, as gas-guzzling humans, have played a large part in it. She is not interested in alternative energy choices. She's interested in drilling in the Alaska National Wildlife Refuge. She sued the US Government for listing the Polar Bear as endangered and opposed protections for salmon from contamination from mining. In 2006, she questioned a cruise ship law requiring environmental monitoring.
Sarah Palin is committed to big oil. Part of her first statewide campaign was paid for by Veco and her 2007 Inauguration was sponsored by Beyond Petroleum Exploration, Inc.
3. ETHICS
The union representing State Trooper Mike Wooten just filed an ethics complaint aganst Sarah Palin charging a breach of confidential personnel and worker's compensation files. This complaint stems from accusations that she dismissed the state's top law enforcement official because he refused to fire a state trooper who was in a custody battle with her sister.
Sarah Palin is listed on the 2003 incorporation papers of the "Ted Stevens Excellence in Public Service, Inc.," a 527 group that raises unlimited funds from corporate donors. Senator Stevens was just indicted on seven counts of corruption.
Sarah Palin recently claimed that she turned down federal funding for the Bridge to Nowhere. However, in her 2006 campaign for governor she was an enthusiastic supporter of the project saying that Alaska should take advantage of earmarks "while our congressional delegation is in a strong position to assist."
Sarah Palin supported Pat Buchanan, a Nazi sympathizer, for President in 2000. Not only is he viciously anti-Israel, he has also praised Hitler for his great courage and has denounced bringing former Nazi soldiers to justice.
4. EDUCATION
Sarah Palin believes that creationism should be taught alongside evolution in the public schools. "Teach both," she says. "Don't be afraid of information."
5. CIVIL RIGHTS
Sarah Palin supported Alaska's decision to amend its Constitution to ban same-sex marriage and would support a ballot question to deny benefits to homosexual couples.
6. GUN CONTROL
"I am a lifetime member of the NRA and I support our Constitutional right to bear arms." In 2004 in the U.S., 1804 children and teenagers were murdered in gun homicides, 846 committed suicide with guns and 143 died in unintentional shootings.
7. FREEDOM OF THE PRESS
According to the McCain campaign, Sarah Palin will not take questions from the media. The public will learn all they need to know from her scripted speeches and choreographed appearances on the campaign trail and in campaign ads.
8. FREE SPEECH
Sarah Palin attempted to have books banned at the Wasilla Public Library. When the librarian refused she tried to have her fired.
9. FAMILY VALUES
Sarah Palin opposes funding sex education programs in Alaska. Maybe if she had done a better job of sex education at home, her 17 year-old daughter wouldn't be pregnant. If she cares so much about family, why would she expose her children to the type of media scrutiny this kind of campaign entails. Is telling her daughter to have a baby and marry at seventeen the message that we want sent to our daughters? And, how does she reconcile her encouragement of teen mothers with her 20% slashing this year of a state program which helps them find a place to live?
10. WAR
Sarah Palin believes that the Iraq war is a task "from G-d."
11. STEM CELL RESEARCH
Sarah Palin wants to ban stem cell research. Apparently, she must feel that it's better for people to suffer miserably than to possibly be offered a chance for a cure.
12. EXPERIENCE
Governor of Alaska for 20 months
Population: less than 700,000
Alaska has no income or sales tax, few manufacturing jobs, and few illegal immigrants. Its economy is based on natural resources. Managing Alaska's economy and budget is different than in other states because of its $36 billion Permanent Fund which makes it look more like Abu Dhabi.
Mayor of Wasilla, Alaska
Population: under 10,000
Size: 12 square miles
About Sarah Palin: an e-mail from Wasilla
A suburban Anchorage homemaker and activist — who once did battle with the Alaska governor when Palin was mayor — recounts what she knows of Palin's history.
By Anne Kilkenny
Editor's note: The writer is a homemaker and education advocate in Wasilla, Alaska. Late last week, Anne Kilkenny penned an e-mail for her friends about vice presidential candidate Sarah Palin, whom she personally knows, that has since circulated across comment forums and blogs nationwide. Here is her e-mail in its entirety, posted with her permission.
I am a resident of Wasilla, Alaska. I have known Gov. Sarah Palin since 1992. Everyone here knows Sarah, so it is nothing special to say we are on a first-name basis. Our children have attended the same schools. Her father was my child's favorite substitute teacher. I also am on a first-name basis with her parents and mother-in-law. I attended more City Council meetings during her administration than about 99 percent of the residents of the city.
She is enormously popular; in every way she's like the most popular girl in middle school. Even men who think she is a poor choice for vice president and won't vote for her can't quit smiling when talking about her because she is a "babe."
It is astonishing and almost scary how well she can keep a secret. She kept her most recent pregnancy a secret from her children and parents for seven months.
She is "pro-life." She recently gave birth to a Down's syndrome baby. There is no cover-up involved here; Trig is her baby.
She is energetic and hardworking. She regularly worked out at the gym.
She is savvy. She doesn't take positions; she just "puts things out there" and if they prove to be popular, then she takes credit.
Her husband works a union job on the North Slope for BP and is a champion snowmobile racer. Todd Palin's kind of job is highly sought-after because of the schedule and high pay. He arranges his work schedule so he can fish for salmon in Bristol Bay for a month or so in summer, but by no stretch of the imagination is fishing their major source of income. Nor has her lifestyle ever been anything like that of native Alaskans.
Sarah and her whole family are avid hunters.
She's smart.
Her experience is as mayor of a city with a population of about 5,000 (at the time) and less than two years as governor of a state with about 670,000 residents.
During her mayoral administration, most of the actual work of running this small city was turned over to an administrator. She had been pushed to hire this administrator by party power-brokers after she had gotten herself into some trouble over precipitous firings, which had given rise to a recall campaign.
Sarah campaigned in Wasilla as a "fiscal conservative." During her six years as mayor, she increased general government expenditures by more than 33 percent. During those same six years, the amount of taxes collected by the city increased by 38 percent. This was during a period of low inflation (1996-2002). She reduced progressive property taxes and increased a regressive sales tax, which taxed even food. The tax cuts that she promoted benefitted large corporate property owners way more than they benefited residents.
The huge increases in tax revenue during her mayoral administration weren't enough to fund everything on her wish list, though — borrowed money was needed, too. She inherited a city with zero debt but left it with indebtedness of more than $22 million. What did Mayor Palin encourage the voters to borrow money for? Was it the infrastructure that she said she supported? The sewage treatment plant that the city lacked? Or a new library? No. $1 million for a park. $15 million-plus for construction of a multi-use sports complex, which she rushed through, on a piece of property that the city didn't even have clear title to. That was still in litigation seven years later — to the delight of the lawyers involved! The sports complex itself is a nice addition to the community but a huge money pit, not the profit-generator she claimed it would be. She also supported bonds for $5.5 million for road projects that could have been done in five to seven years without any borrowing.
While Mayor, City Hall was extensively remodeled and her office redecorated more than once.
These are small numbers, but Wasilla is a very small city.
As an oil producer, the high price of oil has created a budget surplus in Alaska. Rather than invest this surplus in technology that will make us energy independent and increase efficiency, as governor Sarah proposed distribution of this surplus to every individual in the state.
In this time of record state revenues and budget surpluses, she recommended that the state borrow/bond for road projects, even while she proposed distribution of surplus state revenue: Spend today's surplus, borrow for needs.
She's not very tolerant of divergent opinions or open to outside ideas or compromise. As mayor, she fought ideas that weren't generated by her or her staff. Ideas weren't evaluated on their merits but on the basis of who proposed them.
While Sarah was mayor of Wasilla, she tried to fire our highly respected city librarian because the librarian refused to consider removing from the library some books that Sarah wanted removed. City residents rallied to the defense of the city librarian and against Palin's attempt at out-and-out censorship, so Palin backed down and withdrew her termination letter. People who fought her attempt to oust the librarian are on her enemies list to this day.
Sarah complained about the "old boy's club" when she first ran for mayor, so what did she bring Wasilla? A new set of "old boys." Palin fired most of the experienced staff she inherited. At the city and as governor, she hired or elevated new, inexperienced, obscure people, creating a staff totally dependent on her for their jobs and eternally grateful and fiercely loyal — loyal to the point of abusing their power to further her personal agenda, as she has acknowledged happened in the case of pressuring the state's top cop.
As mayor, Sarah fired Wasilla's police chief because he "intimidated" her, she told the press. As governor, her recent firing of Alaska's top cop has the ring of familiarity about it. He served at her pleasure and she had every legal right to fire him, but it's pretty clear that an important factor in her decision to fire him was because he wouldn't fire her sister's ex-husband, a state trooper. Under investigation for abuse of power, she has had to admit that more than two dozen contacts were made between her staff and family to the person that she later fired, pressuring him to fire her ex-brother-in-law. She tried to replace the man she fired with a man who she knew had been reprimanded for sexual harassment; when this caused a public furor, she withdrew her support.
She has bitten the hand of every person who extended theirs to her in help. The City Council person who personally escorted her around town, introducing her to voters when she first ran for Wasilla City Council became one of her first targets when she was later elected mayor. She abruptly fired her loyal city administrator; even people who didn't like the guy were stunned by this ruthlessness.
Fear of retribution has kept all of these people from saying anything publicly about her.
When then-Gov. Frank Murkowski was handing out political plums, Sarah got the best, chair of the Alaska Oil and Gas Conservation Commission — one of the few jobs not in Juneau and one of the best paid. She had no background in oil and gas issues. Within months of scoring this great job, which paid $122,400 a year, she was complaining in the press about the high salary. I was told that she hated that job: the commute, the structured hours, the work. Sarah became aware that a member of this commission (who was also the state chair of the Republican Party) engaged in unethical behavior on the job. In a gutsy move which some undoubtedly cautioned her could be political suicide, Sarah solved all her problems in one fell swoop: got out of the job she hated and garnered gobs of media attention as the patron saint of ethics and as a gutsy fighter against the "old boys' club," when she dramatically quit, exposing this man's ethics violations (for which he was fined).
As mayor, she had her hand stuck out as far as anyone for pork from Sen. Ted Stevens. Lately, she has castigated his pork-barrel politics and publicly humiliated him. She only opposed the "bridge to nowhere" after it became clear that it would be unwise not to.
As governor, she gave the Legislature no direction and budget guidelines, then made a big grandstand display of line-item vetoing projects, calling them pork. Public outcry and further legislative action restored most of these projects — which had been vetoed simply because she was not aware of their importance — but with the unobservant she had gained a reputation as "anti-pork."
She is solidly Republican: no political maverick. The state party leaders hate her because she has bit them in the back and humiliated them. Other members of the party object to her self-description as a fiscal conservative.
Around Wasilla, there are people who went to high school with Sarah. They call her "Sarah Barracuda" because of her unbridled ambition and predatory ruthlessness. Before she became so powerful, very ugly stories circulated around town about shenanigans she pulled to be made point guard on the high school basketball team. When Sarah's mother-in-law, a highly respected member of the community and experienced manager, ran for mayor, Sarah refused to endorse her.
As governor, she stepped outside of the box and put together of package of legislation known as "AGIA" that forced the oil companies to march to the beat of her drum.
Like most Alaskans, she favors drilling in the Arctic National Wildlife Refuge (ANWR). She has questioned if the loss of sea ice is linked to global warming. She campaigned "as a private citizen" against a state initiaitive that would have either protected salmon streams from pollution from mines or tied up in the courts all mining in the state (depending on whom you listen to). She has pushed the state's lawsuit against the Department of the Interior's decision to list polar bears as a threatened species.
McCain is the oldest person to ever run for president; Sarah will be a heartbeat away from being president.
There has to be literally millions of Americans who are more knowledgeable and experienced than she.
However, there are a lot of people who have underestimated her and are regretting it.
Claim vs. Fact
"Hockey mom": True for a few years
"PTA mom": True years ago when her first-born was in elementary school, not since
"NRA supporter": Absolutely true
Social conservative: mixed. Opposes gay marriage, but vetoed a bill that would have denied benefits to employees in same-sex relationships (said she did this because it was unconsitutional).
Pro-creationism: Mixed. Supports it, but did nothing as governor to promote it.
"Pro-life": Mixed. Knowingly gave birth to a Down's syndrome baby but declined to call a special legislative session on some pro-life legislation.
"Experienced": Some high schools have more students than Wasilla has residents. Many cities have more residents than the state of Alaska. No legislative experience other than City Council. Little hands-on supervisory or managerial experience; needed help of a city administrator to run town of about 5,000.
Political maverick: Not at all.
Gutsy: Absolutely!
Open and transparent: ??? Good at keeping secrets. Not good at explaining actions.
Has a developed philosophy of public policy: No.
"A Greenie": No. Turned Wasilla into a wasteland of big box stores and disconnected parking lots. Is pro-drilling off-shore and in ANWR.
Fiscal conservative: Not by my definition!
Pro-infrastructure: No. Promoted a sports complex and park in a city without a sewage treatment plant or storm drainage system. Built streets to early 20th century standards.
Pro-tax relief: Lowered taxes for businesses, increased tax burden on residents
Pro-small government: No. Oversaw greatest expansion of city government in Wasilla's history.
Pro-labor/pro-union: No. Just because her husband works union doesn't make her pro-labor. I have seen nothing to support any claim that she is pro-labor/pro-union.
Why am I writing this?
First, I have long believed in the importance of being an informed voter. I am a voter registrar. For 10 years I put on student voting programs in the schools. If you google my name, you will find references to my participation in local government, education, and PTA/parent organizations.
Secondly, I've always operated in the belief that "bad things happen when good people stay silent." Few people know as much as I do because few have gone to as many City Council meetings.
Third, I am just a housewife. I don't have a job she can bump me out of. I don't belong to any organization that she can hurt. But I am no fool; she is immensely popular here, and it is likely that this will cost me somehow in the future: that's life.
Fourth, she has hated me since back in 1996, when I was one of the 100 or so people who rallied to support the city librarian against Sarah's attempt at censorship.
Fifth, I looked around and realized that everybody else was afraid to say anything because they were somehow vulnerable.
Caveats: I am not a statistician. I developed the numbers for the increase in spending and taxation two years ago (when Palin was running for governor) from information supplied to me by the finance director of the City of Wasilla, and I can't recall exactly what I adjusted for: Did I adjust for inflation? For population increases? Right now, it is impossible for a private person to get any info out of City Hall — they are swamped. So I can't verify my numbers.
You may have noticed that there are various numbers circulating for the population of Wasilla, ranging from my "about 5,000" up to 9,000. The day Palin's selection was announced, a city official told me that the current population is about 7,000. The official 2000 census count was 5,460. I have used about 5,000 because Palin was Mayor from 1996 to 2002, and the city was growing rapidly in the mid-1990s.
Why do you think teenagers are becoming sexually active at such a young age today?
I think teenagers are having sex more often because of the lack of fatherhood. It seems like there was a lot of rebelion in the 60s and a huge target was fathers.
It feels like there has been an increase in value for the young and for women like never before, but it isn't the type of value that seems particularly true to who women and children are. It feels like because women were patronized by society there was a pendulum swing in the opposite direction... you know? Like now all those good things that men do for women are completely scorned because women have rejected men quite a bit. Things like protection, honor, provision. Feminism decided to buck the control they felt by men by attacking men as a whole instead of the control or the abuse or the patronizing itself. Children rebeled not against criticism or harshness or materialism or emotional abandonment...but against the fathers that were acting in these ways. Instead of saying, look how harmful these behaviors are, they said look how harmful these men are.
It can be really hard to tell someone in authority that what they are doing is hurting you. Sometimes it feels like the only thing that you can do is reject the authority. But in doing so, a lot is lost. Men are supposed to be heros and strong fathers and loving, providing, protecting husbands. Those values are often attributed to being henpecked or wimpy or boring now.
Boys growing up without a father looked to what ever role models they could find. Often time action heros are womanizers and lone wolves who don't give a rip about others and make their own rules and yet are idolized.
And while many women are independent, most still deeply care what men think and play right into the hands of an attentive male who lacks character and identity. The women have no fathers to show them how valuable they are and so they look for another male role model to find that from.
No one expects very much from men right now and that is exactly what men become...much, much less than they are capable of. Women have said to men and children have said to fathers, "We don't need you," and so men have gone off to do their own thing. And a lot of that is having sex and not committing. Why have a career if you don't have a wife and children to have it for? Why have a wife if she is just going to try to control you and not value your masculinity? Why have kids only to have them be ungrateful dependents?
If there is no value for what men offer, than why should they offer it? And the trouble is is that regardless of what they do with it, men are still strong, powerful, prone to action and to making things happen. Take away your value for their achievements for good because they miss the mark a little and why should they try to make something of themselves or offer themselves for another?
I mentioned that I am not a feminist thought I am passionate about seeing women succeed in a comment on someone else's site. My reasoning behind this is because I feel like feminism preaches ideas that are not realistic. For some reason there are many current thought trends that are stating that men and women are equal, that it is completely belittling to admit that a woman might greatly benefit from a masculine man, that you can never let down your guard, that you are a dumb girl or a weak girl if you are feminine and sentimental and allow a man to meet needs in your life. If I share what I think about what women really want and need, it is called small-minded or sexist or outdated. Well, I am a very smart, modern girl. I am actually VERY smart. And I think anyone who tries to make a man out of a woman or teaches women to think of men as less than they are is cruel.
I study men and women a lot, especially women and have spent a lot of time trying to gain deep understanding into what a woman is. Women are soft, delicate, feminine...all those things that it is NOT safe to be if the men around you are bad. But when the men are good, it works so well. A woman evokes greatness in a man with her beauty. Men love to give, women love to receive. When it is healthy, it works right, is amazing. When men are cruel, women become defensive, have to resort to survival tactics. And then if they become embittered or if whole waves of thinking are based on survival and the responses to the worst case scenario, then things get ugly and dry and messy.
I agree with feminists that bad behavior from a man is unacceptable and no woman should have to endure it. I disagree when they try to cut men out of the picture all together simply because they have experienced the bad effects of failure. That only causes the problems to escalate.
Take an example from racism, since it is easy to understand. Being very very generic, in this country whites were really mean to blacks. Now, blacks have a choice, to hate back or to not hate back. If black people in our country decided to fight evil with evil then it would have been utter chaos. I thank God for people like MLK who preached peace instead of revenge. Because they have been so gracious and forgiving, a lot of healing has happened and more will come.
In the same way, a lot of women received very demeaning behavior. They were taken advantage of in various ways and were not allowed to reach their full potential as men exercised their strength against women instead of giving it to them and for them. We can respond by hating men or by forgiving. I definitely think things need to change for women but it isn't about taking power away from men to give it to women. It is about empowering both. There is more than enough power for everyone. We just don't believe it and so instead of pursuing our dreams, we try to make sure other people don't hurt us. If men and women are in partnership with one another, than as one grows and strengthens, the other is benefited as well.
I personally don't have any rules about what women can or cannot do or should or should not do. Every one is different. Some should never marry. Some should never enter the work force. I think every individual should be allowed to be true to who they are so long as their heart is good. If a woman wants to work, let her work...but let it not be because she is trying to prove that she won't be repressed or because if she doesn't then she feels worthless....let it be because she actually wants to. If she wants to stay at home and be a wife and mother, let her. LET HER DO WHAT IS IN HER HEART, let her be true to herself without criticism. It is about the individual, not about womankind as a whole when it comes to the outward expression of who she is. To me those issues are secondary, like fruit on a tree. I believe that while almost all trees have roots and a trunk and leaves, they produce different kinds of fruits. While women have many things in common, they express themselves differently and should be appreciated for who they are. An apricot tree and a walnut tree are both great, though neither will ever do exactly what the other one does. In the same way, different women, while similar, are always going to look different. And it is good.
Like roots and trunks, etc, I believe there are fundamental things that all woman possess...such as a need to be loved, the ability to respond well to that love and to give easily and freely if her heart is not wounded, beauty, strength, a desire to be protected, cherished and valued....but not controlled. No woman should have to squish herself to make herself small enough for a man. She needs to wait for a man who is big enough to allow her to be her whole self. I am praying that those men who are stunted in their growth for what ever reason, be it fear, lack of identity or purpose or value, would be all they are supposed to be as well.
Anyway, that is what I think. I think teen sex is a result of a lot of deeper issues.
"All guys want sex", "all the nice guys are either gay or taken"
"All guys want sex", "all the nice guys are either gay or taken", "I'm never going out with guys again", "I'm turning lesbian because I'm just sick of guys", "where are the nice guys?", "I attract the wrong kind of guys", "all guys do is want me for sex", "guys are stupid", "guys are so hard to understand". Blah blah blah blah blah.
The first question that seems to be on many women's mind is "Do all guys think about sex?"
Yes, does that mean it makes them use girls for only sex? Absolutely not.
Does that mean there are guys out there who wouldn't use you for sex? Absolutely
Are men capable of real relationships? Yes
What everything comes down to is YES, all men think about sex. Statistics say that the average man thinks about sex 70% of his day. That's a lot of sexual images, isn't it? What if I told you that statistics also said that the average woman thinks about sex 40% of the day? It's a 30% difference, but does that not make it a lot? Does that not justify that everyone thinks about sex? Clearly, the average person, no matter what gender, thinks about sex everyday. Well damn Brandon, I thought that males think about sex all the time!
No. (Buzzer sound) you are incorrect. We're all human beings, we all want sex to some degree. So, what's the big deal? Well, no one wants to blame their problems on themselves. They don't take responsibility and point the finger at someone else to make them feel better.
So, this woman (let's call her Dumbass), started going out with this guy. Oh, she really liked this dude -- he was really attractive, had a nice body, loved to party, etc. She started to realize that he was more of an asshole than she thought...a real jerk, who only wanted her body. I mean, she liked this guy since she first layed eyes on him! How could she not see what he really was like?
Oh yeah, she could of gotten to know him more...y' know, like be friends? Start out slow? Travel to different places that would have less drunks, meet new guys, find out who's legit and who's not? But nah, friendship...come on, the dude looked good, that's all that matters. If he doesn't look good, then what kind of person is he? Non-physically attractive people have no personalities.
Women, have you ever asked yourself the question "where are the nice guys"? From now on, think about how many friends you have that are males. Let's see...there's my best friend, who I talk about everything with, he's always there for me, etc. Wait! Stop right there. Now ask yourself that same question again.
My point is that they're all around. I'm not going to say "nice guys finish last", I don't want you to feel bad for the nice guys out there, but I want to teach you how to answer your own questions. My point is that you're wrong. Your beliefs are wrong, and there's nothing that I can do to change them. Some women will always believe that they won't ever be satisfied with what they have. It used to be that size was an issue. If men in porn can satisfy a woman with a 12 inch dong, then that must be true in reality. So, let's try it. "Ow ow ow ow ow ow ouch...I can't do this". She's got his penis half-way in her vagina and she's already complaining. Of course, if she needed a 12 inch dong, her vagina must be really loose.
Now it's about true relationships. Men supposedly have a hard time being committed to a relationship because I guess they're incapable of feeling other emotions. All the feeling goes to his cock. He'll love you with one blowjob a day.
With that being said, guys are simple. If a guy is anything other than simple, then something must of happened in his past that made him complex.
Basically, there are two main types of guys in the world:
Guys who want sex and nothing but sex, and guys who want sex and want more than sex.
If the guys you are dating only want you for sex, then you're looking for the wrong type. Stop complaining, stop making the wrong kind of guys look bad, and just move on. There's no point in being a bitch about it. If all you're going to do is complain about how bad guys are, then go lesbian. Lesbians have drama too, y' know. You can't avoid problems.
Looking For Free Software Programs Is No Sweat At All
Are you tired of shelling out money again and again for software applications? I bet many people are, since software can be expensive. So, never doubt the idea that the Internet has it all, because it does. The Internet even has free software programs you can download.
When It Pays To Be Paranoid: How To Avoid Keyloggers From Being Installed In Your Computer
Sometimes, real life is better than computer life. In the real world, you can refuse to pick up a hitchhiker. With computers, it's another story. Malicious software and spyware have an uncanny ability to hitch a ride on your computers without your consent.
Function for Validate Mobile no.VB.NET
Public Function isValidMobileno(ByRef Mobile As String) As Boolean
Dim isValidE As Boolean = False
If myEmail <> String.Empty Then
If (System.Text.RegularExpressions.Regex.IsMatch(myEmail, "^[0-9]{10,12}|[0-9]{2}-[0-9]{10}$", RegexOptions.IgnoreCase)) Then
isValidE = True
End If
End If
Return isValidE
End Function
Function For Validation Each Fields( Numeric Or Empty)
Private Function Validat(ByRef Target As Integer, _
ByRef HighestBSL As Integer, _
ByRef LowestBSL As Integer, _
ByRef HighestA1c As Integer, _
ByRef LowestA1c As Integer, _
ByRef Remarks As String _
) As Boolean
Dim isvalidat As Boolean = False
If Target = 0 Or txtTarget.Text = String.Empty Or Not IsNumeric(txtTarget.Text) Then
MessageBox.Show("Enter Target Sugar Management Plan Or Enter Numeric Only", "Try Again", MessageBoxButtons.OK, MessageBoxIcon.Warning)
txtTarget.Focus()
isvalidat = False
ElseIf HighestBSL = 0 Or txtHighestBSL.Text = String.Empty Or Not IsNumeric(txtHighestBSL.Text) Then
MessageBox.Show("Enter Highest blood sugar level Or Enter Numeric Only", "Try Again", MessageBoxButtons.OK, MessageBoxIcon.Warning)
txtHighestBSL.Focus()
isvalidat = False
ElseIf LowestBSL = 0 Or txtLowestBSL.Text = String.Empty Or Not IsNumeric(txtLowestBSL.Text) Then
MessageBox.Show("Enter Lowest blood sugar level Or Enter Numeric Only", "Try Again", MessageBoxButtons.OK, MessageBoxIcon.Warning)
txtLowestBSL.Focus()
isvalidat = False
ElseIf HighestA1c = 0 Or txtHighestA1c.Text = String.Empty Or Not IsNumeric(txtHighestA1c.Text) Then
MessageBox.Show("Enter Highest A1c level Or Enter Numeric Only", "Try Again", MessageBoxButtons.OK, MessageBoxIcon.Warning)
txtHighestA1c.Focus()
isvalidat = False
ElseIf LowestA1c = 0 Or txtLowestA1c.Text = String.Empty Or Not IsNumeric(txtLowestA1c.Text) Then
MessageBox.Show("Enter LowestA1c level Or Enter Numeric Only", "Try Again", MessageBoxButtons.OK, MessageBoxIcon.Warning)
txtLowestA1c.Focus()
isvalidat = False
ElseIf Remarks = String.Empty Then
MessageBox.Show("Enter Remarks ", "Try Again", MessageBoxButtons.OK, MessageBoxIcon.Warning)
txtRemarks.Focus()
isvalidat = False
Else
isvalidat = True
End If
Return isvalidat
End Function