Ganesan Krishnamurthy's Q&A profile
Visual Studio Team System Deployment folder won't get copied.
In my test project I have a folder with a few xml files which I set the properties to be content/copy always. I added this folder to the additional files and directories to deploy window in my .testrunconfig file. When I run my test, all xml files are copied to the out directory but not the folder. So it basically flattens the directory structure on deployment. How do I tell it to preserve the directory structure Thanks. The directory structure is maintained beneath the directory that was selected for deployment. However, the selected directory itself is not created in the deployment directory. Thanks ...Show All
Visual Basic Error opening design view in vs2005
Hi people. I've just upgraded to vs2005 (pro downloaded from msdn) and after converting my solution with 4 vb projects in I'm unable to view any of the forms in the designer. The projects and solution compiles and run just fine but no luck in design view. The error message I'm getting is: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Object reference not set to an instance of an object. at System.Resources.Tools.StronglyTypedResourceBuilder.DefineResourceFetchingProperty(String propertyName, String resourceN ...Show All
Windows Forms Problem with value DataGridViewComboBoxCell
In VB 2005 Express I have a problem, which completely do not understand. I use a DataGridViewComboBox in a DataGridView. When I change data and save it, I have no problem. But when I close the form I a repeting error, being: System.ArgumentException: DataGridViewComboBoxCell value is not valid. Can anybody help Thanks in advance, Simon Does the data you saved exist in the DataGridViewComboBoxCell's items list For instance, if your DataGridViewComboBoxCell::Items collection is {"one", "two", "three" } and the value you saved is "four" then you will get this error. Another situation is if your DataGridVie ...Show All
SQL Server SQL 2000 Stored Procedure
Hi, I want to create a dynamic table thru stored procedure. The SP accepts from date and to date as arguments. On that basis the temporary table will be created. Following is the code for that. CREATE PROCEDURE sp_cTabRprt21 @dFrDt datetime, @dToDt datetime AS declare @strTblStruct varchar(4000) declare @dDumyDt datetime declare @strColDef varchar(25) declare @strSql varchar(4000) declare @strTblNm varchar(4000) set @dDumydt = @dFrDt set @strTblStruct = "" while @dDumydt < =@dToDt begin select @strTblStruct = @strTblStruct+ case month(@dDumyDt) when 1 then&nb ...Show All
Visual C# Communication Between Froms...
I currently have a form that I am using to store variables/arrays/etc. I have just created a second form. The form is launched when the user selects a button. I have launched the form by simply instantiating the object, like this: Form2 f = new Form2(); f.Show(); However, there is data that I need to retrieve and display from the first form (Form1). Would anyone know how I could go about doing this Thanks, I'm receiving the following error with that code: 'System.Windows.Forms.Application' does not contain a definition for 'OpenForms' ...Show All
Visual FoxPro How do i disable an active screen saver?
Good day to everybody, i have a small program installed in the workstation that is controlled at the server, Can we disable a running screen saver when my program becomes active Example: I send a message to the workstation,... so my program installed there will pops-up automatically....but the problem is, ...when the user did not use the PC in a period of time so naturally screen saver will take-over, and my program pops-up at the background of the screen saver. is there a way to solve this Thank you and more power Not a good idea. Anything that is controlled by Windows should be kept to Windows. What ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX Application deployment
Hi There, I am working on a Direct3D application with C# 2005 Beta. It runs fine within and outside the 2005 IDE on my computer, but It won't run on somebody else's comp. (I can deploy non-directX applications though) The other person has the same version of DirectX (9.0c), and the .Net framework (2.0 Beta) as I do. On the other computer, the program crashes right away and it says " myProg has encountered an error and needs to close... " Is it enough to just copy and launch the "myprog.exe" file Do i need to forward the 3 DirectX DLL files that my program references. If so, is it OK to just copy them next to the exe file, ...Show All
Visual Studio Express Editions Too long to compile?
Hi, i'm having a freak problem. When i'm trying to compile the code, Visual says: "error compiling, sub rutine too long. I know it's long, but... Can someone tell me if this is normal How can I compile a large sub rutine Thanks That's interesting, how many lines are in it Your solution is to break it up into managable subroutines: it sounds like a complete nightmare to debug/maintain. As a general rule of thumb, a subroutine/function should be no more than a single viewable page. ...Show All
Visual Studio MSBuild task does not work
Can you provide the full log from the Team Build One possibility is that the project file you are attempting to call doesn't exist on the Team Build machine, or it might be in a different relative location to the calling project file. Is this other project file checked into source code control What was the specific error you received --Rajeev As I said - there is no error log. the build just stops. you can try it: first build file: ... <MSBuild targets="mytarget"/> ... second build file: ... <Taget name="mytarget"> <Exec command="..."/> </Target> .. the second bui ...Show All
Visual Studio Tools for Office Creating Excel Report file From VB.Net 2k5 - Help
Objective Trying to create an output from visual basic, with data containined within a Dataset into an excel workbook. Problem I've got is the Microsoft.Office.Tools.Excel to Microsoft.Office.Interop.Excel issues. I have already written a procedure which creates an excel workbook and populates a worksheet cell by cell from the dataset programatically using the interop interfaces. Problam is this is damn slow. Have tried to use a Listobject (which seems only usefull in the Tools namespace) to noavail (damn type conversions no matter which way I turn. This is what I've got so far, help would be apprieciated: ...Show All
Visual C++ Weird Debug-Exceptions window question
I want to turn off Native Run-Time Checks whilst debugging using VS 2005. In VS 2003, I would go to Debug-Exceptions, and then for Native Run-Time Checks, make the relevant choices as to turning them on and off. Now in VS2005, I am having some problems. In the same window (Debug-Exceptions), some computers in my network have two columns of check boxes - Thrown and UserHandled Exceptions (the second column being the one you could use to control this feature), and some do not show the second column. How do I get those that are not displaying the second column (User Handled) to indeed do so Thank you very much ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Engine Architecture
Hello everyone, I am new to these forums here. I am wondering if anyone has any good resources (links, etc..) for designing a 3d engine. I do not need links on how to create one (writing the code), but i am trying to explore some different engine architecture's as i am getting ready to create my own personal engine to be used in a product of mine. To help with answering my question it would help to know my experiance / background. I have been programming in java for about 3 years, and have been programming exclusively in C# for the past year. Used to program in other languages a long time ago, "basic" and such. I can say th ...Show All
Visual Studio Source parameter for the IDE (vs.2k5 rc)
Hi, I'm developing a .net library with a Nunit 2.0 unit test, and i'm received this message when i build the 2 projects: "Error 5 A problem occurred while trying to set the "Sources" parameter for the IDE's in-process compiler. Attempted to read or write protected memory. This is often an indication that other memory is corrupt. " what is the problem thanks for helps Hi Jeff, I'm having the same problem. Unfortunately it's sporadic and unreproducable, but I have the IDE open right at this moment and producing the same error. It happens for me when I hit f5 on my unit test project. This is on the (trial) release ver ...Show All
SQL Server Help: Multiple sub-reports creating extra blank pages on print
I have a project with multiple pages of reports. I am using one main page with all the other reports added through the sub-report control. The only problem is, after the first page and a couple of the other pages, it inserts a blank page in the print preview. If I view and print the reports seperately, and not all on the main report page they print fine, they don't roll over, don't print any extra blank pages. This only occurs when I add all them all as sub-reports. The last 5 pages don't suffer from this problem either. Can anyone think of what the problem could be, or a way to solve it All the pages are 8.5x11 with no margins. As I sai ...Show All
Visual Studio Tools for Office Focus after bookmark insert?
We are displying a Word Document in a Iframe on an .aspx page. This Document was created using VSTO and in it we have an ActionsPane. We use it to insert bookmarks onto the Document by double-clicking in a listbox. All that works fine, but my problem resides in the foucs after we insert a bookmark. The focus remains on the listbox, NOT the Document, which I need. I have tried this: doc.ActiveWindow.ActivePane.View.SeekView = Word.WdSeekView.wdSeekMainDocument It works fine in just the Document, but in the browser it doesn't. I know it is not meant to be in a browser, but does anyone have any ideas O ...Show All
