I am creating a web site in visual studio 2008.
I want to allow the current user to log in but log off any other person logged in under the same username as the current user. (just like like Y!M does when you log in from a different location: It signs you out from the initial location) For managing log in and sign up i am using visual ...
Hi,
I have a textbox, nothing surprising there. When the text is changed I call the change event and put everything in that text box to uppercase characters using .upper(). However, the textbox always puts the cursor to the beginning of the text box. So for example lets say you type in abc it will actually appear in the box as CBA as...
I'm getting the following error when I compile the following code on Visual Studio 2008 / Windows SDK 7
const UINT a_uint;
UINT result;
throw std::runtime_error( std::string("we did ") + a_uint +
" and got " + result );
Ironically, I ended up with this result:
error C2782: 'std::basic_string<_Elem,_Traits,...
Hi,
I have a WCF with server and client certificates.
When calling service I get the following error and have no idea how to fix it:
Test method TestProject1.UnitTest1.TestMethod1 threw exception: System.ServiceModel.Security.SecurityNegotiationException: Secure channel cannot be opened because security negotiation with the remote...
I Upgrade a small Ms Acces Desktop application to VB.net SqlServer Express 2008 R2, this application run on different clients LAN Networks ( about 50 ) with one dedicated Windows Server 2008 R2 and two or trhee PC-Clients.
All installations have SqlServer sa password and nobody knows the password, this sa login is only for administrati...
I have a global object holding several c++ std::map objects. This object is supposed to be read only in a multithreaded environment. But i'm not sure whether there is any write operation when a C++ std::map object is being read within the implementation of std::map. The IDE is Visual Studio 2008. Should I provide some synchronization mec...
Hi there,
I am writing two console applications, a client and a server.
I'm a little stuck at two things, which seemed rather easy at first..
#1: I want to write a function for the following piece of code, that converts bits to a string, but I cant just figure it out. The server always crashes when I use it. My function is a little bit...
I have solution sln, that has many csproj projects (P1.csproj, P2.csproj, P3.csproj...).
anyone know a way to programmatically (using scripting-commandline, APIs, or SDKs) read the list of all csproj projects in a VS2008 of sln file?
...
I have a list box in an WPF application.
Its properties is visible in Visual studio Properties panel.
The icon for events('lightning') is missing.
How can I see the events connected to listbox.
...
I have a ListView, checkboxes = true, View = List. On the start of the project, I go through, do some calculatations and determine if the database is empty and what I should do from there. Well one thing I do is iterate through an array (from a dll) of Report Names and add the list view items to the ListView because we want it to be as...
I have experienced some unexpected behaviour in Visual Studio 2008 when I do the following.
In a base class (for example called A), I create a property called MyProperty that holds an int. I declare this property as virtual with public get and set methods.
Then I create a class B that inhetits from A, and here I override just the sette...
Hi,
I've developed a 64 bit dll using C++ and Visual Studio 2008 and i'm trying to register it on a target machine using 'regsvr32.exe'. I've checked the manifest file and it clearly states what version of CRT is needed:
<assemblyIdentity type='win32' name='Microsoft.VC90.CRT' version='9.0.21022.8' processorArchitecture='amd64' public...
Lord all I ask is for some simple software that will maintain versions of my files and revert to ones I want.
Personally, I felt like just using a nice backup tool I have to just zip up a copy of my folder on another drive when I want. But they said I Have to use SOME source versioning.
Already posted the problem I had with SVN. Now it...
Hi,
I am having a problem with building an application in Visual Studio 2008. I have declared the following in my project properties:
_BIND_TO_CURRENT_MFC_VERSION=1
_BIND_TO_CURRENT_CRT_VERSION=1
_BIND_TO_CURRENT_ATL_VERSION=1
When I build my application in VS2008 it generates an intermediate.manifest file which contains:
<dependent...
At my previous job they used a product called "Whole Tomato" (I think that's what it's called) and it allowed you save custom blocks of code. That way, if you wanted to use it over again, all you'd have to do is start typing what the code block would look like and then it'd give you a drop down option of available blocks. Well, is ther...
In Visual Studio (specifically, 2008 and 2010), when you invoke the View.PropertiesWindow command (default key, F4) in a C# project, you get a property grid with a standard set of properties that apply to all project items.
Is there any way to customize that list of properties? Specifically, I'd like to associate additional information ...
I have 2 classes in 2 different files:
RegMatrix.h:
#ifndef _RM_H
#define _RM_H
#include "SparseMatrix.h"
...
class RegMatrix{
...
RegMatrix(const SparseMatrix &s){...} //ctor
...
};
#endif
SparseMatrix.h:
#ifndef _SM_H
#define _SM_H
#include "RegMatrix.h"
...
class SparseMatrix{
...
SparseMatrix(const RegMat...
Hello!
I have the following question:
Does Microsoft Visual Studio (I'm using 2008 SP1) offer any way to override standart C functions such as malloc, memcpy?
Suppose I have some externally built library, which contains malloc.obj and memcpy.obj.
Library is called library.lib.
How should I build my project so that the compiler uses m...
Sometimes when working with Visual Studio 2008, the main editor window will just start failing to draw beyond a certain width. In this case it appears to only re-draw about 80% of the editor width, then it starts showing grey/incomplete rendering. See this screenshot:
I have no idea what's going on here; anyone else experience this is...
Hello all, I had been looking for a "variable highlight" feature which can be found in Netbeans or Notepad++.
This means, when I select a variable, the same variable which is being scattered around other place will be highlighted as well. This feature is very valuable, to help me scan the code quickly.
May I know is it possible I can h...