IgorB's Q&A profile
Visual Studio Express Editions Compile Error C1010
First off, I have already found a "work around ", just I don't get why the "workaround" is working. To keep this simple, this is part of my file layout. Project --Folder 1 ----A.cpp ----A.h --stdafx.h --stdafx.cpp I listed only the relevent files. A.cpp contians... #include "../stdafx.h" //Changing this to "stdafx.h" fixes the problem, but I don't know why, as the stdafx.h file is not in the same location as A.cpp . #include "A.h" Is there a reason that the compiler can't find the file when annotiated correctly, but putting "stdafx.h" fixes the problem. (also note, if you right-click "../stdafx.h" and select 'open document' VC opens the st ...Show All
Visual Studio Syntax error when using Online MSDN
Hi, I have a problem with the Visual Studio 2005 help. Every page that loads i get a "line 1 syntax error" message box. It is DRIVING ME INSANE! I have tried to repair of the Document Explorer tool. I have looked for updates or KB articles and i can't find anything. I have tried turning off IE debugging but just the shape of the message box changes (and it doesn't ask me to debug), and the syntax error moves to line 2. A sample source for the page starts with XML so i thought that might be the cause but I am running the latest updates. Has anyone else had this problem Thanks in advance for any tips, Nathan Hi All, For your guide and info, I submitted a Bug Report through Microsoft Connect d ...Show All
Smart Device Development Transmit a phone number to be dialled by calling phone
Hi, I am developing a PPC application using VS 2005 and C#. I need to: 1. Intercept a call made by a specific number and answer it. (I have done this already) 2. T ransmit a hard coded phone number to this incoming call and now the incoming caller phone will dial this transmitted number using a conference service. I am stuck at #2. How to transmit a phone number to an incoming call and make it dial the same Thanks, Vivek What do you mean by "transmit" phone number Dial it via DTMF If so, go ahead and dial it, phone will play DTMF to the line. On the other side of the line you need DTMF receiver which would collect these digits, hang up and dial. That us ...Show All
Windows Forms Task Vision
Hi, I downloaded Task Vision, and ran it but I don't know the username and password. DOes anyone know what it is ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Slowing down the game
I'm trying to slow down my game with the code below : protected override void Update(GameTime gameTime) .... if (bNextTick(gameTime)) { game.runState(); } .... private Boolean bNextTick(GameTime gameTime) { curTime = gameTime.TotalRealTime.TotalMilliseconds; if (curTime - timeNow > DELAY) { timeNow = curTime; return true; } return false; } ...........when DELAY is set to 13, there is no noticable difference, when set to 14 there is a significant slowdown. I cant seem to vary the slowdown between 13 and 14. Any ideas Are there better ways of slowing down the game private double timeNow; It just keeps track of the time ...Show All
Smart Device Development Smart Device CAB Project will not rebuild after closing and reopening
Hello, I created a VS 2005 .NET CF application that uses some third party controls and additional assembly DLLs that I created, some are in the GAC and some are not. When I add a Smart Device CAB Project to my solution and add the primary output of the application project the list of referenced assemblies is properly included into the File System Editor in the CAB project. Then if I close and reopen the solution and look at the CAB projects File System Editor the referenced assemblies will be missing from the list of files to deploy. At this point I can not remove or re-add the primary output of the application project to the CAB project. I have to delete the entire CAB project and create a new one from scratch. If I view the deployment ...Show All
.NET Development I want create a new file extension to my aspx pages (.testx) and IIS still interpreting the page like aspx!
I want create a new file extension to my aspx pages (.testx), the new extension must be interpreted like aspx, but I don't know how. I did a couple things <httpHandlers> <add verb="GET,HEAD,POST,DEBUG" path="*.testx" type="System.Web.UI.PageHandlerFactory"/> </httpHandlers> Copying in machine.config asp.net framework the line that make reference to aspx , change to testx Putting in the iis mime type (.testx & text/html) But this doesn't work. Is something that I am forgeting, if someone can help, I appreciate! =D This is something that must be done inside the IIS website configuration. You must add any new extensions to reference the ASP.NE ...Show All
Visual C# Hotfix 918426 - Anybody used this?
Hi all, We ported a very large solution (38 projects) from VS2003 to VS2005 and have noticed a considerable difference in the amount of time it takes to compile the solution. I happened to come across this KB article and wondered if the individual projects in the solution would benefit from installing this. Has anybody installed this hotfix and noticed better compile time performance after doing so Any feedback would be appreciated. Thanks, Cliff ...Show All
Software Development for Windows Vista Major compiler Error
Hi, I am getting the following compiler error, Error 2 The "CompileWorkflowTask" task failed unexpectedly. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Documents and Settings\jacog\Local Settings\Temp\rsnifrbx.tmp'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access) at System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated() at System.CodeDom.Compiler.TempF ...Show All
Visual Studio Team System Multiple vsmdi files
Hi, We are getting multiple vsmdi files.Everytime someone runs a unit test the solution is automatically checked out and a new vsmdi file is created using the naming pattern MySolutionName1.vsmdi, MySolutionName2.vsmdi, etc. I've compared the files and they are the same. They live in the solution root and always have. The workaround that we have is to undo checkout on the files in question and then it works fine unti one next restarts the IDE. Any ideas anyone else getting odd behaviour with vsmdi files I've C&P'd the XML contents below: < xml version="1.0" encoding="utf-8" > - < Tests > < edtdocversion branch =" retail " build =" 50727 " ...Show All
SQL Server Identify ANSI/SQL-92 non-compliant code
How can we scan our code and identify the ANSI/SQL-92 non-compliant code Is there a tool/utility to do so I have already tried " SQL Best Practice Analyzer " and it seems it does not cover everything. Thanks/ Please take a look at the Upgrade Advisor help file. There are other ways to run Upgrade Advisor. For example, you can capture trace or specify set of SQL script files and these can also be scanned. In addition, the help file documents each rule / breaking change and the remedy. Other topics of interest will be the Backward Compatibility ones in Books Online. ...Show All
SQL Server how to design dynamic reports based on user's choice
Hi all, I'm a beginner to Report Services, and have tons of questions. Here's the first one: if the reports are created based on the condition that the user selects, how can I create the reports with Report Services For example, the user can select the fields that will be shown on the reports, as well as the group fields, the sort fields and restrict fields. So I would not be able to pre-create all possible reports and deploy them to the report server, and I think I should create the reports dynamicly based on what the user select. Could someone tell me how to do it (create and deploy the reports) Thanks a million! Jonee I think this it's possible to certain extend, but not sure if ...Show All
Visual Studio Team System Team System Multiple Checkout Problem
I was wondering if there is a way to totally disable multiple checkout for Team System. I have set the Team System Source Control Settings to disable multiple checkout and I have changed the Team Foundation Server Settings Source Control File Types to disabled for file merging. However there are still instances when multiple users can check out .cs files or the solution when another user has the same file checked out. Sometimes the changes are lost when one user tries to check in the file because the merge fails. Can you provide repro steps where TFS allows multiple checkout even with it disabled at the team project level That shouldn't be possible. Also, you should never "lose" changes. If autom ...Show All
Visual Studio 2008 (Pre-release) Text Areas
hi is there a component in wpf, that can accept several lines of code such as the text area in HTML thx thx anyways i managed to find out private string GetText(RichTextBox richTextBox) { // use a TextRange to fish out the Text from the Document TextRange textRange = new TextRange(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd); return textRange.Text; } = new TextRange(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd); return textRange.Text; } http://blogs.msdn.com/jfoscoding/archive/2006/01/14/512825.aspx incase it is of help to you ...Show All
Visual Studio 2008 (Pre-release) Creating a Derived Type in the Designer
I am attempting to re-create my previous VideoGames database using the designer. I want to see if I can do everything I need without tweaking the underlying XML once. So far its working with NavigationProperties. However, either its been too long since I've used this stuff, or the designer is limited. I am trying to create a derived type called WiiGames that derives from VideoGames, that uses a condition where the VideoGame.Type.ID is 1 (Wii). Anyone have a walkthrough on how to do this in the designer and/or how to start using the designer and finish using XML This seems to be completely counter-intuitive. What I want is to define several "is a" relationships: WiiGame "is a" VideoGame PS2Game "is a" Vid ...Show All
