acemtp's Q&A profile
.NET Development Delegate.Combine()
Is there a way to combine delegates in-place I'm trying to deserialize a delegate for which I need to create an unitialized Delgate (via FormatterServices.GetUnitializedObject) in order to resolve references during deserialization. Once all references are resolved, the delegate will need to be initialized but the refererence to the unitialized multicast delegate cannot change. I can use reflection to initialize the delegate and the Combine method provides a way to add delegates to the invocation list but combining delegates produces a reference to the combined delegate destroying the original reference resolution. Thanks, Ray ...Show All
Visual Studio Check in web service that are already under source control for VS2003
At this moment we are upgrading web services, that are already under source control, from VS2003 to VS2005. The upgrade is successful, but when we want to check these web services in VS2005 is complaining that the *.asmx is already under source control and stops with check in of the other files. For a web service we checked the other files in with our source control manager and reopened the project. VS2005 do not notice that these files (app_code\*.cs) are under source control. Does anybody know what the problem is thanx in advance How did you migrated your VS2003 web project To a (folder-based) website o ...Show All
.NET Development the System.Net.Mail ????
Hi, I wanted to ask about the System.Net.Mail. How to use this name space in Visual C++. I cannot seem to find it. It is available in VB and VC# but not in VC++. Best Wishes Hi there, There's an example at the below link on how to use System.Net.Mail (well in C++ it's System::Net::Mail) in C++: An example If you're already tried something like what is described in the above link, then sorry about making you go through hoops again. If you get specific errors (e.g. compile errors or the like) perhaps it would be a good idea to post them as this'll give forum readers an insight into what's going on and in ...Show All
SQL Server Report task?
Hello, I'm not sure if this one should be in this forum. Anyway... I need to build some reports in MS Word format. Is there are any way to do that It can probably can be done in Reporting Services, but how I can merge these two tools in one project (solution) for example Thanks. Seems too complicated and there is definately lack of info how to do that on practice. But thanks anyway. ...Show All
Visual Studio Team System Can multiple team projects use the same source control tree?
I've read through as much as the TFS docs as I could find, but I've yet to see an answer to this. Can multiple Team Projects use a single source control tree or does each one have to have its own tree Here's my situation: We have a good size main tree that has 90+ projects (dll's) in it. There are perhaps a few dozen teams that contribute to these and each team has anywhere between 2-5 projects. All of the teams must check code into a single place so that a common build system can build all of it (they're all components of a single large app). What I'd like though is to have each team with their own Team Projects -- t ...Show All
SQL Server Could not obtain a DataReader object from the specified data flow component.
I am getting the following exception when attempting to read from a DataReaderDestination: System.Exception was unhandled Message="Could not obtain a DataReader object from the specified data flow component." Source="Microsoft.SqlServer.Dts.DtsClient" StackTrace: at Microsoft.SqlServer.Dts.DtsClient.DtsCommand.internalPrepare(Boolean fReaderRequired) at Microsoft.SqlServer.Dts.DtsClient.DtsCommand.ExecuteReaderInThread() at Microsoft.SqlServer.Dts.DtsClient.DtsCommand.ExecuteReader(CommandBehavior behavior) at CA3DataImportTool.ViewSSISOutput.btnRun_Click(Object sender, EventArgs e) in C:\Documents and S ...Show All
Visual Studio 2008 (Pre-release) System.Servicemodel Problem
When I'm executing my application that I built in the January CTP I get the following error... System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for system.serviceModel/services: Could not load file or assembly 'System.ServiceModel, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 112) ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.ServiceModel, Version=2.0.0.0, Culture=neutral, PublicKe ...Show All
SQL Server File permissions
Hello, SQL 2005 resets the file permissions for database files when they are attached. Documentation shows that this is for security purposes. Is there any way to turn off/override this feature Basically, I need a way to attach a database file while preserving the user permissions with that file. Thanks. Just a follow up, but I have not found a way to override the reset of file permissions, so I will try to find another way around the problem. ...Show All
Visual Basic VB6: Application limits
While creating multiple windows forms with ActiveX Controls is there a limit on number of total controls that are created & Active at one time . If so is there a way to adjust these limits When i was creating a large VB6 application a while back i did hit a limit to the number of controls i could fit on one form (may have been 255 cant remember). I got round this by creating all my label controls as a control array. ...Show All
Visual Studio 2008 (Pre-release) Synchronizing two listviews / listboxes
I'm looking for a way to keep two listviews synchronized. In other words, if one is scrolled, I'd like the other to be scrolled the same number of items. Ideally, I'd like to have a listview / gridview, and be able to "freeze" the left column of the grid. But in order to accomplish something that works the same, I could just keep two listviews in sync. Is there a way to do this in XAML I think it will require coding. Take a look at the DataBindingLab example. It uses a CollectionViewSource to synchronize a detail content display with the selected item in a list. While experimenting, I ha ...Show All
SQL Server Problem with Totals with calculated cells
Hello I have a problem with totals I have the following dimension -Turnover 700 ----Software 100 ----Hardware 150 ----Other 200 ----Other total 250 The other total is a calculated cell where I make a sum of Software and Hardware, This works fine in the cube But the total of turnover is 700, this is wrong and must be 450 (Software + Hardware + Other) In SSAS 2000 he does this correct So my question is , how to exclude the calculated cell in the total of the parent Anyone an ...Show All
Visual Basic How do I edit properties of a dataset from XML Schema (xsd file)?
My development environment is Visual Studio.NET 2003. When I change a property value ("NullValue") of my dataset in XML Schema (xsd file) designer and switch to form designer tab page, it often(not always) won't show my form design and display error message on a scary all-white screen. I can't remember the exact error message but it says like "Can't construct dataset..." something. Whenever this thing happens I overwrite the 'MyDataSet.xsd' from a backup copy. So I am wondering if I might not be supposed to change the dataset property from xsd file directly, or I am doing something wrong, or it is ...Show All
Visual Studio Tools for Office VSTO Editions
Doesn't VSTO come with VS 2005 Professional I downloaded the VS2005 Pro DVD from MSDN and didn't find the installer for VSTO. Thanks. Mike, I have a MSDN subscription and have downloaded and used VSTO. Other employees in my company do not have a MSDN subscription and would also like to start using VSTO. They have already purchased VS 2005 Professional. All we can seem to find is for them to purchase the individual Visual Studio Tools for Office 2005 edition, which is the same price as Professional edition. Do you know of any other ways to obtain VSTO if you already have Professional edition and do n ...Show All
Visual C++ from tht URL it means...
sorry this is sooo lame but i need to know wht does #include <stdafx.h> do and wht does it mean for example #include <iostream> suggests support for sequential, or stream, input-output it didn't tell in my book... thanx 4 ur help The basic idea is to put all #include-s that are commonly required across the project into a single header file, which is precompiled and is not compiled each time a source file that includes it is compiled. This speeds up compilation time. You can disable pre compiled headers if you don't need them, or even enable/disable them at the file-level. A kid wrote: An include ...Show All
Visual Studio Team System How do i parametrise "Category name " so that it pics up a Dynamic value from a notepad file or something?
This is the VB script request6.ThinkTime = 5 request6.Method = "POST" Dim request6Body As FormPostHttpBody = New FormPostHttpBody request6Body.FormPostParameters.Add( "categoryName" , "testingvs1 " ) request6Body.FormPostParameters.Add( "popUnder" , "true" ) request6Body.FormPostParameters.Add( "banners" , "true" ) request6Body.FormPostParameters.Add( "saveButton.x" , "77" ) request6Body.FormPostParameters.Add( "saveButton.y" , "12" ) request6.Body = request6Body MyBase .Send(request6) ...Show All
