Chris Powell's Q&A profile
Visual Studio VSS 2005 and Visual Studio 2005 Professional Edition
Is Visual Source Safe 2005 included in Visual Studio 2005 Professional Edition I haven't been able to find information on this anywhere. We are worried that we may have to purchase Visual Studio 2005 Professional Edition and also purchase Visual Source Safe 2005. Previously, we only had to purchase Visual Studio .NET 2003 Enterprise Architect which included Visual Source Safe 6. Any information will help. Thanks.  ...Show All
Visual Studio Express Editions Hash Table Question
Hi, what I need is as follow. I have a class that contains a string. ref class WordObj { public: String^ string; Int32 info; // further data }; Now I want to add such WordObj to a hashtable. myHT.add(wo->string, wo); As you can see, the string inside the WordObj is the key. Is it possible to prevent the hashtable object to store the string twice Once as key and a second time as part of the stored object. It is important ...Show All
SQL Server SQLSTATE=08501 - or - Communication Link Failure
Hello, Was just trying to solve an issue that keeps coming up periodically. We are using PowerBuilder v9.0 as our front end and MS SQL Server as our back end. We are using ODBC as opposed to using the Native SQL Server Database driver that comes with PowerBuilder. We have a process that runs hourly throughout the day, everyday, and about every two weeks we start to get strange errors coming from this process. Most notably, the following error me ...Show All
SQL Server Unable to retrieve Column information when using Ole Db Provider for sybase
Hi All, I am in process of transfering data from Sybase to Sql Server using SSIS 2005 have taken a Data Flow Task in Control Flow tab In Data flow tab, I have taken one Ole DB Source and One OLe DB Destination For the source, I am using Sybase Adaptive Server Anywhere Provider 8.0 For Destination, I am using Sql Server 2005 database In Ole Db Source Editor , For OLe Db Connection Manager, I choose Sybase Connection For Data ...Show All
Windows Forms DebuggerStepThrough related question.
Hi all, I use the <DebuggerStepThrough()> attributed to stop the debugger from stepping through certain procedures in my widows forms application. But I have several projects in my solution and some of them are debugged already. How can I still keep a project in my solution but prevent the debugger from stepping through one or more entire projects In other words: step through project A, but skip project B. Thanks in advance, ...Show All
Software Development for Windows Vista "The proper type library could not be found in the system registry."
I just installed WF on my machine and now get this error every time I load the IDE. I did not install any of the WinFx components as they looked to be optional. Can anyone point me to the component it is referencing. It says have an administrator login and it will work but I am the administrator so thats not it. If I need the WinFx components I can install them, but was wanting to install as little as possible until the RTM compatibl ...Show All
Visual C++ ATL80.DLL from VS2005 RTM won't start on NT4
If an attempt is made to load the RTM ATL80.DLL on NT4, an error message is shown complaining that the import GetLongPathNameW could not be found in KERNEL32.DLL and as such, the process cannot start. As the MSDN docs for GetLongPathName() show, it's very simple to work-around this problem in source-code (ie static library) by including NewAPIs.h. However when linking with ATL80.DLL this solution is not possible, since ATL80.DLL does not d ...Show All
SQL Server Report Properties -> CODE issue
I'm trying to add a code function that returns a text field that is associated to one of the report parameters but am having problems with syntax. The function below works in VB or VBS w/o erroir but in the SQL report i get the following error message. "[BC30807] 'Let' and 'Set' assignment statements are no longer supported." Removing the set statements alone only casues other erorrs. I've tried googling for examples but can't ...Show All
SQL Server Limited number of assemblies available in Visual Studio SQL Server Projects
Hi, When starting a SQL Server Project in Visual Studio, there are a very limited number of assemblies available to reference. Does anyone know why Specifically I would like to use "Microsoft.AnalysisServices.AdomdClient". Does anyone know how I could do that Best Regards, Johan Ahlen, IFS Hi, if you want more than these one, you have to register them in the GAC to see them in V ...Show All
Visual Studio How to translate from Properties to Items?
I have a property that has comma-separated values, like "A,B,C,D" and I need to pass it to another target. My current solution is to declare it as items and the pass it to msbuild with batching: <PropertyGroup> <MyProperties>A,B,C,D</MyProperty> </PropertyGroup> < ItemGroup > < MyPropertiesAsItems Include = "A;B;C;D " /> </ ItemGroup > < Target Na ...Show All
Visual Studio Express Editions Array problem
Dear everyone, In C++, when we allocated memory for array, we'd better to use delete operator to deallocate and free memory space. That's good. How could I do that in C# How do I prevent memory leak by deallocating the memory allocated to array Thank you. Regards, David hi, i don't think you need to do that , it will happen automaticly when GC runs , if your array went out of scope it will be rem ...Show All
SQL Server SQL2005 equivalent of the data import task in SQL2000
I had to upgrade to SQL2005 when my customer did so. Everything went OK until I had to load additional data to the datamart. The SQL2000 task to load data from flat text files was straight forward and literally took me seconds tyo set up and execute and has never given me problems. I have now spent 3 days straight trying to do the same in SQL2005 going in ever wider circles. I have got SSIS up and going, I saved a dtsx package that won't run wit ...Show All
Visual C# Propagating events up an object chain
Hi All, I’m looking for advice on how to handle events in the following scenario: I have a TcpConnection object which I’ve written to handle creating client/server connections and managing them. It has some events: Connecting Connected ConnectionFailed Disconnecting Disconnected Now for an example project, a telnet program. I have a class called TelnetProtocol which uses my TcpConnection object to handle its connection ...Show All
SQL Server Can't install database scripts
I have the apr ctp of sqlserver 2005 that came with beta2. I know this must have been addressed before. I did a number of searches installing databases, pubs, northwind, etc., but none of them addressed the problem. I apologize in advance for going over old material. I can navigate to the folders where the database scripts are - C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data However, I don't know what to do after that. denn ...Show All
Visual Studio 2008 (Pre-release) SQL connection string
I found an apparent bug while working through the DLinq Hands-On Lab. The bug is seen when using a SQL connection string to connect to SQL Server instead of SQL Express and the connection string uses "Data Source" instead of "Server". When I used "Data Source" instead of "Server" I always got connected to the default local instance instead of the named instance I was attempting to connect to. When I used "Server" the correct instance was u ...Show All
