Saturday, March 30, 2013

Kenyans await ruling in disputed presidential election

By Edmund Blair and Humphrey Malalo

NAIROBI (Reuters) - Kenya's Supreme Court said on Saturday it would issue its ruling no later than 1400 GMT (10 a.m. EDT) on legal challenges to Uhuru Kenyatta's win in a presidential election seen as a test of democracy, five years after vote disputes triggered widespread bloodshed.

The country's outgoing president called for calm ahead of a decision that will either confirm the victory of Kenya's richest man Kenyatta or force another vote.

Defeated candidate Raila Odinga says the March 4 poll was marred by technical problems and widespread rigging. Both politicians have promised to abide by the court's final word.

"Compatriots: The Supreme Court will deliver its decision not later than 5 p.m. today, Inshallah (God willing)," Chief Justice Willy Mutunga wrote on his Twitter account.

The ruling is expected to address a list of challenges to the result. It was not immediately clear if the timing announced referred to when the court would start reading details of its verdict or the time by which it expected to complete that task.

Police formed a security cordon around the court. Many ordinary Kenyans insist they will not allow a repeat of the violence that killed more than 1,200 people and hammered the economy following a dispute over the last election in 2007.

"We have moved on," said Monica Njagi, 28, owner of an Internet cafe in the port city of Mombasa. "Whatever the ruling, we shall go by it ... We have enough useful lessons from our past."

The peaceful voting in this year's election, and the fact that the dispute is being played out by lawyers not machete-wielding gangs, has already helped repair the image of east Africa's largest economy.

Saturday's ruling will test whether Kenyans trust their reformed judiciary and whether supporters of rival candidates accept the result quietly in a nation where tribal loyalties largely determine political allegiances.

"As the country awaits the Supreme Court ruling which is due this Easter weekend, I call upon all of us to accept the ruling and maintain peace," outgoing President Mwai Kibaki said in a message to mark the Christian Easter holiday.

"ESSENTIAL CONTACTS"

Kenyatta comfortably beat Odinga in terms of votes won, with 50.07 percent versus 43.28 percent, but only narrowly avoided a run-off by just edging above the 50 percent threshold.

Western donors are watching the fate of a regional trade partner and a country they see as vital to stability in a volatile area. They also face a headache if Kenyatta wins.

He is facing charges at the International Criminal Court of crimes against humanity, accused of helping incite the violence after the 2007 vote. Kenyatta denies the charges and has promised to cooperate with the court to clear his name.

Western nations have a policy of having only "essential contacts" with indictees of the court. They say that will not affect dealings with the Kenyan government as a whole, but will worry the issue could drive a long-time ally of the West closer to emerging powers such as China.

Neighboring African states are also keeping a careful eye on proceedings after they were hit by the knock-on effects when vital trade routes through Kenya were shut down five years ago.

Kenya's economy has yet to recover fully from the pummeling it took after the vote violence, with growth rates still yet to return to levels before that bloodshed.

"My worry is that if the court orders another election, tourism will suffer further," said Mohammed Hersi, general manager of the Whitesands hotel, a top Mombasa resort, saying clients were waiting to decide whether to come.

In the Supreme Court's hearing on Friday, the legal teams reviewed results of recounts ordered in 22 of the 33,400 polling stations after Odinga said more votes had been cast than there were registered voters. Both sides said the recounts supported their arguments.

Odinga's team argued that the failures undermined the vote. Rival lawyers said any irregularities or technical hiccups had an insignificant impact and did not change the overall outcome.

International observers said voting itself was credible, but diplomats say observers did not watch the full five-day count.

(Additional reporting by Joseph Akwiri in Mombasa, Hezron Ochiel in Kisumu and James Macharia in Nairobi; Editing by Andrew Heavens)

Source: http://news.yahoo.com/kenyans-await-ruling-disputed-presidential-race-022046688.html

kevin systrom fibonacci sequence maryland lottery grand jury ozzie guillen fidel castro darvish george zimmerman website

Smith leads Louisville to 77-69 victory over Ducks

INDIANAPOLIS (AP) ? Louisville coach Rick Pitino is baffled by Russ Smith.

Not by the star guard himself, who is managing to outdo himself each time he steps on the court. No, Pitino doesn't understand why the rest of the country isn't as impressed with Smith as he ? and every opponent who's faced him ? is.

"I look at (player of the year) lists, and I don't see Russ Smith. I don't see him on the All-America teams," Pitino said. "I'm baffled, just baffled, because it wasn't like he was a Johnny-come-lately. He carried us on his back to a Final Four last year."

