Tom Frey's Q&A profile
Visual C++ Internal compiler error
I'm attempting to compile FreeImage, a C++ library available from http://freeimage.sourceforge.net/ , under Visual Studio 2005 Team System Beta 2 on an XP64/AMD64 box. The C++ compiler is choking reproducibly and consistently as below. I haven't yet attempted to work around it as suggested. If that later proves successful, I'll re-post here. Should/how I report this to Microsoft Is this the way :-) Sorry about the *** formatting. 25>d:\matthew\tcg\FreeImage\Source\FreeImage\PluginIFF.cpp : fatal error C1001: An internal error has occurred in the compiler. 25>(compiler file 'f:\beta2\vctools\compiler\utc\src\ ...Show All
SQL Server Combine two database
I have a two databse say DB1 and DB2 in sql server 2005 developer edition. Both Databases are completely different in structure(i.e nothing common) Both Databases contains Important Data. I want's to combine them into a new database named dbcombined.{provided that data remains intact}. How can I do That Then Also I have to deploy that db in other system what I have to do If objects are unique across databases, you may just use DTS (Import/Export Wizard) or SSMS to import one database objects to another database. But, if there are no real reasons, I would't recommend doing this at all. ...Show All
Windows Forms All Green Lights and No Critters
I have installed 1.2 Terrarium on 2 machines of mine. (Behind a firewall, port 50000 opened and NAT support checked) All lights are green but i dont get anything coming into my terrarium. I have this thing running for at least 24 hours so i know it isnt just a shortage of critters. Something else has to be wrong, but nothing is showing a ...Show All
Smart Device Development Cabs, unsupported registry root key
When attempting to use cabWiz to create a cab file I am getting the following error: Error: Section [RegKeys] has an unsupported registry root key " " This happens with the section [RegKeys] blank or with what VS2005 creates: [RegKeys] "HKCU","Software\%Manufacturer%","","0x00000000"," "HKLM","Software\%Manufacturer%","","0x00000000"," What does it want under this section Thanks Try [RegKeys] "HKCU","Software\%Manufacturer%","","0x00000000","PutSomethingHere" "HKLM","Software\%Manufacturer%","","0x00000000","PutSomethingHere" It worked for me. What are your repro steps on this Was this generated ...Show All
Windows Forms Enterprise Library 2005
Has anyone successfully used the data block of the enterprise library 2005 I tried to reference it in my code, but I keep getting an error. I don't know much C#, and I don't even want to try to pick apart any code written by the geniuses at microsoft. Anyway, my code breaks when i get to this code: public string DefaultName { get { DatabaseSettings settings = this.DatabaseSettings; string databaseName = settings.DefaultDatabase; return databaseName; } } on the line string databaseName = settings.DefaultDatabase; i get an error, object reference not set to an ...Show All
Windows Forms DataGridView - slow
Hi, this DataGridView is really giving me headaches like you can see in all the topics I start :) This time it's about performance. I'm using a DataBound DataGridView and performance for painting on it, etc. is good as long as it contains no data :) However, as soon as I load 10 columns in it with about 200 rows, performance really drops. Resizing the form that contains the grid becomes real slow even with column auto size off. Painting selection rectangle over columns becomes real laggy, etc. Anybody got some ideas why this could be the case Or is that "to be expected" Thanks, Tom FWIW, I agree. It's espec ...Show All
Visual Studio Express Editions Where are the e-books promised for the registration benfits
Where is the e-books promised if you register for benefits http://connect.microsoft.com It might take a few days before the site will know your registration. I have had mixed failures and had to clear my cache and cookies to be able to log in. When you are there, go to the download page and be sure that the filter (it is a combobox on the page) is set to show all. ...Show All
Visual Studio Disconnecting from data source
Hello, I have report templates (.rpt files) that I merge with XML data (ADO.NET DataSets). The problem is that when report is merged with data and then the XML file is deleted, then if I load the report againg (e.g. to export it ti PDF), the API wants to access the data source (which in my case is the deleted XML file). There is lot of reports and I need to delete the data files to save space on disk. Is there a way how to make the API not to access data source again I want the report instance to be disconnected from any data source. Thank very much eXavier if you are just trying to save disk space, ...Show All
Visual Studio Copying all the solution's output files to a folder
Is there a way to automatically copy all the output files for all the projects in a solution to a given folder Thanks I've just edited my original post to change the name of the property to "OutDir" this property will work for solutions where managed code and ASP.NET webs are present. (Thanks Ramesh!) ..Kieran ...Show All
Visual Studio PDF Compression issue with the ReportViewer
I would like to know if there are plans to fix the issues with huge PDF export when using the ReportViewer in the local mode. As ReportServer is not an option for us, I was wondering if you guys already fixed it or even if that is being considered at all. Thanks and appreciate a prompt reply from MSFT Its not that BIG of deal, there are a number of work arounds and for most apps Report Server is what you should be using anyways. I would be interested in seeing the MS reporting roadmap if that even exists at this point. ...Show All
Visual Studio Drillthrough report with remote and local processing in web report viewer
I've built a set of drill through reports using the Navigation tab. I'm rendering the reports via the Reportviewer control in an ASP.NET app (RTM). To accomlish this do I need to write code in the " Drillthrough" event to set the parameters of the drill through report and change the Report path for the reportviewer control If so, how do I capture the value from the parent report in order to pass it to the drill through report No, all you have to do in the Drillthrough event handler is supply data. In the event handler you can examine parameters being passed from the mainreport to the dril ...Show All
SQL Server Hide Attributes
Is there a way to hide attributes so that they can't be used directly when browsing the cube, but only in a Hiearchie. Some of our attributes only make sense when in a tree. So, i only want to show them the attributes in the hierarchies and levels, and not the (same) individual attributes. Click on the attribute and change its property "AttributeHierarchyVisible" to false. Let the property "AttributeHierarchyOptimizedState" to "FullyOptimized" since the attribute is used by your hierarchy. This way the attribute should be visible only in your hierarchy. ...Show All
Visual Studio Team System File in use .mpp is locked for editing
Hi, We're using TFS RTM We're experiencing a really annoying problem which is, when someone closes a nd saves a MS Project document to the Team Foundation Portal no one else can open it for editing, we get a message File in use *.mpp is locked for editing There are a couple of other posts which refer to this as well http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=8011&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=314833&SiteID=1 Is anyone from Microsoft aware of this issue and if they are when will it get sorted as this is making really hard work of using this part of TFS ...Show All
SQL Server Creating a Data-Flow Component
I try to create a new Data-Flow Component. In Books-Online I found this link: ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.de/dtsref9/html/9d96bcf5-eba8-44bd-b113-ed51ad0d0521.htm and the following pages. But I have not realized, how I have to create the new Data-Flow Component. What I to do for my first "Hello World"-Component SQL Server also includes 4 code samples of working data flow components, one each of the 4 types that can be created. This is a good place to start. -Doug ...Show All
Visual Studio Team System Test that an event has been wired to a handler?
I have a class that exposes a public event named StatusChanged. public event StatusChangedDelegate StatusChanged; The class that creates this class is supposed to wire this event to appropriate handlers. I'm trying to write a simple test that verifies this has occurred. However, the following line in a test: Assert .IsTrue(target.StatusChanged != null ); returns this error: "Error 8 The event 'NewDawnTechControls.NdtSessionController.StatusChanged' can only appear on the left hand side of += or -=." Inside my class (with the event) I have an intercept method that is the one that actually raises t ...Show All
