Lilian K's Q&A profile
Visual C# Partially cancelling execution
I'm trying to figure out the best way to cancel a computational task within an application. For instance, say I'm implimenting the Command Pattern . When a specific event occurs (esc button pressed) I'd like the currently running command (if exists) to stop executing so that the application can be immediately rolled back to the state before the command started. Another example would be the class I'm currently working on that I'd ...Show All
Visual Studio Recommended installation order for development tools
Hi, I'm looking for the URL (MSDN) where it says in which order I should install all my development tools ( Visual Studio .NET 2005 Professional, IIS 5.1/6.0, Visual Studio .NET 2003 Professional etc. ) and what things to avoid. The best thing MS could do is to make a doc (a Walkthrough) for each of the OS's that support VS2005 and IIS and publish it on MSDN. There are so many things that can go wrong. Thanks, ZAiNT ...Show All
Visual Studio SS 2005 Get and Get latest error
im using vpn to connect to SS database , via drive mapping and then set up https access to source safe 2005 successfully and its working perfectly. Now I can work while disconnected from VPN The only problem is that when I select the project and click get or get latest, the error appears saying , --------------------------- Microsoft Visual Studio --------------------------- The current source control operation cannot be completed. The ...Show All
Visual C# How to declare variables inside DataTable Queries like SQL
Hi, I would like to ask this question as part of the example. How can we use variables in SQL Query in a DataTable/DataSet - that are defined only while querying. Let's look at the following simple SQL Query where I am declaring "@var" only while querying. DECLARE @var varchar(15) BEGIN SET @var = 'monday' END SELECT * FROM Table_Name WHERE _col_Name = @var This example is only a simple representation. Actual implementation is much different bu ...Show All
Windows Forms Added unbound grid rows are blank
Added unbound grid rows are blank I have a master-child relationship. The master are unbound controls, and the two children are grids. The column names and types I created in the columncollection. When I save the master, values automatically go into the grid columns and saved. They appear in the grid and are updated correctly to the database. If I add another row, it's values appear in the second row. However, the first row ...Show All
Windows Forms Method '<method>' cannot handle Event '<event>' because...
I am getting the following error where ntfHelpDesk is a NotifyIcon. <color="firebrick">Method 'ntfHelpDesk_DoubleClick' cannot handle Event 'DoubleClick' because they do not have the same signature.</color> Any help is appreciated. <quote> Now that I'm  ...Show All
SQL Server Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Keep getting this error when positioning to the last page of a report. Using Server 2003...SqlRpt Svcs 2000 sp2 Detail error msg: Exception of type Microsoft.ReportingServices.ReportRendering.ReportRenderingException was thrown. (rrRenderingError) Get Online Help Exception of type Microsoft.ReportingServices.ReportRendering.ReportRenderingException was thrown. Index was out of range. Must be non-negative and less than t ...Show All
Visual Studio Team System To detect value of CommandType
"Use CommandType.StoredProcedure instead of CommandType.Text" Can FxCop be used for this @ IL there seems to no difference for StoredProcedure / TableDirect / Text. What makes you say there seems to be no difference The following method: public void StoredProcedure() { SqlCommand command = new SqlCommand(); command.CommandType = System.Data.CommandType.StoredProcedure; } & ...Show All
.NET Development free web hosting asp.net
can any one tell me abt some sites of asp.net free hosting... banner, ad allowed....no problem. ...Show All
SQL Server AdomdConnection.GetSchemaDataSet - using restrictions
I'm attempting to use AdomdConnection.GetSchemaDataSet to see what information is in the AdomdSchemaGuid.PartitionStat dataset. I am setting the restrictions parameter to null. The error I get is "Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException : XML for Analysis parser: The DATABASE_NAME restriction is required but is missing from the request." All well and good, except that I can't see in the documentatio ...Show All
Visual Studio 2008 (Pre-release) Cannot open SvcConfigeditor.exe.
Hi, I am unable to open SvcConfigEditor.exe. It does not open and I get a message that it has encountered a problem and needs to close. Thanks, Akhil Depending upon the build and framework versions that you are using, this may be worked around by turning off strong name verification for the tool: sn -Vr SvcConfigEditor.exe You can further restrict the impact of this by doing this just for you ...Show All
Visual Studio Support for Web Application Project
Does the Guidance Atomation Toolkit support the new project type "Web application Project" that should be an alternative to the WebSite project type No, it doesn't. However, provided you know the GUIDs and IDs of the command bars exposed by this new project system, you can attach recipes and templates to them easily by specifying that information in the <CommandBar> element. ...Show All
Visual Studio 2008 (Pre-release) alternate styles for a control
hi, can any one please tell me how to implement alternate styles for my control in WPF dynamically thanks in advance nani You mean something like "skins" Where a person can change the look of the application on the fly ...Show All
SQL Server Unable to delete a user from sys.sysusers
Hi, I have a user in my SQL server 2005 database sys.sysusers table with following values. I am unable to delete this user and unable to create a user with this same user name. Please tell some one what is status=16 and issqluser=0 status 16 ame \CMSXXCMSTESTER roles NULL altuid 5 hasdbaccess 0 ...Show All
Smart Device Development MenuItem Control.Invoke
I'm developing with .NET compact framework 2.0 and I want to modify the Text of an MenuItem from an another thread. I want to use the method Control.Invoke of the MenuItem but this control hasn't got it. What could I get it I don`t want to use a statusBar. Thank you. ...Show All