And he's one game from doing it again.

With Louisville having a rare off night, Smith lifted the Cardinals to a 77-69 victory over Oregon on Friday that put them in the Midwest Region finals. He matched his career high of 31 points, including seven during what would wind up being the game's decisive run.

Smith is averaging 27 points through the first three games of the tournament.

"Russ Smith is a talented young man," Oregon coach Dana Altman said. "When he got going, we didn't have an answer."

Louisville (32-5) plays Duke on Sunday, the first time Pitino and Mike Krzyzewski have met in a regional final since Christian Laettner's shot in 1992.

The 12th-seeded Ducks managed to make a game of it, though, which is more than most of Louisville's recent opponents can say.

After Louisville went up 66-48 with 9:01 left, Oregon made six straight field goals to close to 70-64. But Kevin Ware scored on a layup and Chane Behanan threw down a monstrous dunk to put the game out of reach.

Ware finished with 11, topping his previous career best by one, and Gorgui Dieng had 10 points, nine rebounds and four blocked shots.

E.J. Singler's 15 points led five Ducks in double figures. But Damyean Dotson had an off night, held without a field goal until five minutes were gone in the second half, and Oregon could never recover from its poor start.

Early foul trouble didn't help, with Johnathan Loyd picking up his third before halftime and Dominic Artis and Carlos Emory playing the last six minutes of the half with two.

"If it wasn't for the beginning, it would have been a completely different game," Loyd said. "We just came out, we weren't ready and we got smacked. If we were playing the way were playing in the second half the whole game, it's a completely different story."

The Cardinals were barely tested in either of their first two games in the NCAA tournament, beating North Carolina A&T by 31 and Colorado State by 26. They set an NCAA tournament record with 20 steals against A&T, outrebounded one of the country's best rebounding teams in Colorado State and left both teams with ugly shooting lines.

But a hacking cough that Smith has had the last few days is making its way around the Louisville team, and it was clear from the start this wasn't going to be another juggernaut performance by the Cardinals.

Peyton Siva spent the last 15:19 of the first half on the bench after picking up his second foul, and Louisville wasn't nearly as stingy on defense as it's been. The Cardinals (13) actually had more turnovers than the Ducks (12), and Oregon is only the third team to shoot 44 percent or better during Louisville's winning streak.

Thanks to Smith, however, the Cardinals finished like they always do lately: with a win.

After Siva went out, Smith hit a 3 to spark a 14-3 run that put Louisville up 24-8. When he capped the spurt with a layup, it was Russ Smith 9, Oregon 8.

"We really dug ourselves a big hole," Singler said. "We tried to figure back as much as possible, but Louisville's a really, really good team. They just played better than us today."

But the Ducks aren't a team that gives in.

After losing six of their last 11 regular-season games, the Ducks have been on a tear. They won the Pac-12 tournament, then upset Oklahoma State and Saint Louis last weekend.

They went on a 16-4 run that cut Louisville's lead to six points, the smallest it had been since the opening minutes of the game.

"We watched film and seen how they run, and we kind of figured out that would happen," Chane Behanan said.

Instead of panicking, the Cardinals regrouped and regained control. After Ware and Behanan's baskets, Smith shot 3-of-4 from the line to seal the win.

"Coach has been telling me to fight through (his cold), fight through it, dig in. My teammates as well," Smith said. "We're fighting through it and just doing whatever we can to get a win."

Source: http://news.yahoo.com/smith-leads-louisville-77-69-victory-over-ducks-013024595--spt.html

gia la riots new jersey devils torn acl derrick rose injury st louis news utah jazz

Researchers engineer plant cell walls to boost sugar yields for biofuels

Mar. 29, 2013 ? When blessed with a resource in overwhelming abundance it's generally a good idea to make valuable use of that resource. Lignocellulosic biomass is the most abundant organic material on Earth. For thousands of years it has been used as animal feed, and for the past two centuries has been a staple of the paper industry. This abundant resource, however, could also supply the sugars needed to produce advanced biofuels that can supplement or replace fossil fuels, providing several key technical challenges are met.

One of these challenges is finding ways to more cost-effectively extract those sugars. Major steps towards achieving this breakthrough are being taken by researchers at the U.S. Department of Energy (DOE)'s Joint BioEnergy Institute (JBEI).

