JFalcon's Q&A profile
Software Development for Windows Vista Persistence service
Hello, We have started working with the new framework but few things are still not clear to us. We understand that the persistent service is working in the workflow level , does it mean that every time the workflow is moved to idle and we are using persistence service all the workflow will be saved to database and on Unpersist event all the workflow activities are loaded to the memory again What will happen if my workflow have 100 activities and each activity hold complex object that contain data, will it all be load to memory on unpersist event Appreciate your help Me Yes - if you use the SqlWorkflowPersistenceService with Un ...Show All
Visual Studio Team System Long running time for "Dispose Methods should call base class Dispose()"
Hello, I've been invesitgating the performance of FxCop and came across an anomalous performance on the rule "Dispose methods should call base class dispose" (Microsoft.Usage#CA2215). One two different assemblies (Spring .NET framework, and SharpDevelop), this rule takes orders of magnitude longer than other rules. About 6 seconds on Spring, and roughly 20 seconds on SharpDevelop. Most other rules I looked at run in less than half a second on these codebases. I am using the commandline of FxCop version 1.35, build 51212.0. Does anyone experiance similar performance problems with this rule Is there an explanation for why this is so ...Show All
.NET Development Still unable to compile vb asp.net code behind using command line
Hi, I am still unable to compile my code behind using the command line: vbc /t:library /r:system.dll,system.web.dll,Microsoft.VisualBasic.dll,system.data.dll, system.drawing.dll filename.aspx.vb I was able to resolve most of the compiler errors I got earlier except for this one: error BC30451: Name 'Color' is not declared. PremiumTable.BorderColor = Color.Navy I declared in the beginning of my class the following: Imports System Imports System.Exception Imports System.Data.OleDb Imports System.Data.OleDb.OleDbError Imports System.Data.OleDb.OleDbErrorCollection Imports System.Data.OleDb.OleDbException Imports Micros ...Show All
Visual Basic Refactor
why does the refactor install say theres no visualbasic2005 installed, when i have downloaded and installed latest vbexpress It doesn't work with visual basic express, as it requires the VSIP integration services which are only available in the full products i.e. vb2005/team editions etc. Cathal ...Show All
.NET Development Using Session state to store objects
Hi I want to save an object, and make it available over several pages. So far it seems the best way for me to do this is to use sessions. However I can't find a way to store an object for the duration of a session. Below is some of the code Fragment of Method 1 SearchResultCollection ownerResults = Code to return SearchResultCollection Session[ "ownerResults" ] = ownerResults; Fragment of Method 2 SearchResultCollection ownerResults = Session[ "ownerResults" ]; However, I get the following error. Error 1 Cannot implicitly convert type 'object' to 'System.DirectoryServices.SearchResultCollect ...Show All
Visual Studio Team System How to reuse a previous TS data server with a new TS application server?
I have rebuilt the TS application server because it did not install correctly the first time. My plan was to reuse the TS data server, but I get the following message when trying to install the TS application tier: "Setup has detected existing Team Foundation database on the specified machine. The specified machine may already be configured to work with another Team Foundation application tier. If you are trying to reinstall TFS please refer to the accompanying documentation on how to reuse this machine." Where or what file(s) contain the "accompanying documentation" on how to reuse the previous TS data server with my ...Show All
Visual Studio 2008 (Pre-release) FileStream transfer
Hello! Which is the easiest way to transfer file stream from server (service) side to client side Thank you in advance. Best regards, Saso First of all, thank you once again for your fast responses. I examined in details your post, and noticed, that i have syntax error in my web.config file. Then i made it up and since that everything compiles without errors, but when i run client, the exception is still there. <Exception: Unsupported Media Type> Because i need IIS hosted application, i'm using proxy solution. Config files are the same as yours. Enclosed are ...Show All
Visual J# java (J2EE 1.4) convert to J#
Hi, I want to convert my application in java (J2EE 1.4) to J# with minimum changes. Where can I get the script Thank's Alexei (I have tryed JLCA 2.0, 3.0 and it gives me about 100,000 errors becouse it convert to C#. I don't have a time for working on errors. I read that Java can be converted to J# with minimum errors.) Generally my experience doing this always leads me to running the J2EE code under Object Web or JBoss's free J2EE server and building either a webservice or RMI invocation layer to bridge the .NET code. This does assume that you have a good MVC design where you can easily seperate the backend J2EE components from t ...Show All
Visual Studio Express Editions Unable to run debugging.
Hello Happy new year. I am a new user of Visual Basic express. And I can not get startet. The problem is that I get a message wen I try to debug somefing. The message is: Error while trying to run project: unable to start debugging And then somefing in Dutch. De bindingsingang is ongeldig. I don't now wath it meens in Englisch. Can somebody help me solving this problem. Regards Carel Take a look here: http://blogs.developerfusion.co.uk/blogs/thushan/archive/2005/08/31/840.aspx ...Show All
SQL Server How to sort that does not include duplicates in display?
Hi everybody, I like to asked anyone who is very good at sql to help me display this data in a table format that duplicate headings, subheadings or other columns won't appear twice or more. Can anyone help me I need to sort them and load them in a Datatable. Loop thorugh all records and display them in a label control created at run time. Thanks in advance. Sample Data: Topics Table TopicId TopicLevel Topic ParentId 1 1 First ...Show All
Visual C# List the names of "folders and files" under a directory in a treeView control???
List the names of "folders and files" under a directory in a treeView control I can't think out the arithmetic, may be using recursion. Who could tell me the detailed method Hello Konstantn, I'm Know this is an old anwser, but I can not figure, how can I make the same thing, only Not to have the 1 root node at the beggining Thanks a lot! ...Show All
Visual Basic Learn Programming
What is a good book for learn programming with Visual Basic theres a free ebook on learning visual basic 2005 available for download here Cathal ...Show All
Visual Studio 2008 (Pre-release) Anybody managed to find a workaround for the "Black Window" bug in the Nov CTP?
I think I'll create this post as a checkpoint where people can post any info on this bug. For a background, some of us using the November CTP for WPF and either Visual Studio 2005 or C# Express, are experiencing a black window when running the simplest of WPF apps (i.e an app that does nothing but window.Show()). Other people experience it intermitently in XamlPad itself. A few links to the problem... [1] [2] Apparently the January 2006 CTP contains the same bits for WPF (Avalon) as the December 2006 CTP, so the same bug will be present. The Microsoft product feedback centre states that the fix will be ...Show All
.NET Development Reading Arrays
Ok I received limited help with this the last time so I'm just going to make this simple. Let's assume I have the ability to already read another processe's >unmanaged< memory and I want to read an array of a structure into a local array of a structure without having to iterate through each element in the array. Is this possible and if so, how Thanks much in advance. I can get the memory data need into my managed process but I can't seem to cast a byte array into an array of classes/structures. Thanks much! ...Show All
Windows Forms DataColumn.Expression - automatically updating values in controls
My application has a DataSet with a table that has a set of columns with default values and some columns with expressions based on the other columns. Using a form bound to those columns the user should be able to edit the default values and see the values in the controls bound to columns with expressions update instantly. What happens, though, is the application starts and the controls display the default values and expression-based values correctly. However, when I change the default values, the expression-based values do not change. How do I get the controls bound to expression-based columns to automatically update their values when the va ...Show All
