Andrei P's Q&A profile
Visual Studio Team System Rename Teamproject with the connand line
Hi all, What is the command and syntec that rename teamproject name (RTM) 10x vizi ...Show All
Visual C# c#
Can any one tell me of a good training place for C# I would like to get like a 5 day training course. gee there are a lot of good trainining options in order to know a specific language, 1. Self paced trianing 2. Training Centers 3. Forums ...Show All
Software Development for Windows Vista Confusing statement in MSDN article on WWF
In this month's MSDN magazine article on WWF by Don Box and Dharma Shukla there is the following paragraph: " Despite the inherently asynchronous nature of the runtime/activity contract, the runtime will never make concurrent calls to a given activity. Rather, any given activity is guaranteed to have at most one method invocation executing at a given instant. This vastly simplifies the task of writing activities in languages like C# or Visual Basic. " Is this per workflow instance, or per activity period For example, let's say I have a sequential workflow that has a sequence activity that contains two code activities.  ...Show All
SQL Server Package config errors - VS_NEEDSNEWMETADATA
Hi everyone, I am having issues with using package configurations when just chaging the ServerName and InitialCatalog vars of a Connection Manager. I have DelayValidation = True on the Data Flow Task that is erroring out, but I am still recieving a VS_NEEDSNEWMETADATA error before the package is executed. The 2 boxes have identical tables I'm trying to access, although 1 is 2005 and the other is 2000. Any thoughts I thought that package configs were supposed to be quick and painless Thanks, Adrian We worked around this by setting the source to a SQL command rather than a Table/View ...Show All
Windows Forms Something like stylesheet?
Helo! I'm new in VB.NET. I will have to make a serious application with unique look. What I mean is, that every form has the same colour, uses same fonts, same size of the fonts... How can be this done in VB.NET I'd like to be able to change something (like background color of the form), and all the forms would change color also. What shoul ...Show All
.NET Development Unmanaged application using managed library can't find referenced assemblies
There's a C# application with some DLL's. There's an unmanaged application (Total Commander) and I want to create a plugin for it that uses some functions from my C# libraries. I figured the best interface is a managed C++ library: it implements the unmanaged plugin interface by exporting the necessary functions, and it calls into my managed code, so I don't have to reimplement that library. Problem is, it can't find the referenced assemblies (FileNotFoundException, File or assembly name ... or one of its dependencies blah blah). It finds them when they're in the GAC, but for other reasons, these assemblies shouldn't be installed there (they ...Show All
Windows Forms Incorrect row count
I have a DataGrid where a user enters product details. The details that a user can enter are ProductID, Quantity and Rate. An additional Amount column is an aggregate column that calculates the value of Quantity * Price. Whenever a user enters data the RowChanged event of the underlying DataTable is fired can caught. In the method that handles this event,&n ...Show All
Visual J# Opening/Selecting Editors
Hello, I am having a bit of trouble with what might be a fairly simple task. I am looking to open a rather large (12k lines/ 5M) log file. I was unable to simply insert it within my form in a rich text box ( it just hung). I decided what might be better would be allowing the user to open the file with whichever editor they prefer (WordPad,ConText,ect...) I was unable however to find a way of launching an application (and having it open the selected file). I am very new to .net and I would really appreciate any direction or advice that might be offered. (My experiance lies in Java so J# commands would be prefered but certainly not ne ...Show All
SQL Server How to get the Columns list to the end user?
Hello Nilay here, How to display the coulumn list of the reports to the end user Thanks, In SQL Server 2005, you can use a multi-value parameter to prompt the user. Then you can write an expression/custom function to parse the output of the parameter. Call that expression/custom function in the visibility expression for the column in your table/matrix. You'll need to make sure the choices in your parameter list are are kept in sync with your fields list, that's something that we don't provide by default. -Lukasz --- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Visual Studio Express Editions Print to file
Hello, I am trying to print to a file a report I normally would send to a printer. Does anyone know of a way to send my newly created report to a file or email I was trying to use PrintDialog's .PrintToFile but I think that's only to create a file you can send to the printer at a later time. Thanks Bhanu, Thanks for responding. Yes, I want to send the report to an email recipient without having to work too hard! I have created a report using the PrintDocument object with different fonts, text formatting and graphics (e.g. drawline, drawrect), and I would like the user to be able ...Show All
Visual Studio Express Editions Visual Studio C# 2005 Beta 2 won't unistall
I uninstall all of beta 1 to the best of my knowledge and installed Beta 2. When I run Beta 2 I get the following error message... "Package 'Visual Studio Common IDE Package' has failed to load properly (GUID={6E87CFAD-6C05-4ADF-9CD7-387943875B7C)}. Please contact package vendor for assistance. Aplication restart is recommened, due to possible environment corruption. Would you like to disable loading this package in the future So I tried to unstall the program and then to do a reinstall, however Visual studio 2005 beta 2 refuses to uninstall, and when I try to reinstall visual Studio 2005, it says there is a previous ve ...Show All
Visual Studio Express Editions Check Array for in another Array
I have a console utility I am trying to build and I am wondering what's the best way to go about checking one array to see if each of it's values are in another array Let me explain. I have a text file which is set up like this: UserID1,Group1 Group2 Group3 Group4 UserID2,Group1 Group3 Group4 UserID2,Group5 Group6 So, one UserID can be on multiple lines, but groups never repeat. I also have setup an array of groups that the user SHOULD be a member of. GroupsNeeded = ("Group1", "Group2", "Group3", "Group4") (I don't know how to initialize multiple values in an a ...Show All
Software Development for Windows Vista Remote Desktop - Media Player Stops Playing
When I access my computer from remote desktop, and play a music file, when I exit RD, Media Player stops playing the file. Is there a solution to this problem ...Show All
Smart Device Development resource or assembly not found when catching exceptions
Hi. I swear I've been able to do this before. Using .NET CF 2.0, WM5 smartphone. Anytime there is an exception being caught, I want to see the inner exception message or just the general exception message but everytime I look at it, no matter what type of exception, i always get the message that a resource or assembly could not be found. The proper namespaces have been declared, what am I doing wrong Please see this: http://blogs.msdn.com/netcfteam/archive/2004/08/06/210232.aspx ...Show All
Visual Studio Express Editions How do I round a number to nearest .5
I have a formula in my program which returns values such as 4.67. I would like it to round that value to the nearest .5. In this example, I would like a return value of 4.5. Does anyone know how to do this I am not very familiar with the Round functions. Thanks a bunch. Melissa CY = (TextBoxDepth.Text / 12) * (TextBoxLength.Text * TextBoxWidth.Text) / 27 CYR = Math.Round(CY, 1) - not sure what to put here Melissa, I don't think Math.Round will get you the answer that you want. First the variable CY must be typed as Decimal. Then the second parameter will round the number to a number of decimal ...Show All
