I want to guarantee that a token is assigned to an order. All available tokens are inside the Token table and each token can ONLY be assigned to 1 order. Here is the sql I came up with:
SET XACT_ABORT ON;
BEGIN TRANSACTION
-- Reserve token.
SELECT @token = token, @tokenId = id FROM Tokens WITH (UPDLOCK) WHERE taken = 0;
-- Take token.
...
Hey all, i am trying to figure out how to go about finding this window's label when the control name is the same as all the other labels on the program.
WindowsForms10.STATIC.app.0.378734a
WindowsForms10.STATIC.app.0.378734a
WindowsForms10.STATIC.app.0.378734a
All 3 labels are named the same. The one i am most interested in is a progr...
Hello,
It seems that there is a path lenght limit for VS2008 when loading XAML assemblies.
Using the Microsoft sample Southridge, if the project is stored on "C:\Projects\C# samples\Southridge_Labs\1.Southridge_Fundamentals\Start" the designer does not load the assemblies.
But if I copy my files the project to the root (C:\Southridge_...
Hi
How can I change the height of the column header in a ListView ?
(visual studio-2008,windows forms)
...
Hi,
I'm struggling with setting my scons environment variables for visual studio 2008.
Normally I do following:
%VS90COMNTOOLS%vsvars32.bat
or
call %VS90COMNTOOLS%vsvars32.bat
And this works in my shell.
I try to do that in python using subprocess
subprocess.call([os.environ['VS90COMNTOOLS']+r"\vsvars32.bat"])
output:
d:\N\wo...
Hi, I've created a Database in my project with one simple table.
The database is stored locally and has a .sdf extension.
On my computer I have installed SQL Server 2008, there is also SQL Server 2000 but that is a network server which I don't want to work on.
I want to use the local database, which I created within the VS IDE and I tri...
I had this question solved:
http://stackoverflow.com/questions/3898217/define-dynamic-enum
Which I needed to get some Codes defined in the web.config from a class in App_Code for easy call. Well, the problem now is that I need to use this same Codes inside my business classes (and they won't access Web.config keys..
Accepting any solut...
I was under the impression Visual Studio 2008 (and probably other versions) already made an app.config file for Forms applications. I've edited the app.config on multiple occasions without creating a new app.config file. However, I just created a new application and I can't find the app.config file. I hit Show All files and it still d...
I have c code that is using unix libraries and in linking ihave the following error:
error LNK2019: unresolved external symbol "double _cdecl dlamch(char *)" (?dlamch_@@YANPAD@Z) referenced in function "double __cdecl Num_dlamch_primme(char *)" (?Num_dlamch_primme@@YANPAD@Z)
s iwant away to use the unix libraries in visual studio 2008...
Hi, I use Visual Studio 2008 database project for managing my database scripts and version control. by default visual studio script templates are encoded in UTF-8 format. when I try to concatenate the scripts for database release (using the DOS command "type *.sql > dbscripts.sql") and run the concatenated script from SQL server manageme...
I was trying to deploy an asp web app over to a different server and when I ran the .msi setup I got the error:
Setup requires Internet Information Server 4.0 or higher and Windows NT 4.0, Windows 2000 or higher...
Now its obvious that it has version 6.0 since windows server 2003 is installed, do you have any ideas why this is happenin...
Easier to demonstrate this with two screenshots, the first Windows XP, the second Windows 7:
http://www.picpaste.com/Virtual_folders1-4tCBM9lK.PNG
http://www.picpaste.com/Virtual_folders2-pboFc6vf.PNG
In Windows XP, VS 2008 spots the virtual directories and doesn't display or even look at the contents of the virtual directories in the ...
Hi,
I am working with a solution that contains an ASP.NET website and class library project. It has been working splendidly for years. In the past few months I upgraded it from VS 2005 and .NET 2.0 to VS 2008 and .NET 3.5.
During the upgrade process I noticed know issues and it runs fine in production.
After pushing to production and ...
I'm having a problem linking a C++ project in VS2008 when using the /clr compile option. I am getting the following build errors:
Class1.obj : error LNK2022: metadata operation failed (8013118D) : Inconsistent layout information in duplicated types (_PROPSHEETPAGEA): (0x0200046f).
Class1.obj : error LNK2022: metadata operation failed (...
Can Report Viewer 2010 control be used in Visual studio 2008 (ASP.NET apps) without problems? I saw this post about it and wanted to know if this is supported and is OK.
...
We have some older projects in VS 2008 format and the newer ones in VS2010. Its reshource hogging to have both open. I am wondering if there is a way to make VS2010 open VS2008 solutions without converting any project/solution files.
...
I have both VS 2005 and 2008 installed on my machine. 2005 is fine. For 2008, literally any asp.net project I try to create gets this eror. I try stepping into the code, and the error occurs apparently before anything that I can trap is loaded. There is no information written to the event log.
I have tried this with a "Hello World" ...
I have the following code :
FILE *fp = fopen( srcFile.filename.c_str(), "rt" );
srcFile happens to be the solution's main.cpp file, and thus is opened in the solution. fopen returns NULL most of the time (but not when I step into it, which is weird).
However, when I close main.cpp in Visual Studio, the code works. Even when the fil...
I have been stumbling through some different steps to do this. I ran the qt3to4.exe on the files with compile errors and got though a lot of conversion steps, however now I am getting this error:
1>c:\qt\4.7.0\src\qt3support\widgets\q3toolbar.h(64) : error C2039: 'ToolBarDock' : is not a
member of 'Qt'
and 55 other similar errors. This...
Hi I have installed a Team Foundation Server 2010, and it works perfectly over my Lan, but I need it to work over the internet too.
My problem is that when Im connected to my team server over the internet, I get the following error, when I try to create a new Team project.
TF218027: The following reporting folder could not be created o...