Copying database from local system to a remote system Hello

March 9, 2010 – 11:00 pm

Copying database from local system to a remote system
Hello All, I have been trying to copy a database from a local system to remote system using the mysqldump command.However, I am not able to do so.I just wanted to know syntactically where am I going wrong? Here are the commands I have tried: mysqldump database-name | ssh…

News Story Stupid iPhone Tricks: Turn your iPhone 3G into

March 9, 2010 – 4:00 pm

News Story Stupid iPhone Tricks: Turn your iPhone 3G into a video camera
A couple of weeks ago, I had the great pleasure of seeing Steve Garfield (http://stevegarfield.com) speak at Pod Camp Western Mass (http://podcamp.pbworks.com/PodCampWesternMass). Garfield is the author of Get Seen (http://offonatangent.blogspot.com/2010/01/where-to-buy-get-seen.html), a practical…

Password Recovery in asp.net + c# hi i am in

March 9, 2010 – 10:00 am

Password Recovery in asp.net + c#
hi i am in need of password recovery in asp.net with c# as code pls any one knows raply me

TestDriven.Net 2.24: XCopy Deployable Test Runners

There is a new feature in TestDriven.Net 2.24 (and 3.0 Alpha) that should greatly simplify the deployment and versioning of test runner plug-ins. In previous versions it was important that a compatible test runner plug-in was installed for each test framework you use.

This was manageable if all of your projects used the same version of a test framework however it could quickly get out of hand if a project referenced a different framework version. Because it isn t always feasible to upgrade all test projects at the same time, teams could end up trapped using an old version of a test framework or with unit test projects that are difficult to run.

As of TesDriven.Net 2.24, it is now possible to include the test runner alongside its test framework assembly. The advantage of doing this, is your tests can be executed without any installer dependencies! For example, you could use any version of xUnit, MbUnit or NUnit and your teammates would be able to execute the tests without needing to worry about which version of xUnit or Gallio to install!

This feature is enabled using a file with a .tdnet extension, which lives in the same directory as your referenced test framework assembly (e.g. mbunit.dll , xunit.dll , nunit.framework.dll etc.). If you re using Gallio 3.1 or xUnit.net 1.5, you will find the required MbUnit.dll.tdnet or xunit.dll.tdnet file already exists. For earlier versions of Gallio, xUnit or MbUnit this feature can be enabled by crating a simple XML file.

For example, say you have a test project that uses MbUnit 2. This test framework was released long before .tdnet files existed. To make the MbUnit test runner xcopy deployable, you would need to create a MbUnit.Framework.dll.tdnet file and copy the contents of \Program Files\MbUnit\bin into version control.

The MbUnit.Framework.dll.tdnet looks like this:

<TestRunner>
       <FriendlyName>MbUnit {0}.{1}.{2}</FriendlyName>
       <AssemblyPath>MbUnit.AddIn.dll</AssemblyPath>
       <TypeName>MbUnit.AddIn.MbUnitTestRunner</TypeName>
</TestRunner>

The MbUnit.Framework.dll.tdnet file should be placed alongside MbUnit.Framework.dll , MbUnit.AddIn.dll and the rest of MbUnit 2. Once you have referenced the MbUnit.Framework.dll assembly in this directory, you can uninstall MbUnit 2 and still use TestDriven.Net to execute your tests!

If you re using a version of xUnit.net prior to 1.5, the xunit.dll.tdnet file would look like this:

<TestRunner>
  <FriendlyName>xUnit.net {0}.{1} build {3}</FriendlyName>
  <AssemblyPath>xunit.runner.tdnet.dll</AssemblyPath>
  <TypeName>Xunit.Runner.TdNet.TdNetRunner</TypeName>
</TestRunner>

If you need help making this work with any other test framework, please let me know and I d be happy to post the details here.

I hope you enjoy the simplified deployment and versioning of whatever test runner you use!

You can download TestDriven.Net 2.24 & 3.0 Alpha from here.

Delay in Loading ASP.NET pages HI I use Reporting Service

March 9, 2010 – 4:02 am

Delay in Loading ASP.NET pages
HI I use Reporting Service to generate the report and it generate report in aspx extention.I think its an ASP.Net page. Anyway Problem is once I log into those reports from server which I host these pages,Its works fine,but onceI log into those reports from another computer then its takes long…

Convert html file into image format
Hi All, I am having html content in text format and want that to convert as image to send to user instead of Html content to prevent the modification.

News Story Google executives convicted in YouTube bullying case Three

March 8, 2010 – 8:00 pm

News Story Google executives convicted in YouTube bullying case
Three Google executives have been found guilty and given six month suspended sentences in a case revolving around the posting of a video to YouTube which shows a teenager with Down’s Syndrome being bullied. According to the BBC (http://news.bbc.co.uk/1/hi/technology/8533695.stm) Google itself…

PLm in streaming using Asp .net
hi friends i have downloaded a MPEG video and converted into flv format by articulate free movie encoder 09 and save it in C:…when i tried to use that link for uploading using asp .net web application in localhost the video gets streamed but not displayed….can anyone help me to solve this…

avoid double click event
hi any one try to tell me,, i created a button control ,, by double clicking only the process was going on,,when iam single click the button nothing is to be happenend,,so i want to change into single click insted of double click…….. here my coding is given below…….

Byte array in session variable
I have an asp FileUpload and an asp Button on a page. When i click the button, i want the bytes of the file which was supposedly uploaded to be stored in a session variable. Only problem is that they aren’t stored. How should i do this? There’s also a text box with some text in it, need that…

News Story Microsoft Windows Phone 7 Series: nice, but too late to matter?
The long awaited unveiling of the latest Microsoft mobile phone OS is happening as I type in Barcelona at the Mobile World Congress. Twitter is all excited, as you might imagine, with tech journalists and gadget watchers alike swooning over the flashy new additions which would seem to suggest that…

News Story Anti-Google Sentiment Reaches a Tipping Point Google Buzz

March 8, 2010 – 3:00 pm

News Story Anti-Google Sentiment Reaches a Tipping Point
Google Buzz was not a great moment in the history of Google. It seemed to bring to the surface a lot of lingering bad feelings that people have been having about Google for some time. The botched Buzz release only made it worse, confirming people’s worst fears that Google didn’t give a fig about…

TestDriven.Net 3.0 Alpha Support for Visual Studio 2010 Beta 2

For the best part of a week, I ve been battling with the Visual Studio 2010 Beta 2 extensibility model. I m happy to report that - finally - I ve managed to make it bend to my will. ;-)

 vs2010b2

At this point I ve decided to fork TestDriven.Net 2.x and 3.x. Going forward, TestDriven.Net 3 will support Visual Studio 2010, 2008 & 2005. TestDriven.Net 2 will continue to support Visual Studio 2008, 2005 & 2003. They will be developed in parallel until the RTM versions of Visual Studio 2010 and TestDriven.Net 3.0 are released. I will then focus my energy on TestDriven.Net 3.x.

With TestDriven.Net 3.0 Alpha, you can expect the Visual Studio 2008 & 2005 support to be stable.

In order to support Visual Studio 2008 Beta 2, I ve needed to do a number of pretty gruesome workarounds. One of these workarounds involves repainting TestDriven.Net s command bar button icons each time Visual Studio starts (Beta 2 doesn t persist them). All previous versions of TestDriven.Net have activated themselves on demand rather than on startup (when Visual Studio loads). This meant installing TestDriven.Net had no impact on Visual Studio startup times.

If you re sensitive to Visual Studio startup times, it s still possible to make TestDriven.Net activate on demand in Visual Studio 2010. Simply uncheck the Startup box next to TestDriven.Net in the Add-in Manager . Be warned, however, that TestDriven.Net s command bar buttons pictures will appear blank until the first time they re used.

startup2010

For the Test With > Coverage functionality to work with .NET 4.0, you ll need to install NCover 3.2 or higher (see here). You can also use Test With > Team Coverage if you re running Visual Studio 2010 Premium or higher.

team2010

You can download TestDriven.Net 3.0 Alpha from here.

News Story Toshiba to Ship 600GB Small Drive
Last week Toshiba unveiled a series of server-class hard drives that can store as much as 600GB in a 2.5-inch form factor. They’re the first products to result from its acquisition of Fujitsu’s hard drive business early last year. Set to begin shipping in April, the new MFB series…

Progress
Hi all, First time poster, but I’d like to ask a simple question in ASP.NET C#. I have a function that sends queries to an SQL Server. It takes a while, so I’d like to display the details to the user. Something simple, like “Sending x out of 12345 total queries” with x constantly updating…

News Story Breaking News: I Go. You Go. MeeGo?
The announcement (http://www.linux.com/news/featured-blogs/158-jim-zemlin/286723-bringing-the-magic-to-linux-with-meego-) from The Linux Foundation (http://www.linuxfoundation.org)’s Jim Zemlin: —Quote— MeeGo combines Intel s Moblin and Nokia s Maemo projects at the Linux Foundation to…

News Story Microsoft Supposedly Commits to the Cloud Steve Ballmer

March 8, 2010 – 10:00 am

News Story Microsoft Supposedly Commits to the Cloud
Steve Ballmer dropped a bomb shell in a speech the other day at the University of Washington, letting it be known that the desktop software company was basically betting it all on the cloud. In a report on the speech on PaidContent.org…

Visual Studio and MySQL External database
Hello, I am working with visual studio 2008 and an external website host. The real issue is that I am trying to add a “data connection” from the mysql server on my host to visual studio. On the website host mysql is already installed and running, a Database has been created and a user has…

Process Of Database Design
Howdy! I’m trying to get my head wrapped around normalization and it’s not working out to well. I’m using datasheets from the general and primary election results of 2008. The data sheets have a lot of duplicate info in them and I understand that is what normalization is supposed to get rid of….

Which test runner are you using ?Fabio Maulo is doing

March 8, 2010 – 3:00 am

Which test runner are you using ?

Fabio Maulo is doing a poll to find out which test runners people are using:

poll

You can take the poll and see the results here.

Change value of src in embed
how to change src value of element at run time using java script

Best Practices for Object/Relational Mapping and Persistence APIs By Mario Van Damme
In this article I will begin with a discussion of home-grown vs. off-the-shelf persistence solutions, including areas to consider when deciding between the two, and advice for choosing the best off-the-shelf solution to meet your needs. I will also share suggestions and advice from my own experiences with O/R mapping and persistence APIs, with a focus on “best practices.”
Click here for the full article.

DropDownList in GriedView receive paramater Hi everyone, I’ve got a

March 7, 2010 – 8:00 pm

DropDownList in GriedView receive paramater
Hi everyone, I’ve got a DropDownList in Product.aspx when the add to cart button is pressed the value selected is passed onto a stored procedure. What I need help with is in ShoppingCart.aspx I want the selected value on the previous page to be the index on this pages DropDownList. But the…

Issue with fetch row
Hello there, I’m not getting the result’s I want with my code. So this is my table: P_ID Latitude Longitude 9001 15 10 9002 23 54 9003 2 23 9004 23 12 9005 54 23

TestDriven.Net 2.22 RTM - What s New?

I’m happy to report that TestDriven.NET 2.22 RTM has cleared the launch pad!

It has been a while since the previous RTM version, so here is a quick recap of what s new:

NUnit 2.5

TestDriven.Net now includes the production release of NUnit 2.5. This is the recommended version of NUnit if you re using .NET 2.0 or above. To ensure maximum compatibility with .NET 1.x and legacy NUnit extensions, the last releases of NUnit 2.2 & 2.4 are also included.

nuni25

(more here)

64-bit Windows

By default TestDriven.Net will execute test projects compiled for AnyCPU in a 64-bit process. There are however some test runners that must run inside a 32-bit process. If you are testing with NCover 1.5, Team Coverage, dotTrace or .NET 1.1 (MSBee), TestDriven.Net will automatically fall back to using a 32-bit process. To force your tests to always execute in a 32-bit process, you can specify Platform target: x86 in your test project s build properties.

x86

F#

F# is now a first class citizen inside TestDriven.Net. To enable stack traces on failed assertions, you must specify Other flags: –optimize+ notailcalls on your test project s build properties. For best results use NUnit 2.5, MbUnit 3.0 or xUnit 1.1 (which all support test attributes on static methods).

fsharp

(more here)

Options

A new TestDriven.Net options pane is available when using Visual Studio 2005 and above. This can be used to selectively include/exclude tests in specified categories, choose when to display trace/debug output and choose to use new test process for each test run (as a workaround for badly behaved tests).

options

(more here)

Visual Studio 2010 Beta1

Previous beta versions of TestDriven.Net were compatible with the PDC 2008 release of VS 2010, but not the VS 2010 Beta1 release.  To enable support for VS 2010 Beta1, you must do a Complete install and assign keyboard shortcuts to the TestDriven.Net commands you wish to use.

vs2010 

(more here)

Typemock Isolator

TestDriven.Net now includes active support for Typemock Isolator. You can disable the Typemock Isolator add-in and leave TestDriven.Net to enable Isolator for test projects that require it. This can significantly improve performance when starting applications/web sites from Visual Studio and executing tests that don t require Isolator.

typemock

NCover

This version of TestDriven.Net has been tuned to work with NCover 1.5.8 (included with TD.Net) and the commercial NCover 2.x & 3.x versions. When you Test With > Coverage , the contents of NCoverExplorer will be automatically refreshed and only classes with debug symbols will appear in the tree view.

ncover

(more here)

You can download the latest version from here. If you re a professional software developer, perhaps your employer would be interested some Enterprise licenses. Feel free to point the appropriate person in your organization to the licensing & purchase page or contact us for a quote. :)

I m now going to start working on the next version in earnest. You are welcome to contact me with any suggestions you have for a future release.

Thanks for your support, bug reports and interest!

Get value of inputs with Jquery
I have 100 inputs with name - table[]. How to get their value with jQuery,like $_POST[’table’] ,as I do in PHP. I tryed

News Story Class Action Lawsuit Against Google Buzz’s Privacy breach

March 7, 2010 – 12:00 pm

News Story Class Action Lawsuit Against Google Buzz’s Privacy breach
I wish I had gotten this story before the San Fransisco Chronicle (http://www.sfgate.com/cgi-bin/blogs/techchron/detail?entry_id=57438&o=3&gta=commentslistpos#commentslistpos) or Cnet, (http://news.cnet.com/8301-17852_3-10455573-71.html?tag=rtcol;pop) but the truth is they got it before me. A lady…

News Story Apple iPad is no good for business (says Windows Tablet manufacturer)
If you look past the inevitable consumer lust for anything new and Apple shaped, does the iPad actually live up to the hype? I’ve already made my own feelings on why the iPad will be no game changer (http://www.daniweb.com/news/story255990.html) (at least not in version one form) quite clear,…