Florin Lazar - MSFT's Q&A profile
Visual Studio Team System Aborting in a load test plug in.
I am calling the abort method in a load test plug in. The call is made in the initialize method of the plug in. The abort is being ignored. Why That's a bug that was recently discovered, but if instead you simply throw an exception from the Initialize() method, the load test will abort and the exception message is included in the error message displayed in the UI. ...Show All
Windows Forms Need Help? Check out the DataGridView FAQ!
I've finished writing the first DataGridView FAQ. This isn't just a list of questions, but a comprehensive overview of the DataGridView. Please reply to this thread with addition Q/A questions, corrections, or suggestions for improvement. http://www.windowsclient.net/Samples/Go%20To%20Market/DataGridView/DataGridView%20FAQ.doc There are also a set of DataGridView samples that help with common areas available at http://ww ...Show All
.NET Development Problem copying dataset from one Database to another
Hello, I m trying following code to copy a dataset created from one database to another database. Code runs errorless but data doesn't update in another database. Where am i going wrong Please help private void Page_Load( object sender, System.EventArgs e) { this .insertDataR(); } //This function returns Dataset public DataSet getDataR() //return Data Set { string conStr= ...Show All
Software Development for Windows Vista Alpha-Blended DirectX Overlay
Hi, I would like to create an overlay with a surface that overlays another surface. The specific application is to take the video rendered from a AX control drawing using DX, then create an menu overlay with another DX surface and have the menu alpha-blended over the video surface. So far I have tried a transparent dialog box, but the video underneith flickers as the region is invalidated. The overlay box fades in and out perfectly, b ...Show All
SQL Server SSRS & multiple datasources
Hi: SSRS is set up on it's own server, I'm writing reports using a DB on a different server. I'm wanting to use tables from both servers in the one DataSet, but I can't see how this is done. For Example: dbOne has tables db1One, db1Two and dbTwo has tables db2One; I want to create a dataset that uses all three tables. But when I try to 'Add Table' in the Data tab of the Report Designer only the tables from the one datasource are listed. ...Show All
Visual Studio Team System The report server cannot create the performance counter
After installing SQL Server 2005 and reporting services I recieve an error on bootup telling me to look at the Event viewer. In the event viewer I see: The Report Server cannot create the Cache Misses/Sec (Semantic Models) performance counter. Source: Schedule and Delivery Processor Category: Logging Event: 113 The error is in MSDN with less description that what event log gives. I did find a blog entry describing the problem but his re ...Show All
.NET Development DeflateStream throws exception when inflating PDF streams
Hi, I tried to use System.IO.Compression.DeflateStream to decompress streams from a PDF file. The streams use FlateDecode compression, which is supposed to be compatible with DeflateStream (both are supposed to comply with RFC 1951). In fact, I can successfully inflate these PDF streams using ZLIB library. But when I try using System.IO.Compression.DeflateStream, it consistently throws System.IO.InvalidDataException: "Block length does not ...Show All
Visual C++ program compiles and runs on my pc but doesn't work any other windows
I'm a complete begginer to visual studio and this is my first program There's no problem with compilation and running this program on my VS 2005 BETA 2 winXP SP2 but it doesn't work on any other windows i've tryed to run it on winXP , winXPSP2 and win2000 and gives an error the translation of the error is something like "can't run aplication because it's configuration is bad reinstaling aplication could make it run properly " it occurs i ...Show All
Windows Forms Sort DateTime-String in a DataGrid
I have a DataGrid, the source for my grid is a DataTable in a DataSet. One column is a DateTime type and for a better look I convert my DateTime rows to string. But now the sorting is false, when I click on the header for the Date-Column (because of the alpha numeric sorting for strings). The sorting is like this: 10.01.2005 15.02.2005 19.01.2005 and I want it like this: 10.01.2005 19.01.2005 15.02.2005 As you see, my DateTime culture is d ...Show All
Windows Forms Two problems!!
I know how to draw line, rectlange,... But how to draw point And could you tell me, how to save something(plot), which is in picturebox simple code please! For point: either draw a very short line or a bitmap with one pixel. ...Show All
Software Development for Windows Vista running the workflow designer multiple times.
I'va build an application that is based on the workflow designer lab. in the original sample, and so is in my code, once the user has clicked the run button (which executes the workflow) the button goes disabled. I've been trying to go pass this constraint, but it seems to be a difficult task because once you have run the workflow instance, the dll is held up in the current process and executing the compile() method again, results with the ...Show All
.NET Development Help with updating a specific record in database
I am trying to pass the changes made by a user back to an sql database on clicking a button. The update should be applied to the specific record that the user is currently viewing. My problem is that the updates are getting applied to the first record in the database. The code is below: Public Class frmPart 'Declare global variables and objects... Dim objConnection As New SqlConnection( "Server=YUK1PCG124;Database=PSW;Integ ...Show All
Windows Forms Control Box
Hi Stefano, Thanks for the trick about backGround image I will try to use this trick in my work. I have a question: How can I disable only the C loseBox of a ControlBox of windows form and keep the MinimizeBox and MaximizeBox enabled Previously thanks. Here is the code that will help you achievw what you want to do- public class FormCloseButtonDisabler { private const int MF_BYPOSITION = 0x400; pri ...Show All
SQL Server SQL 2005 SP1 installation hangs
I am trying to install SQL 2005 SP1 on a Windows 2000 Server SP4 platform. I have repeatedly tried this, and have trashed and re-built the platform all to no avail. I keep getting the same problem. The installation hangs, using 0 CPU apparently after successfully extracting the files to disk. It leaves the HOTFIX.EXE running, and cancelling it ends the process. The HOTFIX.LOG looks like this: 5/31/2006 10:05:03.185 ======================== ...Show All
Windows Forms Outlook 2003 Clone
When I build the Whidbey Beta 2 Outlook 2003 Clone sample, referenced at http://download.microsoft.com/download/c/2/e/c2ebe6df-c57b-49a5-b3f3-59393e3cf245/outlook.msi I get 11 errors and 213 warnings. The warnings are mostly about obsolete properties. The errors are mostly "System.Windows.Forms.Dat ...Show All
