Daniel Roth's Q&A profile
Visual C++ Tips for speeding up debugging (stepping through code)?
I've got one particular large C++ project that, in VC 2005, when stepping through code in the debugger, it takes approximately 2 seconds for each hit of the F10 key (i.e. each line of code) to be executed. I've tried many things to attempt to speed it up: disable intellisense, renaming feacp.dll, removing all additional output windows, watch, breakpoints, etc, removing navigation bar from text editor window, disabling anti-virus on the machine, closing all other apps. It's always the same speed. Running on a dual P4 2.8 gig with 1 gig of memory, and hyperthreading enabled. Are there any other tips for speeding up debugging in the ...Show All
.NET Development Error CA2000 - Dispose objects before losing scope
Hi Environment: VS 2005 Language: C# By calling a methode StartWinWord( "winword.exe" ); private static void StartWinWord( string sFileName) { Process pWord = new Process (); pWord.StartInfo.FileName = sFileName; pWord.Start(); } I get the Error CA2000 " Dispose objects before losing scope " How can I dispose something which has a Process of his own What is the problem You are failing to dispose the Process object, which holds an unmanaged object (a process handle). This means the unmanaged process handle won't be closed until the garbage ...Show All
Game Technologies: DirectX, XNA, XACT, etc. ID3DXFont (DX 9.0c) square problems
ok, this is a really annoying problem whenever i try to print text to the screen using the ID3DXFont::DrawText function, only squares appear the thing is, i am using Arial font, so i don't think it can be that the computer doesn't know the font sometimes however, a letter will appear somewhere in the line of text, but always in the wrong spot it is always the last letter of the line though i really really need some help here everybody, so any input at all would be appreciated Harry S wrote: do i need to explicitly undefine Unicode, or do i just not define it Just don't define it, but your compiler migh ...Show All
Visual Studio Team System How to: Add Data Binding to a Web Test
According to this walkthrough: http://msdn2.microsoft.com/library/ms182546(en-us,vs.80).aspx I should be able take values from a Table Column and use them as values for QueryString Parameters. In my case, I want to use them as Form Post Parameters instead of QueryString but either way, I get the same result: First, When I add the Data Source, the thing says something like 'Invalid Object' when I try to run the test, My data Source is AdventureWorks1.vEmployee and the only way I have been able to get rid of this error is by editing the Data Source in the XML to say "HumanResources.vEmployee" in the <DataSourceTable> tag. Second, ...Show All
Windows Forms Missing XML comment error msg
hi every one am back with a very strange error msg am currently using Microsoft Data Acees block for my data access layer and whenever i add any function, method in the code of the data access block which is provided by micorsoft then "Missing XML comment for publically visible types or memeber variables" error msg occurs . :( i think it&nbs ...Show All
SQL Server HOW TO DEPLOY A PROJECT TO REMOTE SERVER
hi ,i want to deploy an project(BI) which is been deployed successful on my computer to remote server,the server name is boco-ace.i do not kown how to do could you give me an solution if you give an example,i cannot bear to appreciate. Several ways: First. Right click on your project name in the BI Dev Studio select "Properties". Click on "Deployment" node on the left and you will see the name of the server you deploying to. By default it is "localhost" , change it to boco-ace Second. Open SQL Management Studio. Right Click on your database name->Script database to->Create ... Send resulting scr ...Show All
Visual Studio Tools for Office ListOject Displaying updates on Excel have event problem
Hi, I'm having a ListObject in Excel and is binding it to data in a DataTable via: list.DataSource = dt_myData; The data is changed periodically via a separate thread running in the background (not via BackgroundWorker method) and the data displayed does change when I rerun the above code. The problem occurs when I'm editing another cell outside this listobject and the refresh occurs. When I run the above again after the I have finished editing any cell, the display of the data does not change. This seems to be breaking the updating Event process. & ...Show All
Visual C# Data set part 2
from my data set i would like to dislay the contans of each table in a data grid. The user can only choice one table I have all the tables in a drop down box). how is this done. Hi! Do you mean this question: "How to make user selected table to be displayed in DataGrid " If yes, then you can simply set DataGrid.DataSource to the selected table. ...Show All
Architecture OO design question.
I'm trying to figure out a good way of looking this.. I have a "Product" class ( which is the fullblown class having all the child info and such ) and I have a subset class we'll call "ProductSummary" ( where it is used as an instance of OrderItems - when people are ordering products ) which doesn't have any child info - at least for now. I also want a very lightweight instance, we'll call "ProductInfo" ( and make it a struct ) that I can use to bind to a list with just ID, Title, SubTitle, Description, and Price. now the problem is that I want to have a field called .DisplayName which required in all three classes.. ...Show All
Software Development for Windows Vista Hosting of a Workflow in WCF
Can anyone tell me the step i need to do to host a Workflow in WCF Thanks in advance Hello, It doesn’t matter where you have the workflow hosted. The only thing you need to do is when you have this workflow hosted, you have to expose it as a service. To do this you just have to define the endpoint with the address, binding and contract using the namespace System.ServiceModel.dll and add all the required attributes. Hope it helps you Miguel ...Show All
Windows Forms Can you hide an item in the component tray at design time
Hello, We have a custom collection which is based on component. Everything is working fine except that the component tray gets cluttered up with custom components which don't need to be referenced indiviually. Is there any way to hide them similarly, at least in concept, to applying a Browsable(False) attribute to a property Thanks in advance for any ideas and/or suggestions! Hi, You can add the [DesignTimeVisible(false)] attribute to your class. Note that this also means that your component won't show up in the toolbox. I am not aware of any way to make it appear in the toolbox but not in the comp ...Show All
Windows Forms Drag/Drop of a PictureBox, keeping the Image visible during drag.
Haya! As the title says, I need to do what seems to me should be fairly simple. I have a number of pictureboxes each filled with a static image. I would like to add the ability for a user to drag the picturebox on to ANOTHER picturebox (this one holds a image currently selected by dropdown list). Upon drop, the box and associated dropdown&nbs ...Show All
Visual C# And 3rd
Hello.I have 2 question 1) How I can move a button (or picture) in the form.Example: "The user moves a button from the bottom to the top of the form". 2) If I have a form ( 800x600 ) how I can make an animation (with DirectX or something..) with the dimension: 90x30 (for example) in the center or in the bottom of the form And 3rd: 3) Why my application is runnig slowly.Is because a lot of bitmap images ...Show All
Visual Studio Team System TestTools.LoadTesting source samples
Hi I am trying to get a feel for some of the customization possible in unit tests. The MSDN2 doco on TestTools.LoadTesting is fairly sparse on examples while TestTools.UnitTesting fares better. >> Does someone know of a URL with some good examples The general drift would be customized attributes before the unit test which needed special handling when the test was run . Many thanks Hi Greg, I am not sure that u have visited this link or not, it has sample code for creating custom attribute for unit test. http://msdn2.microsoft.com/en-us/library/84c42s56.aspx#cpconcustomattr ...Show All
SQL Server Can you Cache a SSIS Lookup component to Foxpro v7 with parameterized query?
I am using a lookup component in a SSIS data flow. The lookup is a select to a foxpro table. THe lookup works fine with full cache selected. I cannot get the lookup to work with a partial or no cache. I have the latest Foxpro OLE DB driver installed which I understand to support paramaterized queries. Has anyone had success with using cached lookup to Foxpro Does anyone know how to set the lookup properties of sqlcommand and sqlcommandparam I am unable to find any examples in BOL or on the web. Here are some details. IF I go with "use a table or a view" option with the default cache query I get initialization errors [lkp_lab ...Show All
