ASI Tech's Q&A profile
Visual Studio Team System Can I use load tests to get these results?
Hi, I've been trying to figure out how do use the load tests to achieve what my team needs. I've asked different questions and got very usefull answers, but still can't quite figure out how to get the results we need. So, I decided to just describe what we need and hopefully someone knows how to do it or will send me in the right direction. We have a web application that we host for our clients. We suspect that there's a memory leak in one of the pages. Over time, our .Net application has to be restarted and we suspect that it's due to the memory leakage. We would like to use Visual Studio load tests to find out the relationship between how many times this page gets loaded and how much memory is being used (to see that the more the p ...Show All
Visual Studio 2008 (Pre-release) taskpane: automatic flow
Hello I'm designing a task pane: different taskpaneblocks , each block has a caption and a contentpart . The caption has a button: when clicked, the contentpart will collapse/expand. Now I want the other taskpaneblocks to move up when an upper block is collapsed (and move down when an upper block is expanded). I thought there should be a control that takes care of this, like a stackpanel, dockpanel, grid. But none of these three does this. Am i missing a property Or should i take another control Or does a taskpane already exist in WPF Thanks, Have you looked at <Expander> <Page xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x= ...Show All
SQL Server Open Source DB Structures
I'm wondering if anyone knows of a good site to find open source database structures (such as ERD's, scripts, or something of that nature) I think I have a pretty good handle on database design, but it would be nice to have a resource like that so that I can compare the design of my DB to DB's that people (smarter and more experienced than me) have created for similar purposes. What I'm thinking of is a site like Open Source Web Design (www.oswd.org) for Databases. Anyone know of anything You can check out http://www.databaseanswers.org/data_models/ for a bunch of sample schema. It's a place to start. Mike ...Show All
Visual Studio Team System Event subscription filter - limited to System fields only?
I'm trying to subscribe to a WorkItemChanged event with a filter expression that uses custom fields -- without success. I've been using Naren's handy tool from: http://blogs.msdn.com/narend/archive/2006/07/26/679440.aspx rather than bissubscribe.exe directly. "System" fields (title, area...) work fine, but no email arrives when I use other fields, including both "Microsoft.VSTS" fields and my own custom fields. Do only System fields work Must I write a web-service extension to check other fields Thanks, Liel Biran OK, good to know that. However, from this I gather that if I use a filter on a field like Microsoft.VSTS.Common.Priority , I should receive emails wh ...Show All
Visual C# Automation Error
Hello in my web project i am using a vb.dll and this dll internally call another dll inside it's function and it will giving this error automation error The system cannot find the file specified. :-2147024894 can anyone similar kind of problem .. please help me... sorry i will describe it again.. if any one can help me in this reagard... in my .net application i am using a COM file (that is written in vb 6) . this function internally call another dll and reading the globla.asa file using ASPTypeLibrary .. and when i use the function in my application it is giving me this error automation error The system cannot find the file specified. :-2147024894 .. Please if anyone have simillar kind of problem then ...Show All
SQL Server XML DOM Document
Hi, I created some DTS packages in sql server 2005 and this morning I am getting errors. I am able to open the packes to edit. Following are the errors: Error 1 Error loading MCDMS_Load_Key_OCRepair_Extract_TST.dtsx: Unable to instantiate XML DOM document, please verify that MSXML binaries are properly installed and registered. E:\SCRIPTS\MCDMS_Scripts_System_Test\MCDMS_Load_Key_OCRepair_Extract_TST.dtsx 1 1 Error 2 Error loading MCDMS_Load_Key_OCRepair_Extract_TST.dtsx: Unable to load from XML. E:\SCRIPTS\MCDMS_Scripts_System_Test\MCDMS_Load_Key_OCRepair_Extract_TST.dtsx 1 1 Error 3 Error loading MCDMS_Load_Key_OCRepair_Extract_TST.dtsx: Error loading a task. The contact information for the task is "". This happens when ...Show All
Visual C# what is Impersonation
can someone expain me what is Impersonation from an ASP.NET side and when it can be used. If you have any simple examples, please share. Thank you, Hi, I will give you a short example. When a web site runs under the IIS, a process lunches. Usually it is the w3wp.exe or aspnet.exe. That process runs with a set of permissions. When you are trying to connect to a web site using the brower, all requests get executed by that process and its permissions. The process has some rights to perform access to the file system or to any other resources. Now lets say you are using reporting services in your web site. In the reporting services you give user GUY KOLBIS permissions to execute reports. If ...Show All
Visual C++ 'out' value-type parameters and managed/unmanaged references
WOW the area of tracking references is confusing. I have a large unmanaged COM server (C++) to which I'm adding managed interfaces. Many of my methods provide output-only value results. For example, my Image class has a method that in C or COM you would declare as PixelRange(double* pMin, double* pMax), and in C++ you would declare as PixelRange(double& min, double& max) and in C# you would have PixelRange(out double min, out double max). It seems that I must declare this interface in managed C++ as PixelRange([Runtime::InteropServices::Out] Double% min, [RuntimeInteropServices::Out] Double% max). My problem is that for each such parameter I have to create an unmanaged variable to pass to the internal function, and I have to ...Show All
SQL Server Access a built in sub report from external rdlc file
Hi, I create an external rdlc file during runtime. But the problem is that I want to execute a SubReport, built into and compiled with the main application, from this external rdlc file. How can a reference the subreport from this external file I basically want my reportviewer to load this external rdlc file which references my subreport. I know it has something to do with the fact that he external rdlc file can't find the sub-report. The SubReprotProcessing event doesn't even get executed. An help will be very much appreciated. Thanks Nathanael ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using Bitmapfont for your scoring system
Hey all, I just want to start out saying that I love what microsoft is doing with xna, in the few days that ive had my hands on it ive witnessed several impressive projects pop up! Anyways, on to the point of this post. I searched the forum for a post that explained a simple way to make a scoring system (using the tutorial here: http://blogs.msdn.com/garykac/articles/732007.aspx ) and it came up empty, so I figured I would help people with similar C# skills as my own are somewhat basic. After the tutorial they have you write the text to the screen using: m_font.DrawString(20, 20, Color.DarkBlue, "Sample string"); However, thats a pretty static way to write text to a screen, perfect for some things, but useless for a scoring ...Show All
Software Development for Windows Vista conime.exe procedure issue on console application
Hi all, I am using a non-western language Vista, when I start my console application, the extra procedure conime.exe (as I know, it's shared to use for all console application) is launched automatically. But when my console application exits, the procedure conime.exe still has some relationship with my console application, I can't remove my console application folder (my console application is installed, I launch it, exit it, and remove all files and folder of my console application). But after terminating the conime.exe procedure, I can remove my console application folder. On Win2l/XP, I can remove the folder after exit my console application, without terminating the conime.exe procedure. Since conime.exe is used for all console ap ...Show All
.NET Development SqlBulkCopy: the locale id '0' of the source column '<column name> ' and the locale id '1033' of the destination column '<colum
Hi, I am using the sqlbulkcopy object to transfer large amount of data from one SQL server to Other. The code look like this.. SqlDataReader readerSrc = null ; SqlBulkCopy bulkCopy = new SqlBulkCopy (connDest); //Prepare Destination Table. SqlCommand cmdDelete = new SqlCommand ( "DELETE FROM " + destTableName, connDest); //Set the sqlcommand text SqlCommand cmdGet = new SqlCommand ( "SELECT * FROM " + srcTableName, connSrc); //Open source connection. connSrc.Open(); //Open destination connection. connDest.Open(); int delete = cmdDelete.ExecuteNonQuery(); //Get the data. readerSrc = cmdGet.ExecuteReader(); //begin transfering data to destination bulkCopy.DestinationTableName = destTableName; bulkCop ...Show All
Visual Studio 2008 (Pre-release) Can't find function 'TaskDialogIndirect' in DLL 'comctl32.dll'
I am trying to use the CrossTechnology VistaBridge example and get the following error... Can't find function 'TaskDialogIndirect' in DLL 'comctl32.dll' I am on Windows XP sp2 with .NET 3.0 RC1 installed. TaskDialog is not available in XP/2003. You'll notice the first thing I do in my code is to check the OS version. If it is less than v6 (Vista), I use the POMB (plain 'ol messagebox). ...Show All
Audio and Video Development About MFT_MESSAGE_SET_D3D_MANAGER.
Hi all! Please give me some pieces of advice on MFT_MESSAGE_SET_D3D_MANAGER. Although I set the MF_SA_D3D_AWARE in the argument at the GETAttributes(IMFAttributes** pAttribute) of myMFT, the MF didn't notify myMFT of MFT_MESSAGE_SET_D3D_MANAGER. I describe my testcode in the following. HRESULT myMFT::GetAttributes(IMFAttributes** pAttributes) { HRESULT hr = MFCreateAttributes(pAttributes, 1); if( SUCCEEDED(hr) ) { hr = (*pAttributes)->SetUINT32(MF_SA_D3D_AWARE, TRUE); } return hr; } Of course the category of myMFT is VIDEO_DECODER and myMFT is connected to EVR directly. Please tell me the reason why the MF does not notify myMFT about MFT_MESSAGE_SET_D3D_MANAGER How can I get that message from the MF M ...Show All
Windows Forms is there a limit on Controls contained in VS 2005 .NET Form ? handle creation exception
I get a Error creating a window handle upon trying to create the 9937'th control. The number of controls when the exception occurs is dependent upon the mixture of controls created, InkEdit controls produce the exception much earlier. I was attempting to reproduce the incosistent behavior of ToolTip in my "real" application which currently has 9,216 controls (previous post that has no solution yet!). This has the feeling of running out of memory OS: Windows XP professional (32bit), patches as of 9/12/2006 CPU: Dual Core Opteron, 2GB Ram Attached is the exception detail and the files that make up the VS 2005 test program. ================================================================== System.ComponentModel ...Show All
