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,…

News Story School Using Webcam to Spy on Teens? One

March 7, 2010 – 7:00 am

News Story School Using Webcam to Spy on Teens?
One of the biggest security stories so far this year is that of the high school that remotely triggered webcams in laptops given to students — which the school said it only did to help track stolen laptops, and which some students and families said was a violation of their privacy, with the…

Upload image c# php
Hey guys im having a little problem with this project im working on basically im making a desktop image uploader for this site http://www.noelshack.com/api.php i have tried hacking around with some example code but cant get anything working i cant even check if the images are uploaded correctly…

how to take data from other table in the same project?
I am developing a project in ASP.Net using C#. I don t know how to take data from other table (SQL database) in the same project and save the data into another table using C#. Let say that I have two table that is registration and user. In the registration table, there have metric_number and in…

How to convert DVD/video and transfer iPod to PC(Mac/Windows)
*Eye catching:* *Aiseesoft DVD Converter Suite for Mac* (http://www.macsoftreviews.com/aiseesoft-dvd-converter-suite-for-mac.html) is a suite pack with *Aiseesoft DVD Ripper for Mac and Aiseesoft Video Converter for Mac* combined. It is especially designed for the Mac users with high output…

How to retrieve data
I am developing a project in ASP.Net. How to retrieve data using C# from certain table (SQL database) based on user_id after user log in. And how to display the data into text box and label after user click Show button?

Receive HTML Email from PHP Script Contact Form I was

March 7, 2010 – 12:00 am

Receive HTML Email from PHP Script Contact Form
I was wondering if there was a way to create a PHP Contact Form where the email that is sent can be formatted for html. So that for example the email that is received is formatted like an html page where it contains a background, images & formatted text. I can’t figure out how to do this. I…

Improved support for MbUnit, xUnit and Gallio

The main focus of the TestDriven.Net 2.18 release has been to improve support for test runner plug-ins in general (not just NUnit). If you re using xUnit, MbUnit or Gallio I recommend you upgrade to this version.

Automatic support for 64-bit machines

The registry layout on 64-bit machines is plain weird and full of pitfalls for the unwary. The registry layout is different depending on whether you re installing under HKLM or HKCU. Under HKLM the SOFTWARE key is split and test runner plug-ins needed to be registered twice in order to work in both 32 and 64-bit processes. There is no such split under HKCU and plug-ins installed there only needed to be registered once.

This created the unfortunate situation where plug-ins installed for all users wouldn t work when running in a 64-bit process, but plug-ins installed just for me would work fine. Rather than expect plug-in developers to deal with this weirdness, I ve made some changes to automatically support plug-ins that aren t 64-bit aware.

If you have an assembly that needs to work on 32 and 64-bit machines, you may find the following snippet useful:

    public static RegistryKey OpenSoftwareKey(bool hklm, string name) 
    { 
        string fullName = @"SOFTWARE"; 
        if (hklm) 
        { 
            if (Marshal.SizeOf(typeof(IntPtr)) == 8) 
            { 
                fullName += @"\Wow6432Node"; 
            } 
            return Registry.LocalMachine.OpenSubKey(fullName + @"\" + name); 
        } 

        return Registry.CurrentUser.OpenSubKey(fullName + @"\" + name); 
    } 

The following ad-hoc test will display TestDriven.Net s install directory (assuming TestDriven.Net is installed for all users ):

    void test() 
    { 
        using(var key = OpenSoftwareKey(true, @"MutantDesign\TestDriven.NET")) 
        { 
            Console.WriteLine(key.GetValue("InstallDir")); 
        } 
    }

Better support for ah-hoc tests

In previous versions of TestDriven.Net, a test runner plug-in was required to explicitly signal when none of its tests were found for execution. This would give other test runners (such as the ad-hoc test runner) a chance to handle the test. Unfortunately most test runners have been signaling a successful test run when tests were found but none were targeted.

I ve changed it so the ad-hoc test runner will automatically get a chance to execute if no tests were executed and the test runner plug-in indicated a successful test run. The upshot of this is that you can now have ad-hoc side-by-side with MbUnit or xUnit tests.

If you re using xUnit, try doing Run Test(s) on each of the following methods:

    [Fact] 
    public void TestMe() 
    { 
        Console.WriteLine("Console output isn’t displayed when using xUnit"); 
        Assert.True(false, "Comment out [Fact] and run as ad-hoc test! ;) "); 
    } 

    void hello() 
    { 
        Trace.WriteLine("Hello, World!"); 
    } 

    void dump() 
    { 
        Trace.WriteLine(AppDomain.CurrentDomain, "_verbose"); 
    }

(ad-hoc tests should work side-by-side with all other test framework methods as well)

Improved performance when executing with Gallio / MbUnit v3

Gallio is a test runner that supports many different test types (MbUnit, xUnit, NUnit, MSTest and more). It has its own plug-in architecture and it doesn t use the default TestDriven.Net app domain test isolation. This makes Gallio very flexible, but it also meant it wasn t appropriate to setup and tear down the Gallio engine for each test run.

I ve made some changes to allow Gallio to stay resident in the test process. This has significantly improved performance (especially for short test runs). If you re using Gallio/MbUnit v3, try upgrading to Gallio v3.0.5 build 546 and see how much of a different it makes.

Feedback

There have been lots of other changes which you can find in the release notes. If you notice any new issues, please don t hesitate to let me know!

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…

News Story Sex in Second Life ain’t all that (says

March 6, 2010 – 6:00 pm

News Story Sex in Second Life ain’t all that (says Linden Lab CEO)
At the start of the year, Barry Collins (news editor at PC Pro magazine) published an interesting piece (http://www.pcpro.co.uk/features/354457/whatever-happened-to-second-life) on how he had recently revisited Second Life having three years earlier found it to be packed full of folk doing lots of…

News Story European changes: the real story
OK, this is a European story mainly but I do believe it’ll be of value to the American readership here (which I assume is the majority). Basically thanks to pressure from the European Union, on Tuesday Microsoft made it clear to all European users that they could choose between web browsers rather…

implode function issues
i have a multiple select drop down menu and i want to implode all the selections that were chosen. can any one offer some assistance on how to do this please. this is what i have so far