"Through the tools of synthetic biology, we have engineered healthy plants whose lignocellulosic biomass can more easily be broken down into simple sugars for biofuels," says Dominique Loque, who directs the cell wall engineering program for JBEI's Feedstocks Division. "Working with the model plant, Arabidopsis, as a demonstration tool, we have genetically manipulated secondary cell walls to reduce the production of lignin while increasing the yield of fuel sugars."

JBEI is a scientific partnership led by Lawrence Berkeley National Laboratory (Berkeley Lab) whose mission is to advance the development of next generation biofuels that can provide the nation with clean, green and renewable transportation energy that will create jobs and boost the economy. Loque and his research group have focused on reducing the natural recalcitrance of plant cell walls to give up their sugars. Unlike the simple starch-based sugars in corn and other grains, the complex polysaccharide sugars in plant cell walls are locked within a robust aromatic polymer called lignin. Setting these sugars free from their lignin cage has required the use of expensive and environmentally harsh chemicals at high temperatures, a process that helps drive production costs of advance biofuels prohibitively high.

"By embedding polysaccharide polymers and reducing their extractability and accessibility to hydrolytic enzymes, lignin is the major contributor to cell wall recalcitrance," Loque says. "Unfortunately, most efforts to reduce lignin content during plant development have resulted in severe biomass yield reduction and a loss of integrity in vessels, a key tissue responsible for water and nutrient distribution from roots to the above-ground organs."

Lignin has also long posed problems for pulping and animal feed. To overcome the lignin problem, Loque and his colleagues rewired the regulation of lignin biosynthesis and created an artificial positive feedback loop (APFL) to enhance secondary cell wall biosynthesis in specific tissue. The idea was to reduce cell wall recalcitrance and boost polysaccharide content without impacting plant development.

"When we applied our APFL to Arabidopsis plants engineered so that lignin biosynthesis is disconnected from the fiber secondary cell wall regulatory network, we maintained the integrity of the vessels and were able to produce healthy plants with reduced lignin and enhanced polysaccharide deposition in the cell walls," Loque says. "After various pretreatments, these engineered plants exhibited improved sugar releases from enzymatic hydrolysis as compared to wild type plants. In other words we accumulated the good stuff -- polysaccharides -- without spoiling it with lignin."

Loque and his colleagues believe that the APFL strategy they used to enhance polysaccharide deposition in the fibers of their Arabidopsis plants could be rapidly implemented into other vascular plant species as well. This could increase cell wall content to the benefit of the pulping industry and forage production as well as for bioenergy applications. It could also be used to increase the strength of cereal straws, reducing crop lodging and seed losses. Since regulatory networks and other components of secondary cell wall biosynthesis have been highly conserved by evolution, the researchers feel their lignin rewiring strategy should also be readily transferrable to other plant species. They are currently developing new and even better versions of these strategies.

"We now know that we can significantly re-engineer plant cell walls as long as we maintain the integrity of vessels and other key tissues," Loque says.

A paper describing this research in detail has been published in Plant Biotechnology Journal. The paper is titled "Engineering secondary cell wall deposition in plants." Loque is the corresponding author. Co-authors are Fan Yang, Prajakta Mitra, Ling Zhang, Lina Prak, Yves Verhertbruggen, Jin-Sun Kim, Lan Sun, Kejian Zheng, Kexuan Tang, Manfred Auer and Henrik Scheller.

This research was supported by the DOE Office of Science.

Share this story on Facebook, Twitter, and Google:

Other social bookmarking and sharing tools:


Story Source:

The above story is reprinted from materials provided by DOE/Lawrence Berkeley National Laboratory.

Note: Materials may be edited for content and length. For further information, please contact the source cited above.


Journal Reference:

  1. Fan Yang, Prajakta Mitra, Ling Zhang, Lina Prak, Yves Verhertbruggen, Jin-Sun Kim, Lan Sun, Kejian Zheng, Kexuan Tang, Manfred Auer, Henrik V. Scheller, Dominique Loqu. Engineering secondary cell wall deposition in plants. Plant Biotechnology Journal, 2013; 11 (3): 325 DOI: 10.1111/pbi.12016

Note: If no author is given, the source is cited instead.

Disclaimer: Views expressed in this article do not necessarily reflect those of ScienceDaily or its staff.

Source: http://feeds.sciencedaily.com/~r/sciencedaily/top_news/top_environment/~3/VnUOT6b1alA/130329161247.htm

Nancy Lanza school shootings cbs news Jenni Rivera Adam Lanza Facebook the hobbit mick jagger

Friday, March 29, 2013

After 40 years, Vietnam memories still strong

