Snigdha's Q&A profile
Windows Forms send values to a textbox from a textbox on other winform
hi all, pls help me with this prob: i hv this one textbox on a form with some values (comma separated) and need to pass these values to another textbox on another form. Codes in C# are most welcome. VB.Net also fine. Thanks guys. Regards. Hi, first of all your two Forms do need to know each other . So at least Form1 needs to have a reference to Form2, in order to fill the TextBox.Text prop ...Show All
SQL Server CREATE SUBCUBE Syntax and Example
Can anyone provide an example of the right syntax for the CREATE SUBCUBE statement And possibly discuss its use a bit For example, from a client tool (like Excel), would there be any way to execute a CREATE SUBCUBE statement such that all browsing done within Excel was bound by the scope of the subcube While perspectives provide a great server-based mechanism for creating scoped sections of a cube, I need a way to do this on ...Show All
SQL Server RS on clustered server
I installed clustered sql2k5 with RS, and went through RS configuration without error. But got following errors when try to browser RS site, IIS is running: For reports site, I got: Server Error in '/Reports' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file ap ...Show All
.NET Development How to create XmlTextReader object for a string stored XML content? Many Thanks!
How to create XmlTextReader object for a string stored XML content Many Thanks! Normally, we create XmlTextReader object using a filename parameter, such as XmlTextReader my = new XmlTextReader(@"E:\Temp_WriteXMLToBookmark\1.xml"); but I have stored XML content into a string, how to create XmlTextReader object for the string stored XML content There is a stupid way, that is to save the string as a XML file first,then use XmlTextRea ...Show All
.NET Development Regex Help
Hi, I have a String like this string s = @"<Body>\r\n<Font face="Arial" size=10>\r\nwelcome to Csharp Regex\r\n</Font>\r\n</Body>"; I want to Replace the string "<Font face="Arial" size=10>\r\nwelcome to Csharp Regex\r\n</Font>" to " some text";I Use the following regex. string s = Regex.Replace(s, @"<Font (.* )>(.*)</Font>","some Text", RegexOptions.Multiline ); ...Show All
Visual Studio Team System "tf labels" command does not display label comments.
According to the documentation for the "tf labels" command, the output "Includes label owner, date and time created, and the comment associated with the specified label." However, there is no "Comment" column in the output. Is this a bug That will be EXTREMELY useful! Thanks very much for taking the time to do that! ...Show All
SQL Server Error Message 443
Hi, I'm trying to create the following function: CREATE FUNCTION dbo.get_id(@name NVARCHAR(50)) RETURNS INT AS BEGIN DECLARE @id INT SET @id = (SELECT id FROM dbo.language WHERE name = @name) IF @@ROWCOUNT = 0 RAISERROR('Specified item does not exist', 16, 1) RETURN @id END GO And I get the following error message: Invalid use of side-effecting or time-dependent operator in 'RAISERROR' within a function. ...Show All
Visual Studio Team System TFS install - problem setting up and connecting with new user
I have a new installation of TFS (RC), installed on a single server in workgroup mode. I am now at the point of creating local machine users and adding them to TFS. Since there are other system permissions (sharepoint, reporting svcs) associated with TFS admins, i created a local group for this and added it to the appropriate roles in sharepoint, reporting services, and in TFS (when logged in as TFSSETUP of course). However, i did not make this ...Show All
SQL Server Connection Manager ignores expressions with script component
I have written a script source component and attached a flat file connection. The connection string of which is defined by an expression. However when I get the connectionstring from the connection in the script it has the default filename value of flat file not the value of the expression. This is proved by passing in the filename variable, and comparing the 2. The flat file has an expression on the ConnectionString of @[User::filename] ...Show All
SQL Server SQL Management Studio integration with SourceSafe
Hi, as I've read from msdn threads there is a way, to source control Stored Procedures through Management Studio, but I haven't found a step-by-step guide how to do this. What I've done is selected SourceSafe as a source control program in Management Studio, but still I don't have any "Add to source control" option on Stored procedures. Can somebody help me with this stuff You should genarate separa ...Show All
Visual Basic Can’t load old versions
Hi, It seems that the upgrade wizard does not function in my VB 2005 Express. I have VB2003 projects and vb6 projects but when i try to load any of them in the vb2005 express nothing happens. A very rapid window flash and nothing. Is this a normal limitation of the 2005 Express. Solved the problem Some kind of incompatibility between Fonts in then IDE (Tahoma - Normal). Changed font problem was ...Show All
Windows Forms Nox invasion
Hi, I was just wondering what type of animal, and why the Nox 3.6 has totally invaded my ecosystem. Thanks Well I am not sure about this, what I would really like to see is an advanced terrarium and a beginner terrarium. but& ...Show All
Visual Studio Team System How do I make FxCop ignore Designer Files??
Hello! I am currently using FxCop for analysing my code... I have supplied it with rules that I coded by myself, and it works great! Unfortunately, all the designer files that Visual Studio makes (Form1.Designer.cs for example) are not passing "My Custom Rules". I want to ignore these files in the most efficient way, preferebly through the code I wrote for "My Custom Rules". With each member that I got through the "Check" functi ...Show All
SQL Server try to setup membership with ASP.NET configuration
When I whant the use the new ASP.NET configuration tool (2005) and I want to define a provider I get the following error. You should know that on installation of VS 2005 SQL-Server Express did not install and I installed SQL-Server 2005 (shiped with VS 2005). So now it seems that VS waits for the Express edition. I changed under Tools/Options/Database Tools/Data Connections the SQL Server Instance Name to "MSSQLSERVER" but this does ...Show All
Visual Studio Team System File/Folder-level security
Hi all, I'm not sure whether this question should goes into VSS2005 or TS, but we have high requirements on security. Let's assume we created Team Project, and 5 developers are working on it. However, only 2 senior developers are authorized to access some core source codes, and the rest should be able to do their own parts without the ability to read or open the core source codes. Can this scenario be achieved in VSTS A brief look of the scenar ...Show All
