__sorcerer__'s Q&A profile
Software Development for Windows Vista Debugging Help
Hi, i have created at workflow and i cant tell whats wrong with it. The workflow is executed in a Windows Service. I know its being called and i reieve the Workflow Aborted Event. However i cant seem to find out why its aborted. The EventArgs dont tell me anything. When i attached a debugger to the Windows Service and set a break point on the first item in the workflow i get the hollow red breakpoint icon with the warning symbol in...so it does not break at the set point. I know the first activity in the workflow is not executing because its a database operation which is not happening. Is there any way i can get a more meaning ...Show All
Visual Studio Team System Customization Guide and build tool
Any word on when a customization guide/tutorial will be available Also the build tool Thanks, Ryan This was extremely helpful Aliaksei. Thanks. Could you answer this query on process template customization http://forums.microsoft.com/msdn/ShowForum.aspx ForumID=63 It's been a few days since i posted this Regards ...Show All
SQL Server Merge Replication Using RMO
i have done web synchronisation using RMO, where replication is happening on both ends, i want to perform one way synchronisation where a sales guy wants to update only his details to the server , and not to update the data from the server, can anybody help me on this task , the code for synchronisation i have taken out from msdn for Merge Replication using RMO programming .. Thanks Take a look at merge agent parameter -ExchangeType, you can set this to do upload only. Only caveat is that in SQL 2005, to download a snapshot you have to reset this to bidirectional value, which will then download the snapshot and upload/d ...Show All
Visual Studio Express Editions How to determine image size?
Hi, I load web images (from my website) into my program. Dim picBox As New Picturebox() picBox.ImageLocation = " http://url.nl/afbeeldingen/test.jpg " etc. But how can I determine the width en height of test.jpg ...Show All
Visual Studio Team System Can I Know how many lines of code has a method?
Can I Know how many lines of code has a method Thanks What are you looking at achieving Are you attempting to determine the complexity of the method If so, then counting the number of lines in the method is not the answer, as spacing, braces, etc can affect this. Instead if you have Visual Studio Team System, have a look at the AvoidExcessiveComplexity rule, otherwise, if you want to develop the rule yourself, search on Google on calculating the ' Cyclomatic complexity' of a block of code. ...Show All
.NET Development Set SSOCANARY in Webservice
Dear friends, i can't set the SSOCanaryChecker for SSO set User's credentials method in the webservice, because im not able to get the OnInit() or OnLoad() method in webservice page and even in webservice im not getting Page object to set CanaryChecker. Anyone Can help me Please.. How to use SSO Canary in Webservice. Thanks in Advance. Regards, Vasanth. Hi Vasanth, I don't understand the issue you are trying to describe. What is SSO Canary What problem are you running into exactly Could you please clarify Thanks. Daniel Roth ...Show All
Smart Device Development mobile 5.0 native time events
I have tried to the State and Notification broker TIME event (under HKLM\System\State\DateTime\) to try and launch an application at a given time and cannot get it to work. I also tried to just launch an app that displays a MessageBox every minute and could not get that to work either. Any suggestions Here is an example of what I was trying to do: --------------------------------- HRESULT hr; NOTIFICATIONCONDITION nc; nc.ctComparisonType = REG_CT_ANYCHANGE; nc.dwMask = 0xFFFFFFFF; nc.TargetValue.dw = 0; RegistryNotifyApp( SN_TIME_ROOT, SN_TIME_PATH, SN_TIME_VALUE, TEXT("CETIME"), TEXT(" \\Windows\\ca ...Show All
Visual Studio 2008 (Pre-release) WCF Beta 2 Setup Problem
I am trying to install WCF Beta 2 but I keep getting a setup error. I would like to re-download the files but they are on my harddrive somewhere. When winfxsetup.exe starts starts it finds the files and goes straight to the install. Does anyone know where I can delete the file or if there is a way to force the download of the setup files These files often get stored in your temp files directory. Try clicking start/run... enter "%temp%" and press return. This will open your current user's temp folder. Make sure you have no other programs running, and then delete all of the files in that ...Show All
Windows Forms hi
hi all, how can i make the label image like the form background image thx I don’t quite get what you are looking for... Are you trying to make the label have the same background color/image as that of the form If so... set the Label’s BackColor to Transparent (its listed as one of the Web colors). ...Show All
SQL Server Triggers
Hi, i an new here. I just started with Sql Server 2005 Express. But my problem is not in technical issues, but programming. Now, to problem. I have few tables, Meas, Analog, Discrete, Acc and Terminal. Meas is main, have some field of it's own, one primary index key, and on foreign key. Foreign key is coming from Terminal table. Terminal table is stand alone, cause it has no other connections to any other table in this model. Analog, Discrete and Acc have almoust same columns. This tables have no primary index, but foreign keys from Meas table. They exclude each other. Example, meas data with key 1 is in analog table, but not in discrete ...Show All
.NET Development SEHException from External Component Error
I have the error "System.Runtime.InteropServices.SEHException Additional Information External Component has thrown an Exception. The Problem occurs when I try To instantiate an object which is contained in the header file that came with the 3rd party .dll I am using. The header for the file looks like this: #ifdef QUANTUM_EXPORTS #define QUANTUM_API __declspec ( dllexport ) #else #define QUANTUM_API __declspec ( dllimport ) #endif /////////////////////////////////////////////////////////////////////////////////////////////////// class CQUANTUM { public : QUANTUM_API CQUANTUM( void ); QUANTU ...Show All
Visual Studio SS 2005 Get and Get latest error
im using vpn to connect to SS database , via drive mapping and then set up https access to source safe 2005 successfully and its working perfectly. Now I can work while disconnected from VPN The only problem is that when I select the project and click get or get latest, the error appears saying , --------------------------- Microsoft Visual Studio --------------------------- The current source control operation cannot be completed. The source control plug-in returned the following error: Item does not exist. --------------------------- OK --------------------------- I have tried connecting to VPN and then doing get latest and ...Show All
Software Development for Windows Vista Using LUA/UAP in custom applicatons
Hi, The December CTP of Vista has a modified version of UAP/LUA. There's a shield icon (windows colors) next to any setting that requires aleveated status (brings up the verification dialog instead of an earlier dialog that asked for admin password). Also, for other tasks such as opening a file, modifying registry, modifying the drive, etc the dialog pops up asking the user to verify the action. The question being, if I have several settings in my application that I'd like to be either Admin specfic or just out of concern I don't want the user to click on that unknowingly (i.e. might pose a danger to the system/security, etc) ...Show All
.NET Development What software do I need for .NET
I'm a software developer for a large corporation that wants to learn .NET. What software do I need to install on my home computer I'd like a full professional development environment but I'd be the only one using it. Is there anything that MS produces that's not a hobbled student version yet less expensive than full blown team software Thanks, John alternatively, you take MSDN Pro subscribtion http://msdn.microsoft.com/howtobuy/vs2005/subscriptions/Default.aspx so you have VS 2005 Professional and much more MS products for some years ahead. At the first it may seem very expensive, but if you look at what is in ...Show All
Visual Studio Wrong Re-Install Procedure. Problems running VS2005.
Hello, I have a serious problem in my system and I need Help or else I'll need to reinstall windows again. This is the situation: I installed the VS2005 beta 5 and everything worked out ok. I have an ideia for a project and i needed to install a third-party component to test. to install the component i had to install the last built of the SDK Framework. Big Mistake. Manage to install the component, but i messed up VS2005 since it started to crash everything I create a new project. I then uninstalled the component...but the VS still crashed. I then uninstalled the SDK...even worst mistake (didn't know that uninstall procedure had to be do ...Show All
