xuding's Q&A profile
SQL Server Installing SQL Server Express
I am having a problem installing SQL Server Express 2005 from the command line in that it gets part way through and then stops - no message - just terminates. After much rooting around in log files and running a normal install I'm pretty sure that it is stopping because of a warning regarding "Minimum Hardware Requirements". The laptop I'm trying to install it on is a Samsung X05, Centrino 1.4, 1gb RAM and 60gb free disk space. I've tried it on another laptop (Sony with a higher spec.) and get exactly the same problem. As far as I can see the hardware spec is well above the recommended minumum so I'm at a loss as to what to try next to overcome the problem. If anyone has any suggestions then I'd be very grateful. ...Show All
Software Development for Windows Vista Token through to Page.User
I am building my own demo site based on the JulyCTP samples of "intro to CardSpace with IE7" and "decrypting a security token". Things are going well. I was wondering about the best way to get the Token attached to the Page.User so I can utilize the authentication and authorization tools of the rest of the framework. I see there is a call to EndpointIdentity.CreateIdentity in the TokenHelper class. Is there someway to get that into an IPrincipal How would that be done so it automatically assigned the IPrincipal for all Page.User's of all the web pages Thanks! Noremac You can get to the token in the pipeline. Try to use Context.Handler (which is of type Page when you post ba ...Show All
Visual Studio Express Editions How do I Lock a button from being clicked?
Hi, how to lock a button from being clicked , and also how to achieve the "locked" or "unavailable" style Thanks. ...Show All
Windows Forms Panel / GroupBox as Containers
Hi Iam trying to open a windows form inside a panel or groupbox control, it gives me a error. I need similar sort of functionality, how to proceed. can anyone help me on this . thanks in advance sriram What kind of error If it's the "top level form error," just set the form's TopLevel property to false during run-time. ...Show All
.NET Development Insert/upadte thousands of records in the table from an excel file depending on some business logic.
Hi, I have an excel file with thousands of records which contains Employee data. Depending on some business logic I want to upadate/insert the records in a table "Employees". Is there any way to do this with little performance impact Please reply... Thanks in advance, Suren... Hi, Thanks for reply. But prior to loading the data want to apply some business logic. I want to check for the duplicate records in the excel file as well in the database table for the same. If the records are duplicate I dont want to insert that record again. Regards, Suren... ...Show All
Windows Forms "Index was out of range." error. Gridview.
Hi, I'm trying to pass the contents of a data cell onto a command using GridView. I keep getting the error that's listed in the subject on the line in red below. If I have a line like: lblStatus.Text = Convert.ToString(e.CommandArgument); (lblStatus is just an arbitrary label on my page) The output returns the correct row number. What is going on Thanks! protected void gridSearchResult_RowCommand( object sender, GridViewCommandEventArgs e) { if (e.CommandName == "PingURL" ) { if ( Convert .ToInt32(e.CommandArgument) > -1) { int index = Convert .ToInt32(e.CommandArgument); GridViewRow row = gridSearchResult.Rows[index]; string Pingy = ( string )row.Cells[1].Text; ...Show All
Software Development for Windows Vista Versioning in workflows
I'm writing a web service that hosts the WF runtime and the idea is that people can write their own WF assemblies that are then picked up by the web service and made available to the outside world. This all seems to be working OK apart from the problem with versioning that has been mentioned elsewhere on these forums. I guess I can probably deal with keeping several different versions of the same assembly around based on what versions are still in use. But what I'd like to know is if there is a way to deal with in-progress workflows that can't find their relevant WF assembly, since the chances are this will happen at some time I'd like to be able to terminate them but I'm unable to get hold of a WorkflowInstance so can't terminate them tha ...Show All
Visual Studio Team System Build errors after removing VS Team Suite and installing VS Team for Tester
Hi, I recently removed Visual Studio Team Suite Trial addition and installed Visual Studio for Testers. When I build I get the error: Error The "CodeAnalysis" task failed unexpectedly. System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Build.Tasks.CodeAnalysis.GenerateFullPathToTool() at Microsoft.Build.Tasks.CodeAnalysis.Execute() at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound) Not that it matters but I was using Visual Studio Team Foundation Server for my source code management but switched over to Visual Sour ...Show All
Visual Studio Team System Is it a good thing to use multiple scenarios in a Load test or not?
For Load testing I am currently reusing Web test scenarios. I am wondering that if I reuse 2 different Web tests scenarios in 1 Load test, would that be a good test Or If I run individual Load tests on each scenario Is it a good thing to use multiple scenarios in a Load test or not Thanks Thanks a lot. This really helped me a lot... ...Show All
Windows Forms Transfer data between forms
Hello, i would like to set variables that i will be able to see from both win forms. i can i do it lets say i build another class that holds these values or even just define a simple string that i want to see from both win forms where should i define this string or where should i start the class From program.cs how should i define such variables take a look at this: VB.NET: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=700821&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=835382&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=777222&SiteID=1 C#: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=729974&SiteID=1 ...Show All
Visual Studio Express Editions A bit of Help Please
In some code that I am doing i have the following in place to keep users from inputing text. However, i want to make sure that following code also allows me to use "." to seperate dollars and cents. I want to use the following code if possible. Private Sub txtPurchase1_KeyPress( ByVal sender As Object , _ ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtPurchase1.KeyPress ' textbox1 just accept numeric data If Char .IsNumber(e.KeyChar) Then e.Handled = False Else MessageBox.Show( "Please enter correct format. (i.e. 20.00)" ) e.Handled = True End If End Sub Thanks in advance. // First, I am in class that ...Show All
SQL Server SQL Server 2005 Service Pack 2 - November CTP Now Available
Thank you to everybody who has submitted feedback on Microsoft Connect. We have taken a lot of your comments/ideas into account for SQL Server 2005 Service Pack 2. Many of the top issues for SQL Server Management Tools have been addressed in this service pack. What's New in SP2 http://go.microsoft.com/fwlink/ LinkId=71711 SQL Server 2005 SP2 - November CTP: http://www.microsoft.com/sql/ctp.mspx The SQL Server Manageability team has focused on a few main items. If you have a question in any of the following areas, please take a look at the November CTP of SP2: Management Studio Reports Generate Script Wizard Copy Database Wizard Maintenance Plans Database Mail I will blog about the first four over the next fe ...Show All
Microsoft ISV Community Center Forums Textbox won't keep new values after workbook closed
Hello, I have this issue, I have a Textbox on a Userform that loads when a workbook is opened. If a user modifies the content of that textbox even if the workbook is saved the new values are not kept the next time that workbook is opened. How can I save the new values I would prefer not to store those values in a cell and then load them in the textbox each time the workbook is open. Is there another way Thanks the only other way is to save the data to file or to a database.... I posted an article on saving userform state that might be helpful here... http://dsmyth.blogspot.com/2006/05/saving-user-interface-state.html ...Show All
.NET Development error CS0016, Directory doesn't exists
My computer is Windows 2003 Czech Service Pack 1. The runtime compiler of ASP.NET writes an error: Cannot write c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\groupware\1f05e8b9\4c6f09e7\5fxnyxkz.dll. Directory doesn't exist. But the directory 4c6f09e7 exists and there rigth quotes in commandline, when IIS calls csc. On my deskto Winows XP Professional, Windows 2003 Eng this error doesn't occures. See: c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\csc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.data ...Show All
Windows Forms including external folders in ur deployment package???
hey... Can anyone tell me if it is possible to include folders and files within them in the deployment package I am trying to include 2 folders with files in these folder with the deployment package, so that when my program is installed on a system the two folders are placed in the same folder as the application path. I know that it is possible to add files, but I can't seem to find a way to include these folders. i am using VS2005 thanks in advance hey all the problem is i want to copy folder from specfic location to my setup folder when i run my deployment project the folder contains data that changed from one user to another . thanks ...Show All