The last U.S. combat troops left Vietnam 40 years ago Friday, and the date holds great meaning for many who fought the war, protested it or otherwise lived it.

While the fall of Saigon two years later is remembered as the final day of the Vietnam War, many had already seen their involvement in the war finished ? and their lives altered ? by March 29, 1973.

U.S. soldiers leaving the country feared angry protesters at home. North Vietnamese soldiers took heart from their foes' departure, and South Vietnamese who had helped the Americans feared for the future.

Many veterans are encouraged by changes they see. The U.S. has a volunteer military these days, not a draft, and the troops coming home aren't derided for their service. People know what PTSD stands for, and they're insisting that the government takes care of soldiers suffering from it and other injuries from Iraq and Afghanistan.

Below are the stories of a few of the people who experienced a part of the Vietnam War firsthand.

___

'MORE INTERESTED IN GETTING BACK'

Dave Simmons of West Virginia was a corporal in the U.S. Army who came back from Vietnam in the summer of 1970. He said he didn't have specific memories about the final days of the war because it was something he was trying to put behind him.

"We were more interested in getting back, getting settled into the community, getting married and getting jobs," Simmons said.

He said he was proud to serve and would again if asked. But rather than proudly proclaim his service when he returned from Vietnam, the Army ordered him to get into civilian clothes as soon as he arrived in the U.S. The idea was to avoid confrontations with protestors.

"When we landed, they told us to get some civilian clothes, which you had to realize we didn't have, so we had to go in airport gift shops and buy what we could find," Simmons said.

Simmons noted that when the troops return today, they are often greeted with great fanfare in their local communities, and he's glad to see it.

"I think that's what the general public has learned ? not to treat our troops the way they treated us," Simmons said.

Simmons is now helping organize a Vietnam Veterans Recognition Day in Charleston that will take place Saturday.

"Never again will one generation of veterans abandon another. We stick with that," said Simmons, president of the state council of the Vietnam Veterans of America. "We go to the airport. ... We're there when they leave. We're there when they come home. We support their families when they're gone. I'm not saying that did not happen to the Vietnam vet, but it wasn't as much. There was really no support for us."

___

A RISING PANIC

Tony Lam was 36 on the day the last U.S. combat troops left Vietnam. He was a young husband and father, but most importantly, he was a businessman and U.S. contractor furnishing dehydrated rice to South Vietnamese troops. He also ran a fish meal plant and a refrigerated shipping business that exported shrimp.

As Lam, now 76, watched American forces dwindle and then disappear, he felt a rising panic. His close association with the Americans was well-known and he needed to get out ? and get his family out ? or risk being tagged as a spy and thrown into a Communist prison. He watched as South Vietnamese commanders fled, leaving whole battalions without a leader.

"We had no chance of surviving under the Communist invasion there. We were very much worried about the safety of our family, the safety of other people," he said this week from his adopted home in Westminster, Calif.

But Lam wouldn't leave for nearly two more years after the last U.S. combat troops, driven to stay by his love of his country and his belief that Vietnam and its economy would recover.

When Lam did leave, on April 21, 1975, it was aboard a packed C-130 that departed just as Saigon was about to fall. He had already worked for 24 hours at the airport to get others out after seeing his wife and two young children off to safety in the Philippines.

"My associate told me, 'You'd better go. It's critical. You don't want to end up as a Communist prisoner.' He pushed me on the flight out. I got tears in my eyes once the flight took off and I looked down from the plane for the last time," Lam recalled. "No one talked to each other about how critical it was, but we all knew it."

Now, Lam lives in Southern California's Little Saigon, the largest concentration of Vietnamese outside of Vietnam.

In 1992, Lam made history by becoming the first Vietnamese-American to elected to public office in the U.S. and he went on to serve on the Westminster City Council for 10 years.

Looking back over four decades, Lam says he doesn't regret being forced out of his country and forging a new, American, life.

"I went from being an industrialist to pumping gas at a service station," said Lam, who now works as a consultant and owns a Lee's Sandwich franchise, a well-known Vietnamese chain.

"But thank God I am safe and sound and settled here with my six children and 15 grandchildren," he said. "I'm a happy man."

___

ANNIVERSARY NIGHTMARES

Wayne Reynolds' nightmares got worse this week with the approach of the anniversary of the U.S. troop withdrawal.

Reynolds, 66, spent a year working as an Army medic on an evacuation helicopter in 1968 and 1969. On days when the fighting was worst, his chopper would make four or five landings in combat zones to rush wounded troops to emergency hospitals.

