visual-studio-2008

Visual Studio 2008 SharePoint WebPart Deploy Problem - "The HTTP request is unauthorized...'Negotiate,NTLM'"

Hello, I am trying develop a SharePoint WebPart with "Visual Studio 2008 Extensions, Version 1.3". When I try deploy or quick deploy or package or anything about deployment for my WebPart I am getting this message: The HTTP request is unauthorized with client authentication scheme 'Negotiate'. The authentication header received from...

Enumerating Outlook Mailbox using Visual Studio

I have the following class which is intended to return the subject line of all the emails in a folder It is Visual Studio 2008 against Outlook 2007 running on Windows 7 64bit using System; using System.Windows; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Office.Interop.Outlook; namespace Mar...

check if value is entered for datetimepicker?

How can I validate that a value has been selected in a datetimepicker control. The control is bound to a bindingnavigater so when the save button is clicked I want to ensure a date has been selected? ...

Is there a need to update a custom action's binary after each build?

I have created a c++ custom action for a setup-project application in VS Team System 2008. Using ORCA I implemented it and inserted the binary image of the custom action. This works okay. Does the binary object remain intact after each subsequent build? i.e. I assume I do not need to update the binary data unless I make a change to t...

Windows CE SDK for Visual Studio 2008

Hello, I am new to Windows CE programming. I have Visual Studio 2008 and Visual Studio 2005. I have found the following SDK for Windows Mobile http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en Please help me in deciding if this is the correct one, or please feel free to ...

Visual Studio 2008 - Conditional Compilation Symbol for Solution, not Project

I want to use a compilation symbol, like DEBUG, except a different name, and have it associated with a solution, not a project, so that it applies to all the solution's projects. Rather than define the same symbol in multiple projects, is there a way to define a symbol once, that applies solution-wide, via VS2008? ...

Cross-platform developement?

I am looking for a solution which would allow me to code for Linux and Windows using C++. On Windows I use Visual Studio (I tried other stuff on Windows but I work with DirectX and as far as I know, it's the best solution). On Linux I use NetBeans (which I like very much). My problem is that I want the project be independent of Visual...

Can't establish SQL Server connection from VS 2008

Hi, I am sorry if this sounds like a silly question, but I have googled for a while for a solution and no success. I am trying to establish a connection from VS 2008 to SQL Server. I am trying to use an user that my web application has been successfuly using to access the database from in its connection string. But when doing it from VS ...

class name and method name dropdown list is missing (visual studio setting)

Does anyone know how to get my class name and method name dropdown lists again? It's the dropdown lists that are usually above the code. It's just a setting but i can't seem to find it. I don't want to reset my setting btw. I shouldn't have to. ...

C# for writing macros in Visual Studio?

Hi, I started C# a while ago and really like it. I work with VS 2008 and really like it. I tried Resharper and loved it. Now I am starting with Macros in VS2008 to increase my coding speed a little more. And stumble upon visual basic. And I do not like that. Is there any way to write macros in C#. Or a workaround, in writing a plugi...

VS Web Setup Project + VSDB Database project

I'm using Visual Studio Web Setup Project to instrument web application install kit. Unfortunately, the database is done by a Database Project created by VSTS Database Edition by my colleague(I'm using VSTS Developer Edition). It seems that VS Web Setup Project does not recognize the output of the DB project, so it can't include the out ...

how to remove write protections of project and its files written in vc++/visual studio 2008

how to remove write protections of project and its files written in vc++/visual studio 2008.Or how to change attributes of files present in vc++ project ...

tooltip documentation in visual studio 2008 - not enough info

is it possible for the tooltip documentation in VS2008 (C#) to display not just some of the doc, but all of it? E.g. /// <summary> /// Method description /// </summary> /// <param name="param1">Parameter no 1</param> /// <param name="param2">Parameter no 2</param> When I hover the mouse over method call, it displays just the "Method d...

LINQ2SQL: If I make changes to DB, how to mirror them in DBML?

Hi, I am using LINQ2SQL in my current project. I have a quite a lot of tables ~30. When I create my DBML file I change some of the column names etc for readability. Recently if I made a change to the table in the underlying Database I just deleted and re-added the table in the DBML file, but this is getting tedious. How can I mimic ...

waiting for process to finish

hi, i have a program in c# which run some process for example generate.exe a.tif -o myfile.txt and the next line after the following my code will need to access the following myfile.txt. how do i know when it is ready? i know that it will generate the file for sure, but how to set the next line so that it executes only after...

Intellisense does not recognize Sharepoint.WebControl elements in a control template

I am working with a project generated by the VS2008 Sharepoint template (VSeWSS). Currently, when working in the ASCX files that I have, IntelliSense does not recognize the imported namespaces. I'm uncertain what to do to address this. Note: Per edit below, importing SharePoint.WebPartPages works fine, it's just SharePoint.WebControls ...

Where do I re-enable a build question in Visual Studio 2008 after clicking "do not ask again"?

While building a program, I made a mistake and chose "do not ask again" to the question "this project is out of date, do you want to build it?" How can I re-enable that question? ...

Unmanaged C++ Unit testing in Visual Studio 2008

I want to create a managed C++ unit test project to test an unmanaged MFC project. I have read msujaws's procedural and followed it. I implemented a test method to test the return string of a function like so: #include "stdafx.h" #include "TxStats.h" #include <cstdlib> #include <atlstr.h> #pragma managed #using <mscorlib.dll> #using <...

Dynamic SQL string wildcard % causes 'Invalid Column Name' in Visual Studio

Sproc in SQL Server 2005 parses, compiles and runs successfully via SQL Management Studio. I've recently imported the schema into Visual Studio Database Edition 2008 and attempting to 'build' the project. The collation on both the database I generated the script from , and the 'temporary' design time database are the same (SQL_Latin1...

VS 2008 Generate Create Script to Project Fails

When I try to run Generate Create Script to Project on a table in the Server Explorer, I get the following error—An error occurred during the operation: The Table '[dbo].[TableName]' cannot be scripted as its data is not accessible. I can view the table data without any problem. I have generated several create scripts from the same data...