Prizz's Q&A profile
Visual Studio Team System Project in solution explorer
We're in the process of setting up some test boxes to run some manual tests. I've created a project with all the tests. The additional testing resources have installed the team system client. What is the best way to get them the project with all the tests I tried exporting the project and then allowing them to access the project and put it on a local folder. The only problem is when they try to open the vbp file an error comes up stating 'The Visual Basic 6.0 file is corrupted or cannot be read.' Any suggestions thanks, aaron I received exactly the same error message after exporting and then extr ...Show All
Visual FoxPro Questions regarding connecting to an ADP server
I would like to use VFP as a frontend to reach in and pull data from our company's ADP server. I know the addressing ( IP and port ) used by the ADP client software and have administrative access on the User level ( I'm the sys admin), but am unsure where to begin. I do see a Reflection for Unix and Digital OLE control listed... is this related The goal is to be able to automate the execution of ADP english statement scripts to extract data from the server to populate databases inside of my VFP app. Any help getting pointed in the right direction to establish the VFP-ADP communications link would be great. Thanks! I prefer using ...Show All
Windows Forms any way to determine if a control is a "container"
to finalize my runtime drag/drop procedure i need, when dragging, to check on mouse up what the point i am dropping in is, ie like any designer, if the point the mouse is on, is a panel, group box, tabcontrol (or any descendant from these) instead of changing the location of the control for drag, i need to change the location and add the ...Show All
.NET Development n a stored procedure return multiple tables
Can a stored procedure return multiple tables i.e two select statements in one procedure. how can u put those tables into dataset at a time . To fill multiple tables, you should create a Stored procedure containing a SELECT statement for each table in your dataset. A JOIN is not appropriate as this will return one result set. Each result set must be mapped to a table in your dataset when using a DataAdapter. However, in ADO.Net 2.0 this approach has been left in favor of table adapters. Each table adapter can be assigned a stored procedure in which you should do only one SELECT statement. In your scenario this would mean a round-tr ...Show All
Windows Forms Repainting Controls
Why would you want to call BOTH Invalidate() and Update() when redrawing a control What does one do that the other doesn't that would justify calling them both Invalidate() will (sorry for the redundancy) invalidate part of the control so that the next time it recieves a WM_PAINT, the control knows what to paint. Furthermore, it will&n ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Vs. OpenGL
Im just getting into computer games programming and have become quite familiar with C++ in the last month. However having done some research these 2 names keep cropping up DirectX and OpenGL Can anyone tell me what these two do and which is the best to start learning. Are they both linked with C++ or have i been wasting my time learning c++. Thanks Craig They do the same thing in different ways. Both are API's to allow you to easily control 3d graphics cards. OpenGL is cross platform DirectX is Windows only Both can be called from C++, in fact that is generally the way most people use them however they ...Show All
Visual Basic stoping winform instance - timer with synlock
How can I kill one specific instance of a timer I have this application that works similar to msn messenger a message is sent and a window display it in a viewlist and raise a warning window there is 1 form with the listview and another with the warning window ' AlertWindow(messages) ' the one with the listview instantiate the warning form Dim aFrmAlertPopUp As New AlertWindow(messages, altSysOrigin, alertId, BgColor, userAlias, altTeamMember, altAlertType) aFrmAlertPopUp.display(messages) the display method starts a timer Friend Sub display( ByVal AlertMessage As String ) SyncLock GetType ( ...Show All
Windows Forms How to handle Ctrl-Drag on design surface?
Hi, We've got a custom designer working, we can drag items from our toolbox onto the design surface without any problem. However, we want to handle dragging while holding down control - this should create a copy of the control. When ctrl-dragging, the icon changes to a + to indicate that this is what it's going to do, but on releasing the mouse, nothing happens! The MSDN magazine example from March 2006 has the same 'feature'. What do we have to do to enable the creation of the new control Many thanks, Gary Hi, A drag and ctrl-drag off the toolbox should be handled the same way. It doesn't really make sense to m ...Show All
Visual C# select the current paragraph in a richtextbox
Is there a way to select the whole paragraph, not just the current line, at the current caret position in a richtextbox Don't use the Find method; use the IndexOf and LastIndexOf the String class. Use this on the Text property of the RichTextBox. ...Show All
SQL Server sql problem in stored procedure
hello everybody, I am writing a stored procedure to update some table in different database. The database name will change and table name will not change. Thus I pass a parameter into store procedure. However, sql in stored procedure cannot run the following query. I want to check the cursor record whether exist or not. Could you help me to solve the problem. if exists(Select * from @strshop where sku = @skutemp) ------------------ --it cannot run and show below error -Server: Msg 137, Level 15, State 2, Line 22 -Must declare the variable '@strshop'. -Server: Msg 156, Level 15, State 1, Line 26 -Incorrect syntax near the keyword 'else'. if e ...Show All
Windows Forms Plugin frame work
Hi, All , Any one can suggest me plugin frame work development in windows with c#. Thanks in advance . ...Show All
Visual Studio Different Search Results for the same topic ??
http://whidbey.msdn.microsoft.com/library/default.asp url=/library/en-us/dv_fxmclictl/html/e79a9d4e-64ec-41f5-93ec-f5492633cbb2.asp ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_fxmclictl/html/e79a9d4e-64ec-41f5-93ec-f5492633cbb2.htm Both the links point to the same article. The second has incomplete info whereas the first one doesnt. I was reading a post by a PM at MS, that the code didnt compile in the second case, so its not there. But it has been fixed in the new documentation. How do i make sure i am searching the new documentation. I get the same results from using my local MSDN as well as doc at msdn2.micro ...Show All
Visual Studio Team System Get latest before check-in policy
Hello, I'm using the following configuration: 1. One integration project 2. Each programmer has one or more workspace on the integration project I don't want a programmer to do checkin to an unchecked work (means he didn't checked what's going to be in the interation). I want to enfore the programmer to do GetLatest operation. In this operation he might be required to do merges. How can I enforce this methodology If there is a mistake during this complex GetLatest operation, how can a programmer undo the opreation and restart it later Thanks. Your checkin policy can run the get command in preview mode. Operations w ...Show All
Windows Forms BindingSource.Find throws exception on empty DataSet
I have a problem with a bindindingSource very similar to the problem reported here but I've tried the solution outlined (explicitly setting the bindingSource's DataSource before the call to Find) but it doesn't help me (the DataSources for my BindingSources are correct) - so there's no chance for the DataSources to get set incorrectly. My situation is slightly different because I'm adding the BindingSources from the toolbox (not by dragging tables onto the form from the dataset). My dataset has two tables "state" and "county". They are related one-to-many by relation "FK_county_state" from state to county. 'county_id' b ...Show All
Visual Studio Team System Reporting Services Error in Project Portal in TFS RC
After creating a new project in TFS RC and doing a Show Project Portal..., I get the error in the IE web page: Reporting Services Error This report requires a default or user-defined value for the report parameter 'IterationParam'. To run or subscribe to this report, you must provide a parameter value. (rsReportParameterValueNotSet) Get Online Help This is in the Remaining Work section of the report. I can successfully run the Remaining Work report in TFS explorer. Anyone know what this is about The problem is probably with the URL used from the portal to access the report. ...Show All