The terror of those missions comes back to him at night, along with images of the blood that was everywhere. The dreams are worst when he spends the most time thinking about Vietnam, like around anniversaries.

"I saw a lot of people die," Reynolds said.

Today, Reynolds lives in Athens, Ala., after a career that included stints as a public school superintendent and, most recently, a registered nurse. He is serving his 13th year as the Alabama president of the Vietnam Veterans of America, and he also has served on the group's national board as treasurer.

Like many who came home from the war, Reynolds is haunted by the fact he survived Vietnam when thousands more didn't. Encountering war protesters after returning home made the readjustment to civilian life more difficult.

"I was literally spat on in Chicago in the airport," he said. "No one spoke out in my favor."

Reynolds said the lingering survivor's guilt and the rude reception back home are the main reasons he spends much of his time now working with veteran's groups to help others obtain medical benefits. He also acts as an advocate on veterans' issues, a role that landed him a spot on the program at a 40th anniversary ceremony planned for Friday in Huntsville, Ala.

It took a long time for Reynolds to acknowledge his past, though. For years after the war, Reynolds said, he didn't include his Vietnam service on his resume and rarely discussed it with anyone.

"A lot of that I blocked out of my memory. I almost never talk about my Vietnam experience other than to say, 'I was there,' even to my family," he said.

___

NO ILL WILL

A former North Vietnamese soldier, Ho Van Minh heard about the American combat troop withdrawal during a weekly meeting with his commanders in the battlefields of southern Vietnam.

The news gave the northern forces fresh hope of victory, but the worst of the war was still to come for Minh: The 77-year-old lost his right leg to a land mine while advancing on Saigon, just a month before that city fell.

"The news of the withdrawal gave us more strength to fight," Minh said Thursday, after touring a museum in the capital, Hanoi, devoted to the Vietnamese victory and home to captured American tanks and destroyed aircraft.

"The U.S. left behind a weak South Vietnam army. Our spirits was so high and we all believed that Saigon would be liberated soon," he said.

Minh, who was on a two-week tour of northern Vietnam with other veterans, said he bears no ill will to the American soldiers even though much of the country was destroyed and an estimated 3 million Vietnamese died.

If he met an American veteran now he says, "I would not feel angry; instead I would extend my sympathy to them because they were sent to fight in Vietnam against their will."

But on his actions, he has no regrets. "If someone comes to destroy your house, you have to stand up to fight."

___

A POW'S REFLECTION

Two weeks before the last U.S. troops left Vietnam, Marine Corps Capt. James H. Warner was freed from North Vietnamese confinement after nearly 5 1/2 years as a prisoner of war. He said those years of forced labor and interrogation reinforced his conviction that the United States was right to confront the spread of communism.

The past 40 years have proven that free enterprise is the key to prosperity, Warner said in an interview Thursday at a coffee shop near his home in Rohrersville, Md., about 60 miles from Washington. He said American ideals ultimately prevailed, even if the methods weren't as effective as they could have been.

"China has ditched socialism and gone in favor of improving their economy, and the same with Vietnam. The Berlin Wall is gone. So essentially, we won," he said. "We could have won faster if we had been a little more aggressive about pushing our ideas instead of just fighting."

Warner, 72, was the avionics officer in a Marine Corps attack squadron when his fighter plane was shot down north of the Demilitarized Zone in October 1967.

He said the communist-made goods he was issued as a prisoner, including razor blades and East German-made shovels, were inferior products that bolstered his resolve.

"It was worth it," he said.

A native of Ypsilanti, Mich., Warner went on to a career in law in government service. He is a member of the Republican Central Committee of Washington County, Md.

___

A DIFFERENT RESPONSE

Chief Warrant Officer 5 Duane Johnson, who served in Afghanistan and is a full-time logistics and ordnance specialist with the South Carolina National Guard, said many Vietnam veterans became his mentors when he donned a uniform 35 years ago.

"I often took the time, when I heard that they served in Vietnam, to thank them for their service. And I remember them telling me that was the first time anyone said that to them," said Johnson, of Gaston, S.C.

"My biggest wish is that those veterans could have gotten a better welcome home," the 56-year-old said Thursday.

Johnson said he's taken aback by the outpouring of support expressed for military members today, compared to those who served in Vietnam.

"It's a bit embarrassing, really," said Johnson. "Many of those guys were drafted. They didn't skip the country, they went and they served. That should be honored."

___

ANTI-WAR ACTIVISM

