Paul Mitchell's Q&A profile
Software Development for Windows Vista API to get path of VirtualStore?
Is there an API that will return: C:\Users\username\AppData\Local\VirtualStore\Program Files\appname when given the path: C:\Program Files\appname Essentially, I'm looking for the programmatic equivalent of Windows Explorer's "Compatibility Files" button. What I'm trying to do is move files out of the virtual store in a process that has virtualization disabled due to a Vista-aware manifest. Have you looked at the CSIDL_LOCAL_APPDATA constant I am looking for an API that could tell me if a given folder is a virtual folder (ie the files will be moved when vritten to). Does anyone know if there is such an API Regards, Hakon ...Show All
Visual Studio Express Editions Absolute Beginners Video Series - Lesson 09VB
Hi, I'm fairly new to this stuff but trying to learn and have been watching the video series for beginners. I have watched lesson 9vb a couple of times and downloaded the visual basic project. I have loaded the lesson 9vb project into Visual Basic 2005 Express Edition. The video shows that you should be able to edit a field and then click the button to save the changes, stop the degugging to empty it from memory, then start again and the changes you made should be there. When I do this the program seems to function correctly (ie no error messages) but the database does not update as advertised in the video. Any ideas Cam I went through the lesson twice building everything from scratch an ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Blue Screen of Death or System Restart
I have XNA installed on my home computer, and on my laptop, and it happens rather often (a few times a day) that when I try run the project, or click the Save All button, I get a system reboot or a BSOD. It happened once too when I tried to move a file to another folder, in the Solution Explorer. Since it happens on two different computers, I was wondering if someone else has had the same problem. Any known bug/solution Thank you! Unfortunately, installing the Visual C# SP1 did not solve the problem. I've also made sure to update my drivers, to no extent so far. The blue screen itself doesn't present any other information beside the STOP code I mentioned before. It does howe ...Show All
Visual Studio Team System Error when running tests: Column 'TestType' does not belong to table test.
I and everyone on my TFS team is getting the following error message box when trying to run unit tests: --------------------------- Microsoft Visual Studio --------------------------- Column 'TestType' does not belong to table test. --------------------------- OK --------------------------- I checked the TFS databases, and I couldn't locate any table named test, so I'm not really sure where else to look. Has anyone seen this before We've been able to run tests before and this just started happening today. We are using the RTM version of Visual Studio Team System with TFS Beta 3 Refresh. I think I solved the problem: It seems that my VS2005TS - Developer didn’t like my old testrunconfig file witch ...Show All
Internet Explorer Development No scrollbars in IE7 new window
I am using the following Javascript widow.open call in a classic ASP page: function showXXXX() { window.open("xxxx_mypage.asp","","status=no,directories=no,menu=no,scrollbars=yes,fullscreen=yes"); } In IE6 I get vertical scrollbars on the new page as I wish to. In IE7 the scrollbars do not appear and this is a definite issue in my application. Is there a setting in IE7 that I have missed or is this a bug Any pointer much appreciated. day10 It seems to be resolved now - there was a space between menu=no, and scroolbar=yes that when removed, cleared up the issue. It hasn't been as issue before now, so this was surprising. Thank you! ...Show All
SQL Server Left outer join query?
Hello all, I am stuck in a bit of a mess, and i really don't know how to get out of it. I am a dot.net developer, working with MS SQL server 2000. I am trying to write a query which essentially gives the amount of stock available for a particular stock_code. select Stock_code, description from stock Now what i want to do is, for each one of the stock_code that apears in the table above i want to look into another table called pop_item, and get the closest delivery_date for that particular stock_code. So i have top 1 and order it by delivery_date desc. Individually for a particular stock_code, i can do this no problem. And here is my code for stock_code='E0016/6' select top 1 stock_code, delivery_date, order_number,qt ...Show All
.NET Development Failed to load dataset because of the following error: Unable to find connection ...
Everything was fine last night, but this morning when I opened my VS 2005 web project, I got this message: Failed to load dataset because of the following error: Unable to find connection X for object 'web.config'. The connection string could not be found in application settings, or the data provider associated with the connection string could not be loaded. Also, in my DatSet.xsd file, there are not 102 warnings that were not present before, and when I try to switch to Design view, I get "Cannot open a designer for the file because the class within it does not inherit from a class that can be visually designed." I cannot see anything obvioulsy wrong with the XSD file, but here are some of the warnings I get: "The 'AllowDbNull' ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How in XNA Game Studio Express correctly to include a full-screen mode?
How in XNA Game Studio Express correctly to include a full-screen mode I write a code: graphics.PreferredBackBufferWidth = 1024; graphics.PreferredBackBufferHeight = 768; graphics.PreferMultiSampling = false ; graphics.ToggleFullScreen(); Then I draw on the screen 2D the sprite and I move it on the screen. During the moment of moving of the sprite on the screen, he brakes and twitches, such impression that copying of the sprite occurs on without usage Z-buffer. How correctly to customize in project XNA Game Studio Express using class Game1 a full-screen mode In DirectX earlier, it was so: D3DDISPLAYMODE Display; if( FAILED( pd3d9->GetAdapterDisplay ...Show All
.NET Development How can I access local machine Port Number.
Hi All, How can I access the local machine port number through programmatically. Thanks for your help. as stated, you need some "operation" to do in order to access/use the port you are wanting to use, via the sockets classes or some other class which requires the usage of ports on the system. ...Show All
Windows Live Developer Forums Livecall.exe
How can I disable Livecall.exe process Since I'm not planning on using the Live Call service I find very annoying that it loads every time I sign in Windows Live Messenger eating 20 MB of RAM. Thank you. Windows Live Messenger build 8.1.0178.00 Windows XP SP2 Hello fercon03 i have a solution for your reference, 1. close msnmsgr.exe 2. find "%ProgramFiles%\MSN Messenger\livecall.exe". 3. rename the livecall.exe. -- hope it can help you . ...Show All
.NET Development Encode Problem
I try to load file like *.doc,*.txt and use FileStream class Read that,but it display abnormally. thanks in advance. jiangzw. Its not in my knowledge that if there is anyway to check encoding of a file without opening it. Anyhow have you tried to use Default Constructor of StreamReader without specifying any Encoding May be it'll itself evaluate and use right Encoding Does this help Best Regards, ...Show All
Visual Studio Team System Copy or transfer data from portal to portal
I've read posts on this forum about moving or copying a whole project from one server to another and such. I'm interested solely in the information on the project portal, and there primary just in the discussion forums data - both the text and the attachments. Is there an easy way to export/import this info Thanks! The project portal associated with a Team Project is a top-level site collection. SharePoint does support single site backup/restore of content at this level. Please see the stsadm backup/restore commands here: http://www.microsoft.com/resources/documentation/wss/2/all/adminguide/en-us/stsk01.mspx mfr=true ...Show All
.NET Development ISAM installable file not found
Hello, I am trying to open a connection to an Microsoft Access data base in visual basic.net. I get the message ISAM installable file not found. I have the file MSISAM11.dll in c:\windows\system32. I registered it with regsvr32. and it still does not work. What can I do thanks a lot in advance for your help Aurora Tellez. This error message is sometimes caused by an error in the connection string. Could you post your connection string (Don't forget to obscure any confidential information such as a password that may be included in the connection string, of course). -- Brendan Reynolds wrote in message news:78287875-25bd-4e93-92d0-c01e314d0003@discussions.microsoft.com... He ...Show All
Windows Forms How to Insert Data Grid Items in c#.net
Dear All, I am very new in .net technologies but doing a project on .net technolgies . I am facing a problem on inserting the datagrid items into database (SQL Server) by using c#.net. Please help me Thanks in Advance. Hi parvezkhan I assume you are talking bt the asp.net datagrid. You could look for you answer @ http://www.datagridgirl.com/ ...Show All
Software Development for Windows Vista WF Dynamic Update - Beyond the basics
By definition WF is made-up of Control Flow and Data Flow (i.e., WF State). It seams that WF have very good built-in support for Control Flow Adaptation (i.e., Adding/Removing Activities). But what about Data Flow Adaptation, i.e., adding (or even removing) Wokflow variables and Workflow Events In other words how to dynamically add Variables and Events Handlers to a WF Any detailed example(s) is also appreciated Updating the WF control generally has an impact of the WF data/state. For example take a WF that has one activity (e.g., decimal GetAccountBalance(int AcctID) ) the latter return the balance in US$, if the customer is accessing this WF from Sydney then the system should dynamically add an activity to call GetExchangeRate(Fro ...Show All
