visual-studio-2008

Windows Mobile 6 Emulator web browser connects to local machine but not the internet - how to?

こ雲淡風輕ζ 提交于 2020-01-06 08:51:30
问题 I've configured Windows 6 Professional Mobile Emulator, and am trying to get an Internet connection on it. Currently when I browse to any address, I get my local box's IIS, and no outside addresses. On my box: I have Virtual PC 2007 installed. I have, so far, in my Visual Studio .Net app, cradle the device emulator. Allowed connections to DMA (Control Panel/Windows Mobile Device Center/Allow connections to one of the following: DMA) In the Emulator: Settings/Connections/Advanced/Selected

Any way to make Vault auto check in files?

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-06 08:41:48
问题 Does anyone know if there is a way to make Vault, or the users of Vault to automatically check in their checked out files at a certain time of day (i.e. after office hours). I know there are obvious drawbacks to implementing this so if anyone has any ideas to bring about the desired result (checked in files), please share. Thanks 回答1: I can't really possibly think of any benefit automatic commits could bring. If I have some unfinished work on my local computer, I can either have two choices,

Trying to start a new service - but having a permission problem

时光怂恿深爱的人放手 提交于 2020-01-06 08:23:29
问题 The error: I get a popup window when trying to manually start the windows service. It says: Windows could not start the XXX service on Local Computer. Error: 1069: The service did not start due to a logon failure. Post-build events: There are 2 Windows services in the solution and they have the same post-build events: REM C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe /u "$(TargetPath)" REM C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe /i /username=.

Unhandled exception at 0x1000bbae in OCTREE.exe: 0xC0000005: Access violation writing location 0x000000a8

跟風遠走 提交于 2020-01-06 05:46:29
问题 I'm getting the above runtime error on the following code on line: glutMainLoop(); Why? #include <stdio.h> #include <vector> #include <iostream> #include <fstream> #include <sstream> #include <string> #include <cassert> #include <math.h> #include <gl/glut.h> #include <stdlib.h> class Vertex { public: float X; float Y; float Z; public: Vertex (float first, float second, float third){ X=first; Y=second; Z=third; } }; using namespace std; vector <Vertex> vertexCoordinates; vector <vector<int>>

C# Unit Test Generation

对着背影说爱祢 提交于 2020-01-06 05:39:06
问题 I know it is possible for VS 2008 to generate unit test code to test C# classes, but I cannot find the right sequence of mouse clicks to generate the code. Any help? 回答1: I don't think the generate unit test function of Visual Studio is available in the Professional version. You need Team Developer edition, Team Tester edition or Team Suite edition. You may want to look into PEX instead. It works in Professional just fine. 回答2: I have Visual Studio 2008 professional installed. I just need to

pointers vs. references vs. a regular pass by value c++

瘦欲@ 提交于 2020-01-06 04:57:09
问题 Please read before answering. I dont want you to state the obvious for me. THANKS :D I am trying to differentiate between pointers and passing by value. And I think I understand them but one thing the source I was reading wasnt clear on is what is the difference between passing a pointer and passing by value. consider the following... andy = 25; fred = andy; ted = &andy; The first line passes the value 25 to andy. The second line passes the value of andy to fred. Now fred possess the value 25

Using Precompiled Headers with VS2008 takes longer

女生的网名这么多〃 提交于 2020-01-06 04:52:08
问题 I am trying to use PCH in my solution to cut compilation time, but unbelievably, it takes more than twice as long with compared to without . Here's the stats: Windows 7 x64 with 8GB running on i7 Sample project: 235 cpp files for a total of 4.5 MB source code (using MFC) With PCH takes 13:55 minutes Without PCH takes 6:15 minutes I'm pretty sure I'm using them correctly, the project is set to Use Precompiled Headers at the project level, and the StdAfx.cpp is set to Create Precompiled Headers

How to get XML namespace?

家住魔仙堡 提交于 2020-01-06 02:20:28
问题 I tried using this code: [C#] var textReader = new XmlTextReader(path); if (textReader.NamespaceURI == "http://www.portalfiscal.inf.br/nfe") { //... } My XML: <?xml version="1.0" encoding="utf-8"?> <NFe xmlns="http://www.portalfiscal.inf.br/nfe"> <infNFe version="2.00" Id="NFe31130317194994450127550012302143751002144567"> <ide> //continue... But my code always returns "" ... Is there a easy way to get XML namespace? 回答1: Your code will return the namespaceUri of the current node. Try to

Hiding Classes/Methods From XML Documentation

天大地大妈咪最大 提交于 2020-01-06 02:00:11
问题 I have a number of interfaces in an assembly which I need to document using XML-Doc and Sandcastle. However, there are also a few interfaces I would like to ignore when building the documentation file. Right now I manage to do it by compiling the assembly with those interfaces marked as internal , but this is more a workaround than a solution to the problem since, in fact, those need to be public . Is there some kind of attribute one can decoracte unwanted ones with so that they are ignored?

how to divide data in multiple columns in tsql

僤鯓⒐⒋嵵緔 提交于 2020-01-06 01:18:05
问题 i have around 1000 of rows in database which i want to divide in column group wise. i mean in following format SlNo. Name Price SlNo. Name Price SlNo. Name Price how i can write query to show data in above format as in rdlc report vs 2008 i am unable to show data in this format. Any help would be appreciated... Sales Table Structure CREATE TABLE [dbo].[Sales]( [SalesId] [int] IDENTITY(1,1) NOT NULL, [MemoNo] [int] NULL, [CustomerID] [int] NULL, [SalesmanID] [int] NULL, [DisRate] [int] NULL,