John Sinclair said he felt "great relief" when he heard about the U.S. troop pull-out. Protesting the war was a passion for the counter-culture figure who inspired the John Lennon song, "John Sinclair." The Michigan native drew a 10-year prison sentence after a small-time pot bust but was released after 2 ? years ? a few days after Lennon, Stevie Wonder and others performed at a 1971 concert to free him.

"There wasn't any truth about Vietnam ? from the very beginning," said Sinclair by phone from New Orleans, where he spends time when he isn't in Detroit or his home base of Amsterdam.

"In those times we considered ourselves revolutionaries," said Sinclair, a co-founder of the White Panther Party who is a poet and performance artist and runs an Amsterdam-based online radio station. "We wanted equal distribution of wealth. We didn't want 1 percent of the rich running everything. Of course, we lost."

The Vietnam War also shaped the life of retired Vermont businessman John Snell, 64, by helping to instill a lifetime commitment to anti-war activism. He is now a regular at a weekly anti-war protest in front of the Montpelier federal building that has been going on since long before the start of the wars in Afghanistan and Iraq.

The Haslett, Mich., native graduated from high school in 1966 and later received conscientious objector status. He never had to do the required alternative service because a foot deformity led him to being listed as unfit to serve.

"They were pretty formative times in our lives and we saw incredible damage being done, it was the first war to really show up on television. I remember looking in the newspaper and seeing the names of people I went to school with as being dead and injured every single week," said Snell, who attended Michigan State University before moving to Vermont in 1977.

"Things were crazy. I remember sitting down in the student lounge watching the numbers being drawn on TV, there were probably 200 people sitting in this lounge watching as numbers came up, the guys were quite depressed by the numbers that were being drawn," he said. "There certainly were people who volunteered and went with some patriotic fervor, but by '67 or'68 there were a lot of people who just didn't want to have anything to do with it."

___

Dishneau reported from Hagerstown, Md., and Reeves reported from Birmingham, Ala. Also contributing to this report were Associated Press writers Chris Brummitt in Hanoi, Jocelyn Gecker in Bangkok, Gillian Flaccus in Tustin, Calif., Lisa Cornwell in Cincinnati, Kevin Freking in Washington, Wilson Ring in Montpelier, Vt., Susanne M. Schafer in Columbia, S.C., and Jeff Karoub in Detroit.

Source: http://news.yahoo.com/40-years-vietnam-memories-still-strong-082431483.html

Psalms 91 once upon a time once upon a time RG3 Monsters University nfl playoff schedule Rex Ryan tattoo

Rapper Gucci Mane denied bond in assault case

ATLANTA (AP) ? Gucci Mane has been denied bond on charges stemming from a fan's accusation that the rapper hit him in the head with a champagne bottle at an Atlanta nightclub.

A fan says the rapper, whose real name is Radric Davis, hit him in the club's V.I.P. area March 16 while he tried to take a picture with Gucci Mane. The fan, James Lettley, says he needed 10 stitches.

Davis was in custody on a charge of aggravated assault with a weapon and appeared in court Wednesday.

The rapper's attorney, Drew Findling, tells WSB-TV (http://bit.ly/XdhFoP ) that Davis' criminal history made it difficult for a judge to set bond. Fulton County jail records show Davis has been arrested 10 times since 2005.

Source: http://news.yahoo.com/rapper-gucci-mane-denied-bond-assault-case-131949635.html

espn3 kevin youkilis Tropical Storm Debby legend of korra magic mike trailer Alan Turing brave

RichTextBox Append Or Compare - VB.NET | Dream.In.Code


