trav1085's Q&A profile
Software Development for Windows Vista How to Obtain Fault from child activity in FaultHandler?
How does a child activity obtain access to the Fault captured by a FaultHandler I have a code activity as a child of the FaultHandler. I simply want to spit out the message from the exception that was caught. I tried using the Parent property, expecting that to give me back a reference to the containing FaultHandler, but it was null. The only way I can figure is to add a property to the workflow to store the Fault in through a binding so that it is still accessible to the child code activity. This seems like a really kludgy/indirect way of handling things though. Is there some way more direct, for this specific situation, and hopefu ...Show All
Visual Studio Team System Installation error : "...error occurred during the login process..."
Hello, I have selected SQL Server and Windows Authentication Mode and the Login properties ->Status section for the new SQL login is set to "Enable". I work with Windows 2003 Server (without domain), SQL Server 2005 during installation of TFS i get the following error in "msi log file": ================= Is WSS Installed : True ConfigDBName : Not Available ConfigDBServer : Not Available Virtual Server State: NeedExtend AdminApPoolName: StsAdminAppPool VSApPoolName: Not Available AdminPort: 10885 ContentDBName: Not Available ContentDBServer: Not Available ====================================================== ...Show All
Software Development for Windows Vista Using CallExternalMethodActivity in a state WF machine
Hello, I have a problem with raising an event driven who have a delay activity as a child activity(because I can not bind it with the communication service interface).. So I tried to use the CallExternalMethodActivity... but I think that in one state it's not possible to use a event driven and CallExternalMethodActivity at the same time because the designer bugs, so what the solution thanks Maaloul, It is possible to have within a state an event driven and within that event driven you can have a CallExternalMethodActivity. A state by itself can only have a StateInitialization, EventDriven and StateFinaliz ...Show All
Visual C++ Installing msvcr80.dll
Hello, I have installed Visualk Studio 2005 and want to try out some stuff. After writing a simple console application I ahve copied the exe to an other machine, but there is no VisualStudio installed. Copying the msvcr80.dll in the system folder does not work (it works on Windows 2000). I know that i lies now in the winsxs folder so I have tried to copy the whole stuff from this folder, does ot work! I have looked in the merge module and found that the assembly is only used for Winwos VersionNT > 600 Can anyone tell me how to install the DLL Thanks You need to install the .NET Framework 2.0 on the other ...Show All
Visual Studio Team System Moving TFS databases to a different server
My apology if this has been answered before. I need to move TFS databases (BidSB, BisDWDB, CurrituckDB, VSTEAMSCC, VSTEAMSCCAdmin, VSTEAMTeamBuild) to a different server. Is there a documented procedure to do this I guess I could copy the databases manually but how do I tell TFS to use the new databases Thanks in advance, Regards, Svega Thanks for the reply Bruce, I am very much in a situation where I have to do this: the machine on which I initially installed TFS (single server) can't handle it. I recently got a server but I can't do a single server install on it because it's running&nbs ...Show All
SQL Server Changing Column size/type with Derived Column
I have a number of date columns that are parsed as DT_WSTR (6) and I have written a Derived Column converting them into DT_DATE via this (found on the forums) type expression: (DT_DATE)(SUBSTRING(Date,6,2) + "-" + SUBSTRING(Date,8,2) + "-" + SUBSTRING(Date,1,5)) But I really want to replace the current column, not create a new one. If I use "replace" the data is forced to be a DT_WSTR (6), and I get a truncation error at run-time. Simeon A column is identified by it's lineage Id. Deleteing a column and adding it back, even with the same name and same data type properties will cause it to change lin ...Show All
SQL Server Complicated Query with Subs for Grand Total
I'm trying to get the syntax right below. Know that what I'm trying to do is correct (I don't want to explain why or the entire thing but just need help with correcting the syntax issues on the join and stuff: Errors: Msg 156, Level 15, State 1, Procedure IT_Get_ProjFee_GT, Line 205 Incorrect syntax near the keyword 'INNER'. Msg 156, Level 15, State 1, Procedure IT_Get_ProjFee_GT, Line 213 Incorrect syntax near the keyword 'as'. Msg 170, Level 15, State 1, Procedure IT_Get_ProjFee_GT, Line 219 Line 219: Incorrect syntax near 'branch'. Msg 170, Level 15, State 1, Procedure IT_Get_ProjFee_GT, Line 219 L ...Show All
.NET Development How to disable Events in .NET
Hiii, I want to disable the button click event of the page if some condition goes false in the page_load event of the user control in that page. Simply if i have clicked on the button and i want if some condition goes wrong in Page_Laod event i should not fire the Button Click event.. Please help me out. Don't disable the event, just disable the button by setting it Enabled property to false. But when you want to unwire the event you can use: cmdMyButton.Click -= new EventHandler( this .cdmMyButton_Click); This unwires the event. But again, disabling the button is friendlier for the user, because the button w ...Show All
Visual Studio Install VS 2005 Standard Ed Hangs on Executing Action: RemoveTempHxDs
I have a 1.2 Ghz Dell laptop with 1 gb of memory. I started the install almost 16 hours ago. MSIexec is using 97% of my cpu. The install failed 2 times before this, but it gave me the option to send a report to MS. This time I'll just have to kill it. I have the version that was given to me at the Chicago launch. I have uninstalled Beta 2 and VS 2003 without any difficulty. Same problem. Solution: I concur with those who have suggested copying the files from the CD to a local or network drive (then installing from there). This solution worked for me. (Install fai ...Show All
Visual Basic Getting data from a database using a primary key
Hello. I am having trouble with a program. I want to be able to get some data from my database table, given the value of the primary key. This is what I have so far: projectName = DbDataSet.Projects.FindByid(projectId).name where projectName is a String, and DbDataSet is my dataset. The variable projectId is the ID of the row I want to extract the data from, but every time I run my code I get a NullReferenceException. I know that the row with the primary key value of projectId exists because I can see it when I view through server explorer. Any help would be fantastic Bryan St. Amour You need to post the code ...Show All
.NET Development Timeouts
A Treeview is used to select the record to be displayed. On clicking a node a record is displayed. It is possible to click 9 nodes & get the record displayed but the 10th bombs out with a TimeOut message. "Error. System.Data Timeout expired....." On restarting VB (2003) clicking the record causing the bomb is displayed correctly so it is not an issue with that record. I have VERY carefully checked that every "cnn.open" is correctly matched with a "cnn.close" I have also stepped through the code line by line in the debugger and the "Close"s are executed correctly. A record consists of ...Show All
Visual C# What's this error???
When I try to changed the name of the control then I received this kind of message. "The name cannot be changed when there is a reference in the markup. Do you continue " Does anybody know where to fix this problem Thanks and Regards, Julia Hi zapacila89 , Thanks for your response. My problem is ok now. When I opened my project again, then the problem goes away.. I don't know why Anyway thanks for your response. Julia ...Show All
Smart Device Development Homescreen DLL
Hello I'm trying to build CPP/Win32/Homescreen sample project. It works just fine for WM 5.0 (smartphone), but when building for Smartphone 2003 I get the following errors: memplug.obj : error LNK2001: unresolved external symbol "const type_info::`vftable'" ( _7type_info@@6B @) memplug.obj : error LNK2019: unresolved external symbol __security_cookie referenced in function DllRegisterServer memplug.obj : error LNK2019: unresolved external symbol __security_check_cookie referenced in function DllRegisterServer Smartphone 2003 (ARMV4)\Release/HomeScreen.dll : fatal error LNK1120: 3 unresolved externals As I understand, some addi ...Show All
Windows Forms How to set windows to open an application with one click
Can someone help me set windows to open an app. with one click thank you in advance. You will need to set the file assosiation for that file. for the code what language are yu using so that we can pass you the correct code to develop the solution. ...Show All
Visual Studio 2008 (Pre-release) Display image from http-address
Hi all, i want to display a image from a http-address but when the image is not there the complete app cancels and shows a 404 Not found ecxeption. I have no chance to catch these exception, without cancelling the app. Is there a way to check for the image before Displaying it thanks, Herbert An idea could be to try to download the image, and if you are able to get it, that mean it's ok In that case, you just need to delete the image downloaded and to display it from the URL ...Show All
