bblackshaw's Q&A profile
Visual Basic CodeSnippets Manager
CodeSnippets Manager I have two problems. First, I added a subdirectory to MyCodeSnippets called Exceptions. However, no 'plus' sign appears to the left of the MyCodeSnippets Folder. How can I get subdirectories to produce a plus sign next to the mysnippets directory Second, if I want to add my own code to this Exceptions folder, how do I do it. Imports wants a file that contains a 'CodeSnippets' type. I copied my code to a text file, navigated to it, but of course it doesn't appear. I typed in *.*. Then it appeared. I selected it but the code snippet manager rejected it because it wasn't a code sn ...Show All
Visual Studio Team System How to show Work items on portal site?
Can I add a display of the current work items list to the portal site Added a new work item to the team project in VS. Saved. Opened portal, opened Project Management, opened Project checklist. Spreadsheet does not show new work item. Is there a way to force regen of posted docs (this was built when team project was created) You need to hit the refresh button on the Team Foundation Toolbar to have it requery the database and update the list in Excel. Brian ...Show All
SQL Server SP datetime Parameter problems
DROP TABLE TestTable CREATE TABLE TestTable ( StID tinyint NOT NULL , StDate datetime NULL , Amt float NOT NULL CONSTRAINT [DF_TestTable_Amt] DEFAULT (0), CONSTRAINT [PK_TestTable] PRIMARY KEY CLUSTERED ( [StID] ) ON [PRIMARY] ) ON [PRIMARY] GO /* And After i'll create insert SP useing 'CREATE STORED PROCEDURE WIZARD' Sp name:'insert_TestTable_1' And Pass Some Parameter values */ Exec insert_TestTable_1 1,getdate(),50.25 --gives Error Server: Msg 170, Level 15, State 1, Line 1 Line 1: Incorrect syntax near ')'. waht is that problem need help.. You cannot use a f ...Show All
.NET Development WHAT DOES THIS MEAN?
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Unable to load file 'USA'. Source Error: Line 257: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> Line 258: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> Line 259: <add assembly="*"/> Line 260: </assemblies> Line 261: Source File ...Show All
Smart Device Development Clickable Units using .NET CF
I'm currently coding a turn-based strategy game for the .Net Compact Framework using C#. I have the beginnings of a tile-based graphics engine built up and have some rudimentary units that I can click on and move around the map. Currently I am capturing OnMouseDown events from the main form and depending on the current game state testing each on-screen unit to see whether it was the one that was clicked, whether it should move to a new location, etc. The problem is, I'm also using OnMouseDown to check when various buttons on the screen have been pressed (like mini-map or unit-info buttons) and so the logic for this sec ...Show All
Visual Studio Visual Studio 2005 and Release version of SQL Server Express
If I recall correctly, the version of SQL Server Express that is found on Visual Studio Pro is the December 2005 CTP. Since SQL Server Express is now a released product, complete with download and several versions, what is the CORRECT process to update SQL Server Express to the release version and have that version work correctly with Visual Studio 2005 Professional. The reason that I am asking is that I am finding a lot of problems that are data access related within Visual Studio after I installed the release version of SQL Server Express, following those instructions, which were to uninstall any previous versions of the product. Man ...Show All
Software Development for Windows Vista Lies?
On http://msdn.microsoft.com/windowsvista/downloads/getthebeta/default.aspx Microsoft says: Download the Latest Windows Vista If you are not already a member of the Windows Vista beta program, there are still two ways to obtain the latest public CTP or beta version of Windows Vista. MSDN Subscriptions - If you have an MSDN Subscription (Operating System level or higher), you can download the latest version of Windows Vista. (Read information on purchasing an MSDN Subscription) Windows Vista Beta Program - If you wish to become a beta member, you can do so by registering for the world-wide Windows Vista Beta ...Show All
Visual Basic ContextMenuStrip shows in taskbar
Here's my problem: I want to use four ContextMenuStrips to make a kind of a multiple menu. I need to set de AutoClose property to FALSE. When I do that, every ContextMenuStrip appears in the taskbar (my app has 5 items in the taskbar!) Is there any way to disbale AutoClose without having the menus shown in the taskbar I would appreciate any help! ...Show All
Smart Device Development Another LNK2019, 1120 Error
Hi everyone. I'm using VS2005 Beta2 and encountered the LNK2019 and LNK1120 errors while building my DLL (linked to static lib libspeex). Here's what the message looked like: SUCode.obj : error LNK2019: unresolved external symbol __security_cookie referenced in function "int __cdecl SpxToWav(wchar_t *,bool)" ( SpxToWav@@YAHPA_W_N@Z) SUCode.obj : error LNK2019: unresolved external symbol __security_check_cookie referenced in function "int __cdecl SpxToWav(wchar_t *,bool)" ( SpxToWav@@YAHPA_W_N@Z) Pocket PC 2003 (ARMV4)\Debug/DeviceDLL.dll : fatal error LNK1120: 2 unresolved externals My question is, what is __security_check_cookie and _ ...Show All
SQL Server How to intentionally cause a package to fail using a SQL Task
I'd like to use a SQL Task to execute a stored proc, which checks for a value, and if I don't like the result, raise an error. If the stored proc fails I'd like the package to fail as well. When I run the stored proc outside of the package, it fails as it should. However, when I run it in the package, the package does not fail. It moves on to the next task and completes normally. Any ideas on what I may be doing wrong Thank you, Perry Make the next task conditional on the results of your stored proc task. In order to do that, you have to add a Precedence Constraint to the task (the following task ...Show All
SQL Server SqlServer2005 can support merge replication with SqlCe2.0??
Hi guys, Correct me if I'm wrong. That's wat I was doing.. Try to perform a merge replication between the 2. But the following errors are wat I've got during the syncronization: Error Code: 80004005 Message : Run Minor Err.: 28557 Source : Microsoft SQL Server 2000 Windows CE Edition Err. Par. : ssce:database;password=mypassword;data source=Program Files\helloWorld\database.sdf; Error Code: 80040E14 Message : The OLE DB Execute method failed. The SQL statement is not valid. [,,,SQL statement,,] Minor Err.: 28560 Source : Microsoft SQL Server 2000 Windows CE Edition Error Code: 80040E14 Message : There was an error parsing the query. [Toke ...Show All
SQL Server Create a database based on an existing one?
I want to create one databse with exactly the same tables as another, is that possible Yes, you can use the Transfer object to create a script that recreates all objects in a target database. See the ScriptTransfer() method. ...Show All
Visual Studio 2008 (Pre-release) Back to the 2-tier?
It seems to me that Dlinq with this nice new feature of Entity = Class is good for a Client/Server scenario only. How would it worlk in a SOA at all Nagymester wrote: It seems to me that Dlinq with this nice new feature of Entity = Class is good for a Client/Server scenario only. How would it worlk in a SOA at all Well, let start by asking whats your definition of SOA I like this one: A service-oriented architecture is a collection of services that communicate with each other. The services are self-contained and do not depend on the context or state of the other service. They work within a ...Show All
Visual Basic Web Browser - VB.NET 2005
Hi, I am trying to put together a web browser in vb.net 2005 - but having problems upgrading a vb6 app. I cannot bring up the print dialog to print the html, nor can I bring up other dialogs when I was previously using ExecWB. I used this for Internet Options, Find etc....all the functionality has simply fallen away in the upgrade. From what I read, these are obselete (inc the upgrade failure msgs in the IDE). Can someone point me to an example of a complete/near-complete Browser written in .vb.net 2005 or give me an of what I can try Thanks J Mark, brilliant stuff - its definately ...Show All
Visual Studio Express Editions I can't get sql serever 2005 express to install
I've tried several times and have not been able to get the process finished to instal sql server 2005 express to load on my computer. I get to the very end and get a failure. I went to the error log and got this: Microsoft SQL Server 2005 9.00.1399.06 ============================== OS Version : Microsoft Windows XP Professional Service Pack 2 (Build 2600) Time : Fri Feb 17 10:48:10 2006 TELFORDT : The current system does not meet recommended hardware requirements for this SQL Server release. For detailed hardware requirements, see the readme file or SQL Server Books Online. Machine : TELFORDT Product : Microsoft SQL Ser ...Show All
