mrdolby's Q&A profile
Visual Studio 2008 (Pre-release) How to create drag effects in a Canvas?
.NETters, My Canvas based application displays family pictures. The user must be able to drag and rearrange these pictures anywhere on the Canvas. When the user selects a picture and starts dragging, instead of moving the actual Image element, I would like to create a drag image that would move with the mouse. Once the user releases the mouse, I can simply change the coordinates for the actual Image element. The question is, what is the preferred way to do this My thought is: 1. Create a temporary Image element (with Opacity=0.5) and add it to the Canvas collection. 2. With each mouse move, keep on changing the location of the Image element. This will automatically force a redraw. 3. When the user releases the mouse, ...Show All
Software Development for Windows Vista Final list of runtime services available in WF .NET 3.0
Since the inception of Windows Workflow, I think there have been some runtime services that have come and gone. I was just wondering if there was some documentation I can consult to find out what the final set of runtime services is in the .NET 3.0 framework Any help you can provide would be very much appreciated. Thanks, canuck81 Check the SDK documentation for Workflow services http://msdn2.microsoft.com/en-us/library/ms734738.aspx Hope this helps ...Show All
SQL Server Report Manager toolbar question...
Hi everyone, I just inquiring if the 'My subscription' toolbar at the upper right portion of the report manager can be removed or shall we say hide... If possible, how to remove please help... Another question is when you click the show details button, the option to delete and move appears but it is initially disabled...is there a way also to hide the move button thank you very much...hope to have any response or advice as soon as possible...thanks hi Thanks for the info, as i browsed it it did help me understand but my concern is i guess not the focus of the disscussion of link you sent. to have a clearer view of my problem, ill try to insert a screenshot here...hope you have more infos to share...thanks dude! ...Show All
SQL Server Excel flat file connection manager error.
Hi There I am having some issues with dts packages i have migrated using the package migration wizard. One of the connection managers points to an execl flat file source. I have not altered anything after the package migration, the conenction manager is using Native OLE DB\Microsoft Jet 4.0 OLE DB Provider. When i test the connection i get the following error : "Test connection failed becuase of an error in initializing provider. Cannot start your application. The workgroup information file is missing or opened exclusively by anotehr user." Ok i am 99% sure this file is not being accessed by another user, the rest of the error is greek to me. Looking on the net for this error it has to do with access database se ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed C++
So I understand Managed C# is the primo langauge for Game Studio Express but would it be possible, either when it comes out or eventually, to use Managed C++ with it too It really bothers me I'd have use C# over C++ for the Game Studio... What about common open source C++ libraries for collision detection and physics simulation I'm developing Bullet Physics Library, targeting improvements over Open Dynamics Engine (ODE) by supporting convex hull and continuous collision detection (time of impact/sweep). Should we wait until we can have a C# wrapper for those existing C++ libraries Is there a special repository for shared/common libraries for physics, sound etc Erwin Coumans http://bullet ...Show All
Visual Basic how to open a folder
Please, i have been searching about how to open a folder, but i didnt find a thing. I need the code. Code Snippet Private Sub mnuitOpen_Click() // i used menu to access the open. Player1.Filter = "(*.Mp3)|*.Mp3*" Player1.ShowOpen List1.AddItem System.IO. Path . GetFileNameWithoutExtension (Player1.Filename) End Sub ... And don't forget to check for user pressing Cancel button in the OpenDialog... Andrej ...Show All
.NET Development .Net 2.0 statistics
Are there any stats around what %age of users have .Net 2.0 It would help us make some strategic decisons reg our product well I think there are a good few people, in terms of exact stats I'm sure someone will supply you with the closest figure. Windows Vista, which has been RTM'd last week, will be shipped with .NET 3.0 as standard (how cool is that ) so pretty much your existing apps should work on it but most certainly .NET 2.0 apps. ...Show All
Software Development for Windows Vista whats windows sideshow?
what is it and what are its uses havent come across it anywhere :S thanks james, very helpful. The utility that sideshow provides is difficult to visualize without using it, I will try to get hold of a student copy of vista. ...Show All
Visual Basic haw To Create ......!!
Hi all im ayman From EGYPT This My first once with help msdn ....... so i wanna Know haw to Create User Name For Windows By Code VB.Net2005 i Wanna Help For That thanks for Read ayman Eldoktor >>>> MCAD create user names programmatically depends really, for local or domain accounts For local, try this: Add a reference to System.DirectoryServices import it Dim theEntry as new System.DirectoryServices.DirectoryEntry("WinNT://" & Environment.MachineName & ",computer") Dim theUserAccount as System.DirectoryServices.DirectoryEntry = theEntry.Children.Add( username , "user") theUserAccount.Invoke("SetPassword", new object () { password } ) th ...Show All
Community Chat taskbar color
alright i've been searching around for a while and still havent found much. does anyone know a way to change the color of the taskbar to some color that isn't XP set, like black iv read up on this and there were 2 solutions, 1,third party software;2,"hack". Well considering that there is 3rd party software, there should be a way to change it programmaticly. so does anyone know how or at least what programming language this can be done in hey it would be nice to have it done, i want to try it as well can U be more ellaborate and explain how to do that would be great please.. ...Show All
Visual Basic String Trim
Seems like this should be pretty easy but its not, at least for me. I am assiging a value to a variable. I want to remove the last 4 charcters of the value. here is the relivant code. Error 1 'Integer' values cannot be converted to 'Char'. Use 'Microsoft.VisualBasic.ChrW' to interpret a numeric value as a Unicode character or first convert it to 'String' to produce a digit. D:\MyDocs\Visual Studio 2005\Projects\Move Files with Rename\Move Files with Rename\Form1.vb 33 65 Move Files with Rename Dim local As String = txtWorkingPath.Text For Each foundFile As String In My .Computer.FileSystem.GetFiles(local, FileIO.SearchOption.SearchAllSubDirectories, "*.*" ) Dim foundFileInfo As New System.I ...Show All
Visual Studio Team System Error 28002.Error unkown
I am recieving that error when attempting to install a fresh copy of TFS Workgroup. Here is the part of the Msi Log that is erroring: TfsGSSInit - Irrecoverable error: TF50237: An error occurred when adding a group member. The group with security identifier (SID) S-1-9-1551374245-1204400969-2402986413-2179408616-0-0-0-0-4 does not exist. 10/09/06 13:52:26 DDSet_Status: Process returned 6130 10/09/06 13:52:26 DDSet_Status: Found the matching error code for return value '6130' and it is: '28002' 10/09/06 13:52:26 DDSet_Error: 6130 MSI (s) (3C!AC) [13:52:51:332]: Product: Microsoft Visual Studio 2005 Team Foundation Server - ENU -- Error 28002.Error unknown. Any ideas As part of a workgroup install, TFS (specifically that TfsG ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vista Upgrade - Un-install GSE First ?
Hi, Before I upgrade my OS to Vista Home Premium, should I un-install GSE (or anything related for that matter), or will it be ok to go ahead, in terms of XNA, with the upgrade The VCExpress doesnt liek to play with Vista in its v1 and SP1 variants, so its probably *safest* to uninstall XNA, then VC# Express. The upgrade to Vista, then install the IDE, then the service pack, then the *BETA* Vista support, then XNA. You may find that it works A-OK without the need to uninstall 1st, but you will definitley need the patches afterwards. N ...Show All
Visual Studio Tools for Office State of Confusion
Problem I have a VSTO application fully working and actively used since March on a consumer's desktop. Recently the VSTO application, an Excel document with the VSTO custom Action Pane using Remote assemblies has failed on that desktop. Yet works on another computer as well as my development machine. The problem manifests itself as if the machine does not have prerequisites for VSTO installed. I get the cannot find File or assembly name Microsoft.VisualStudio.Tools.Applications.Runtime and the Action Pane never comes alive. The only thing I can think of is that the user installed a third party add-in to Excel and that may be blocking...but it shouldn't..... Any Thoughts See actions tried so far. Factors File or assembly name Microsof ...Show All
SQL Server Problem with store procedure
I have the following error when I execute this stored procedure. Can someone please help Msg 208, Level 16, State 6, Procedure InsertIndicator, Line 28 Invalid object name 'dbo.InsertIndicator'. set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO ALTER PROCEDURE [dbo] . [InsertIndicator] ( @Module nvarchar ( MAX ), @ModuleID int , @Indicator nvarchar ( Max ), @ReturnValue int Output ) AS Select Module FROM Modules Where Module = @Module IF @@ROWCOUNT >= 1 Begin Select Indicator FROM Indicators Where Indicator = @Indicator IF @@ROWCOUNT = 0 Begin INSERT INTO [dbo] . [Indicators] VALUES ( @ModuleID , ...Show All