Example
#{example}
"); ipb.editor_values.get('templates')['togglesource'] = new Template("
??? Cancel Source Edit
"); ipb.editor_values.get('templates')['toolbar'] = new Template(""); ipb.editor_values.get('templates')['button'] = new Template("
  • Icon
  • "); ipb.editor_values.get('templates')['menu_item'] = new Template("
  • #{title}
  • "); ipb.editor_values.get('templates')['togglesource'] = new Template("
    ??? Cancel Source Edit
    "); ipb.editor_values.get('templates')['emoticons_showall'] = new Template(""); ipb.editor_values.get('templates')['emoticon_wrapper'] = new Template("

    Emoticons

    "); // Add smilies into the mix ipb.editor_values.set( 'show_emoticon_link', false ); ipb.editor_values.set( 'bbcodes', $H({"snapback":{"id":"1","title":"Post Snap Back","desc":"This tag displays a little linked image which links back to a post - used when quoting posts from the board. Opens in same window by default.","tag":"snapback","useoption":"0","example":"[snapback]100[/snapback]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"topic":{"id":"5","title":"Topic Link","desc":"This tag provides an easy way to link to a topic","tag":"topic","useoption":"1","example":"[topic=1]Click me![/topic]","switch_option":"0","menu_option_text":"Enter the topic ID","menu_content_text":"Enter the title for this link","single_tag":"0","optional_option":"0","image":""},"post":{"id":"6","title":"Post Link","desc":"This tag provides an easy way to link to a post.","tag":"post","useoption":"1","example":"[post=1]Click me![/post]","switch_option":"0","menu_option_text":"Enter the Post ID","menu_content_text":"Enter the title for this link","single_tag":"0","optional_option":"0","image":""},"spoiler":{"id":"7","title":"Spoiler","desc":"Spoiler tag","tag":"spoiler","useoption":"0","example":"[spoiler]Some hidden text[/spoiler]","switch_option":"0","menu_option_text":"","menu_content_text":"Enter the text to be masked","single_tag":"0","optional_option":"0","image":""},"acronym":{"id":"8","title":"Acronym","desc":"Allows you to make an acronym that will display a description when moused over","tag":"acronym","useoption":"1","example":"[acronym='Laugh Out Loud']lol[/acronym]","switch_option":"0","menu_option_text":"Enter the description for this acronym (EG: Laugh Out Loud)","menu_content_text":"Enter the acronym (EG: lol)","single_tag":"0","optional_option":"0","image":""},"hr":{"id":"12","title":"Horizontal Rule","desc":"Adds a horizontal rule to separate text","tag":"hr","useoption":"0","example":"[hr]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"1","optional_option":"0","image":""},"php":{"id":"14","title":"PHP Code","desc":"Allows you to enter PHP code into a formatted/highlighted syntax box","tag":"php","useoption":"0","example":"[php]$variable = true;\n\nprint_r($variable);[/php]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"html":{"id":"15","title":"HTML Code","desc":"Allows you to enter formatted/syntax-highlighted HTML code","tag":"html","useoption":"0","example":"[html]\n \n[/html]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"sql":{"id":"16","title":"SQL Code","desc":"Allows you to enter formatted/syntax-highlighted SQL code","tag":"sql","useoption":"0","example":"[sql]SELECT p.*, t.* FROM posts p LEFT JOIN topics t ON t.tid=p.topic_id WHERE t.tid=7[/sql]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"xml":{"id":"17","title":"XML Code","desc":"Allows you to enter formatted/syntax-highlighted XML code","tag":"xml","useoption":"0","example":"[xml]\n \n Test\n \n[/xml]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"member":{"id":"31","title":"Member","desc":"Given a member name, a link is automatically generated to the member's profile","tag":"member","useoption":"1","example":"[member=skyhawk133] runs this site.","switch_option":"0","menu_option_text":"Input Username of Member","menu_content_text":"","single_tag":"1","optional_option":"0","image":"memberbbcode.png"},"extract":{"id":"33","title":"Extract Blog Entry","desc":"This will allow users to define an extract for an entry. Only this piece of the entry will be displayed on the main blog page and will show up in the RSS feed.","tag":"extract","useoption":"0","example":"[extract]This is an example![/extract]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"blog":{"id":"34","title":"Blog Link","desc":"This tag provides an easy way to link to a blog.","tag":"blog","useoption":"1","example":"[blog=100]Click me![/blog]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"entry":{"id":"35","title":"Blog Entry Link","desc":"This tag provides an easy way to link to a blog entry.","tag":"entry","useoption":"1","example":"[entry=100]Click me![/entry]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"twitter":{"id":"36","title":"Twitter","desc":"A tag to link to a user's twitter account","tag":"twitter","useoption":"0","example":"[twitter]userName[/twitter]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":"twitter.png"},"inline":{"id":"37","title":"Inline Code","desc":"Formats code inline instead of in a seperate code box. ","tag":"inline","useoption":"0","example":"[inline]style=\"font-size: 12px;\"[/inline]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":""},"il":{"id":"38","title":"Abbreviated Inline (IL)","desc":"Abbreviated version of the [inline] tag. ","tag":"il","useoption":"0","example":"[il]Code Here[/il]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"0","image":"il2.png"},"code":{"id":"41","title":"Code","desc":"Allows you to enter general code","tag":"code","useoption":"1","example":"[code]$text = 'Some long code here';[/code]","switch_option":"0","menu_option_text":"","menu_content_text":"","single_tag":"0","optional_option":"1","image":""}}) ); ipb.vars['emoticon_url'] = "http://cdn.dreamincode.net/forums/public/style_emoticons/default"; //Search Setup ipb.vars['search_type'] = 'forum'; ipb.vars['search_type_id'] = 67; ipb.vars['search_type_2'] = 'topic'; ipb.vars['search_type_id_2'] = 316917; //]]>

    3 Replies - 60 Views - Last Post: Today, 09:58 PM Rate Topic: -----

    #1 donna2002 ?Icon User is offline

    Reputation: 0

    • Posts: 4
    • Joined: 25-March 13

    Posted Today, 07:32 PM

    I am new to this forum so sorry if I do something wrong. I have a RichTextBox1 and RichTextBox2 on my form. RichTextBox1 is for the user to enter some text. RichTextBox2 is not visible on form. I am trying to get the code to take the users text and put in RichTextBox2 to be able to save all the text each time the user hits saved button. I am not sure the best way to go about this. My code below saves the text ok the first time the saved button is hit but when the user adds more text and save again, it is adding the new text and the old text again. I just want it to save the new text only along with the old text but not add the old text again.
    
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click         If RichTextBox1.Text.Length > 0 Then             RichTextBox2.AppendText(RichTextBox1.Text)             If RichTextBox2.Text = RichTextBox1.Text Then                 MessageBox.Show("Text was Saved")             End If          Else             'do nothing         End If     End Sub


    Is This A Good Question/Topic? 0

    Replies To: RichTextBox Append or Compare

    #2 IronRazer ?Icon User is offline

    Reputation: 69

    • Posts: 290
    • Joined: 01-February 13

    Re: RichTextBox Append or Compare

    Posted Today, 08:03 PM

    Hello donna2002,
    You will need to save the text from textbox2 in a string variable and clear the text from textbox2 before saving the text from textbox1. Thats what it sounds like from the way your explaining it. Try this
    
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click         If RichTextBox1.Text.Length > 0 Then             Dim txt As String = RichTextBox2.Text             RichTextBox2.Clear()             RichTextBox2.Text = RichTextBox1.Text             If RichTextBox2.Text = RichTextBox1.Text Then                 MessageBox.Show("Text was Saved")             End If         End If     End Sub 

    :bigsmile:/>

    This post has been edited by IronRazer: Today, 08:04 PM


    #3 IronRazer ?Icon User is offline

    Reputation: 69

    • Posts: 290
    • Joined: 01-February 13

    Re: RichTextBox Append or Compare

    Posted Today, 08:56 PM


    #4 donna2002 ?Icon User is offline

    Reputation: 0

    • Posts: 4
    • Joined: 25-March 13

    Re: RichTextBox Append or Compare

    Posted Today, 09:58 PM

    Thank you IronRazer for the reply. Yes, that does work but maybe I am not explaining too well. That code does work until the user deletes something or clears his text to start over. I need the RichTextBox2 to always keep the text when the save button is clicked even if the user clears his or does whatever it still needs to keep the old text and add only the new text to RichTextBox2. I am probably not explaining it well. In other words I need both RTB to compare to each other and if there is new text added to RTB1 then add only that text to RTB2 along with what is already in RTB2. I have tried different ways but keep getting RTB2 with too much text adding the old and new text together and having duplicates of the same text when the user only entered it once. I hope that clears it up some. I am not good explaining myself.


    Page 1 of 1


    Source: http://www.dreamincode.net/forums/topic/316917-richtextbox-append-or-compare/

    social darwinism wisconsin recall election april 4 santa monica college wisconsin primary dallas fort worth airport texas tornados

    Spat between two Dutch companies sparks record-breaking 300Gbps DDoS attack

    March 28 (Reuters) - Rory McIlroy, playing for the first time since losing his world number one ranking earlier this week, got off to a shaky start at the Houston Open on Thursday where he dropped three shots over his opening eight holes. The 23-year-old Northern Irishman, who was replaced atop the world rankings by Tiger Woods this week, struggled to find his rhythm on an ideal day for low scoring at the Redstone Golf Club in Humble, Texas. He bogeyed the par-four second hole and made a double-bogey seven on the eighth hole to limp to the turn at three-over. ...

    Source: http://news.yahoo.com/spat-between-two-dutch-companies-sparks-record-breaking-010927453.html

    Thanksgiving Day cooking a turkey toysrus how to carve a turkey ipad 2 wal mart happy thanksgiving