Roger G's Q&A profile
Software Development for Windows Vista How much of WWF designer support in VS is managed by the project system?
Hello, In order to create a new workflow in VS, one normally selects a template from the Workflow node of a C# or VB.NET project type in the New Project dialog. I tried creating an empty C# project (not of the workflow variety), copying the .cs and .Designer.cs files to this project, changing the namespace, and adding the same references to my empty project system that are present in the one created explicitly from the C# Workflow template. Everything built fine, but when I tried to display the editor, it failed with an error message about ''System.Workflow.ComponentModel.Design.IMemberCreationService'&nbs ...Show All
Windows Forms Windows XP issues - program throws exception
Hi I've been building a standalone forms app that communicates with an Access DB. It installs and runs fine on Win2k (with the .NET framework 1.1 installed) but when I try to run it on XP, it crashes. Am I missing something that needs to be included in the setup package Yes - but I rebuilt and the problem fixed itself. Irritating! ...Show All
Smart Device Development Filtering SQL Mobile
I have been tryingh to initiate a dynamic filter on a WM 5.0 PC - SQL Mobile (*.sdf) file with no luck. In previous editions of SQL (7/2000) I could specify the filter off of the recordset such as rs.filter = "Title LIKE '" (filter_text) "'" but this doesn;t seem to be available. I am using C# Visual Studio .NET 2005 -- targeting the WM 5.0 PC Smartdevice Any help would be most welcome. Thank you, I will run the gammit on dataviews and see if I can put them to use -- thanks for the nudge in the right direction ;-) ...Show All
Software Development for Windows Vista DX9 MultiVM9 Bug, can't keep running when system halt and then wake up
WinXP sp2 dx9, when I use MultiVMR9.dll in my project,I encounter the problem. Then I find that DxSample MultVMR9Play has the same problem. Is there any way to fix it Thanks! I guess that the device has been lost. You'll have to remove everything and Reset the Direct3D device. You can enable or turn up the Debug level of Direct3D (from the Control Panel) to get more info of what may be the problem. ...Show All
SQL Server Decrypting Password of SysxLogins Table - SQL Database.
Hi, Is there any way of decrypting password value stored in sysxlogins table of SQL database Thx in Adv This is a SQL Server 2000 table that is no longer available in SQL Server 2005. The password value normally contains a SHA1 hash of the password (unless the password is for a login created in a previous version and maintained through upgrade to SQL Server 2000). If the value is NULL and the login is a SQL login, it means that the password is empty. Otherwise, to determine the password, you would have to do a brute force attack on the hash. If the password is weak, a brute force attack will ...Show All
Visual Studio Team System after upgrade from RC to RTM: is it must to install again the team explorer developers machines?..
Hello. before couple of days my company (40 developers) upgrade the TFS from beta3 refresh to RC1, so all the developers had to uninstall the team explorer and install the new version (very long process with low bandwith network installation..) now, we want to upgrade the TFS from RC to RTM. the question is it a must to install again in all the developers machines the new version of the team explorer the team explorer version of the RC can't work with TFS server RTM version thankz, eranio. Yes, you must install the version of TFC that is compatible with TFS. In this case, if you are upgrading TFS ...Show All
SQL Server differential database backup query
Hi, I'm not 100% sure if my problem can be fixed but any help would be grateful, what I'm trying to do is discover what data in Great Plains is getting held in what tables in sql server. My idea was to take a back up of the current database, add a record and then compare the back up to the current system and get the differences. Does anyone know if this can be done. Thanks in advance. Jim You can try to run a trace on the GreatPlains tables/Stored Procedure to find out what you need. ...Show All
Windows Forms String Processing
I have the following string Dim msgBody as String msgBody = " PRICE: £3200 CONTACT: Sales Team at Inchcape Direct Wholesale, Tel: 01536401495, email: example @email.co.uk " I need a new string containing just the email address, so somehow go through the string until it gets to "email: " then get everthing else until it finds a " " space. How can I do this Bob's method, while workable for the example, is not complete. For example, what if the order of some of the fileds were switched around A more robust way to do it would be with a regular expression. One possible way to do this is: Import ...Show All
Visual C++ Accessing a string array
Hello, This is my first post here, so I wasn't entirely sure if this is the best place to put it. I'm starting to learn the .NET framework, and have created an array that I need to access in two different forms, this array command I'm using is: array<String^>^ strarray = gcnew array<String^> (100); . Which I declare in my int main() function - I can read and write to the array in the main function, but I don't know how to access it in my other forms. (I've tried the obvious ways: extern etc, but they don't seem to work, and have tried placing the array declaration in many other places, but this in the only way it will com ...Show All
Visual Studio 2008 (Pre-release) Strange bug: property not initialized with beta 2
Hello, I switch to beta 2 and found a strange bug with my code customizing the expander template. First here is a code sample to demonstrate the bug (i'll explain it after) : < StackPanel > < StackPanel.Resources > < SolidColorBrush x:Key = " SolidBorderBrush " Color = " #FFFF0000 " /> < Style TargetType = " {x:Type Expander} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate TargetType = " {x:Type Expander} " > < ToggleButton > < ToggleButton.Template > < Co ...Show All
Visual Studio Team System AvoidUncalledPrivateCode and other errors.
There seems to be a problem with AvoidUncalledPrivateCode There are quite a number of functions that are flagged with this rule that are not private at all, they are public. Here is an example: public static BusinessFacadeTimeZoneEnum ToFacadeEnum(TimeZoneEnum type) { return (BusinessFacadeTimeZoneEnum)Enum.Parse( typeof (BusinessFacadeTimeZoneEnum), type.ToString()); } Also I get: AvoidTypeNamesInParameters With the following code: public BusinessFacadeException( string message, ErrorClassification errorClass, string detailedErrorCode, string detailErrorString, Exception innerException): base (message, errorClass,detailed ...Show All
Visual Studio SQL 2005 SMO BulkCopy
We have a SQLServer 2000 stored procedure, which imports data from files using SQL-DMO BulkCopy object(sp_OACreate are used to create objects). We also use Format files to aide the import. Now, we are planning to convert this stored procedure to .NET application using Visual Studio 2005. Books Online says I have to use SMO Transfer object. But I could not find any information/examples how to BulkCopy using this object. Any guidance in this regard would be helpful. Thanks Baskar Baskar, the SQL Server gurus are in these forums: http://forums.microsoft.com/msdn/default.aspx ForumGroupID=19 . Please p ...Show All
Software Development for Windows Vista New forum comming shortly specifically for QoS/qWAVE
In the next few weeks, look for a top level forum called Windows Network Development. Under this umbrella will be, among other topics, QoS, WSK, HTTP, etc. I'll be happy to answer any questions you have about qWAVE or network QoS in general. - Gabe (MSFT) The Windows Network Developer forum has been launched, and QoS/qWAVE is the first open forum under this umbrella. Please move all discussion about QoS and qWAVE to this new forum, which the QoS product team will be actively monitoring: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=825&SiteID=1 Thanks! ...Show All
Visual C++ Wrap Text in CToolTipCtrl
how to wrap text in a tooltip control ...Show All
Visual C++ How to randomize STL list using std::random_shuffle??
Using Visual Studio 2005. I have the following bit of code which generates a bunch of baloney errors... ideas : #include <stdio.h> #include <list> #include <windows.h> #include "DiskAccess.h" #include "resource.h" #include <algorithm> // by the way somewhere <string> gets included too... don't know if that matters list<MySlide*> slides; // fill the slides up dynamically here list<MySlide*>::iterator begin, end; begin = slides.begin(); end = slides.end(); std::random_shuffle(begin, end); /* shuffle elements */ I get the stupid errors: ERRORS: c:\Program Files\Microsoft Visual Studio 8\VC\include\algor ...Show All
