robinjam's Q&A profile
Visual C# Drawing a semi-transparent image using GDI+
Hi, I am trying to find out how to change the transparency when drawing a image to the screen using GDI+. The effect I am trying to produce is a image fading in and out. That works for drawing shapes, etc, but for drawing an image, you need to use one of the overloads of the g.DrawImage method that takes an ImageAttributes object. To set the opacity of the ImageAttributes object, you have to set up a color matrix, like this: float[][] matrixItems ={ new float[] {1, 0, 0, 0, 0}, ...Show All
SQL Server Did your upgrade work?
I am curious if your upgrade went as expected. I am hoping to do the same in my network, but I am unsure if the trial version will let you just enter a product key for SQL Standard. Also, did your trial install complain due to your having a Standard License and it wanted an Enterprise license Thanks, Shawn ...Show All
Visual Studio 2008 (Pre-release) SDK Sample Halos 3D ListView Questions
Hi all, I got the SDK sample of Halos 3D ListView. It is a good sample of WPF. But the codes quite new to me. Could anyone tell me how can we actually add/remove picture from the list How can I actually add / remove rows of pictures in the 3D list view Could anyone tell me how to make the picture brought out (upon clicked) to be larger size than the default sample size So, my conclusion is that the picture holder also can display video I supposed in WPF Can be activated for playing video upon clicked and stop when it is brought back to the rows of pictures Thanks in advance! Zahid Saleem wrote: one way to add and show images/p ...Show All
Smart Device Development How can I delete a file on a smart device from desktop?
I know cecopy.exe from Microsoft can do copy, but if I want to delete something in the batch script, how can I do that Thanks You'd need to write an application which does that using RAPI, name it, say, cedelete.exe and call it from your batch. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. PIX and "An error occured while preparing to debug the shader"
Hi, I am trying to debug my project using shader debugging in PIX ( yes I compiled the HLSL effect file with debugging support ), and getting this error message. Sometimes it can debug, sometimes it cant, I couldn't find what is wrong. VS2003 uses the DXDebuggingService, when I try to debug the project, PIX can stop the service (I can do it by hand also) so the problem is not related to this service. I have tried both the VS2003 and VS2005 compiled projects. No luck Any idea Regards, Ahmet Bilgili I ran into a problem with debugging shaders in PIX when the program was run with software vertex processing and the reference rasterizer. Could it be that you're having the same problem If so there won't be a fi ...Show All
SQL Server can't connect to local user instance
Just when I think I have this stuff figured out, it bites me back everytime. I'm trying to deploy an mdf out to a different machine, and attached to it with local user instance. I connect without problem from my development machine with a local user instance, which also has Express Manager resident, and I can connect to a server instance without problem. What I can't do is copy the .mdf database over to another workstation, which has Sql Native Client installed, and connect to the database using a local user instance! I can connect to a server instance without problem from this other workstation. Here's my connect string for local user instance that works fine from my dev machine: Provider=SQLNCLI.1;Persist Security Info=False;In ...Show All
SQL Server Business Logic Handler Not Loading
I'm trying to implement a custom conflict resolver by inheriting from Microsoft.SqlServer.Replication.BusinessLogicSupport. BusinessLogicModule. The replication is between a SQL Server 2005 Express subscriber and a SQL Server 2005 publisher/distributer. The problem is that the resolver class in the DLL will not load; although, it does appear to find the DLL. (If I rename the DLL I get a "file not found error"). The exact error message is: Microsoft.SqlServer.Replication.ComErrorException "Error loading custom class "MergeConflictHandler" from custom assembly "MergeConflictHandler", Error : "Could not load type 'MergeConflictHandler' from assembly 'MergeConflictHandler, Version=1.0.2502.22393, C ...Show All
Visual Studio Express Editions Need help. Im new ;-)
Please correct me if im in the wrong place. Anyways im new to c# and i like it alot. Ive added what i want etc but here is my problem. I have one of them ToolStrip menu bars at the top (the blue ones with ability to do drop down) Now what do i do so that when a person clicks on one of the menu things it opens another part of the app but not in a new window. Just so the current window changes to whatever they clicked on. Sorry if thats confusing. Let me know and il try to make it clearer. Thanks Dan I'm not very clear about what you have encountered. Hope it helps: http://en.csharp-online.net/Tool,_Menu,_and_Status_Strips%E2%80%94ToolStrip_Menus BR ...Show All
Windows Forms ListView Items Question
Hi folks, I'm wondering how to get a ListViewItem with just it's index. Can anyone tell me the method for this -Zero Strange, but the code you folks quoted above doesn't seem to work: listViewFilters->Items[0]; Produces the compiler error, " c:\Documents and Settings\Zero\My Documents\My Visual Projects\LogCopy\dlgFilterList.h(268) : error C2845: '[' : cannot perform pointer arithmetic on __gc pointer 'System::Windows::Forms::ListView::ListViewItemCollection __gc *'" The project is in Managed C++ under Visual Studio 2003. ...Show All
SQL Server OLE DB Destination Component
when loading the transformed data into OLE DB destination, there is no options to truncate destination table first. Have to insert a middle step to run script to truncate the destination table first. I'm very confused. We even has the options of keeping or deleting the data in destination table in SQL2000 DTS package. Why we don't have this option in SQL2005 those two components can only use the input dataset as parameters, but can't update the data in input data source. What I want to know is if we can run SQLScript to directly update the columns in input dataset ...Show All
Software Development for Windows Vista Statemashine workflow - handleExternalEventActivity
is that the HandleExternalEventActivity must have to handle a different event in a Statemashine workflow why Can't they hand the same event like "approval" it is impossible to define a lot of events. Have you been able to resolve this issue yet If not, which build are you using You should be able to have multiple HandleExternalEvent activities that subscribe to the same event in a StateMachineWorkflow. Take a look at this sample on my blog. ...Show All
Visual Studio Team System Domain group members do not propagate to TFS
I have a security/permission issue with TFS (not the workgroup edition). I have a active directory group call Proj1Cont There are 5 users in it. (user1 till user5) Proj1Cont is designated with the Contibutor permission in TFS. user1,2 and 3 where added last week. They can access TFS without a problem. user 4 and 5 where added this morning to the Proj1Cont group. (I checked the domain controller and the replica's and everything is fine there, no significant errors in the eventviewer on the tfs server) Until now tfssecurity /m "Proj1Cont" /n:user4 /server:tfsserver reports: user4 is NOT in Proj1Cont Proj1Cont is recognized as an AD group User4 is recognized as an AD user user1 (or 2 or 3) reports: user ...Show All
Software Development for Windows Vista It there any document tell us why ?
I am following the hands-on lab, but the document tell me how to do and doesn't explain why. so i am always puzzled. Can u give me any document about why bow ! Hiya If you are a fan of books rather than online documentation there are some coming out next month. - Due on 13/10/2006 - http://www.amazon.co.uk/Essential-Windows-Workflow-Foundation-Shukla/dp/0321399838/ref=sr_11_1/202-4309871-8687067 ie=UTF8 Due on 23/10/06 - http://www.amazon.co.uk/Foundations-WF-Introduction-Workflow-Foundation/dp/1590597184/sr=1-3/qid=1158235191/ref=sr_1_3/202-4309871-8687067 ie=UTF8&s=books Due on 11/10/2006 - http://www.amazon.co.uk/Microsoft-Windows-Workflow-Foundation-step/dp/073562335X/sr=1-4/qid=1158235 ...Show All
Smart Device Development PDA Connectivity via active-sync via proxy
Hi If I have a PDA connected to a PC via Active-Sync where the PC connects to the internet via a proxy server what behaviour does the PDA have. For example if the PC is logged onto the Windows Network and can access the internet via the proxy should the PDA be able to connect to the internet using the same authentication details without the need to keep entering the username/password/domain on the mobile device. Currently my PDA asks the user to re-enter their login credentials each time they launch IE, and when my .NET app tries to use SQL CE replication it simply fails unless I have pre-connected using IE. Thanks in advance Andy ...Show All
Visual Studio Express Editions People please help, can't use Visual Basic 2005 Express Edition!!!
Hey people..Please help me i am going insane allready, I have installed and uninstalled Visual Basic 2005 Express Edition 3 or 4 times, and everytime i run it,and i click file->new project-> it has NO template files...so i cant have a new project, Here is the error massage the event viewer says that there are some errors but how can i fix them it should have fixed it self after 3 tries no this is what is says: The Visual Studio template information is out of date. Regenerate the templates by running 'vbexpress /installvstemplates' or reinstalling Visual Studio. Note: corrective action requires Administrator privileges. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. and there is ...Show All
