The FlowDecision activity in WF 4 is sealed. I want an activity that isn't sealed that replicates try behavior of FlowDecision. Anybody know of one?
Ryan Minor
Posts
-
FlowDecision -
search capabilityHi there I am wondering how codeproject searches articles? Does it use a crawler / indexing mechanism?
-
System.Globalization and ProvincesHi there Does anybody know if System.Globalization can produce a list of states/provinces for a given Country?
-
System.Globalization and ComboBox of CountriesHi there I understand I can create a list of countries in a combobox using System.Globalization. I haven't been able to figure out how to do it. Anybody know how?
-
internal keyword, InternalsAvailableToI am new to using the InternalsAvailableTo tag in AssemblyInfo. My problem is that my code assembles and works fine, but while coding, VS flags errors. Assembly A inherits from 'internal' members of Assembly B. So assembly B makes "A" a friend by using the InternalsAvailableTo attribute. The program builds and executes fine. While coding, the editor will flag errors such as 'data cannot inherit from ISomeInterface.' (ISomeInterface is declared internal). Am I missing something?
-
sn.exe, public key questionHow long is a public key supposed to be? I look at some code that someone else wrote, in AssemblyInfo, in an InternalsVisibleTo attribute and notice the key is really long. I use sn.exe, create a strongly typed name, reference it in a project, compile, and use sn -T and get a short key like 16 characters or so.
-
AssemblyInfoHi there In VS2008 I type in AssemblyInfo with a period. When I do that , I see different strings representing different assemblies. Where do these strings come from? Are these shared assemblies installed on the computer?
-
CollectionBase and Updating an ItemIf you create a custom collection by deriving from CollectionBase, is there an easy way to fire an event when one of the collection items is updated? For example, any GUIs that care can subscribe to some sort of event that would be fired where an object that is a member of the collection is modified?
-
Visual Prolog and .NETI have some code in Visual Prolog compiled into a DLL. I am hoping to build a GUI using C# that would interact with the DLL. Visual Prolog supports COM. Is COM the way to make my C# GUI interact with the Prolog DLL, or are there other ways?
-
installation prerequisitesgenerally speaking, if you are writing an install program, how would you ensure that a computer has a required installation prerequisite (i.e. MySql)? in development, i add a reference to a DLL to get the MySQL libraries. in an installation environment, would the install program look for that DLL (through COM for example), or would I need to include the required DLL with the install?
-
Global Assembly Cache versus COMread "how to answer a question" where it talks about insults jackass
-
Global Assembly Cache versus COMand what is that supposed to mean, twit?
-
Global Assembly Cache versus COMok so if I had developed in .NET a bunch of data access helper classes for a particular type of database and wanted it used by other .NET applications, each application would need the DLL right? If I had an application in C++ MFC that could use that code, it may make sense to make it COMVisible and then the C++ application could get at the methods?
-
printing capabilityHi All Most applications need the ability to print reports of one sort or another. Printing classes are tedious and difficult to program. I am wondering: what do people on here do when you need printing capabilites (for reports etc)?
-
visual studio and UML diagrams and unit testingHi there Using Visual Studio 2008 Standard. Was wondering if anybody could recommend an add-on to do UML diagrams as well as one for unit testing? Preferably freeware.
-
Sqlite + TEXTI am using Sqlite in an application. Was wondering if anybody knows limitations on the number of characters one can have when labelling a column as being of type(/affinity) TEXT?
-
dates and databasesHi there I am building some database layer code and trying to be as database independent as possible. One peeve is datetimes. Does it make sense to avoid the use of the datetime objects provided by the database provider altogether and use a double field? Then use persist the dates to the double field using the DateTime.ToOADate method? It seems to me then that I could easily do date comparisons such as "retrieve rows where date > " where the is converted to OA?
-
WCF catching EndPointNotFoundExceptionI am trying to connect a client to server using WCF. The following code works when the server code is loaded (named pipe, same machine). m_app is initialized as follows: const string address = @"net.pipe://localhost/Pipe"; EndpointAddress ep = new EndpointAddress(address); m_app = ChannelFactory.CreateChannel(new NetNamedPipeBinding(), ep); I am trying to catch the exception EndPointNotFoundException. The catch block below initially used EndPointNotFoundException but didn't work so I tried CommunicationException. I want to catch the situation where the server is not present. What am I missing? try { LoginResult result = m_app.DoLogin(username, password); return result; } catch (CommunicationException e) { }
-
application server implementationHi there Wondering generally how the server side of an application server is done (non web based). Say you wanted to write an accounting program. The server would run on Windows Server 2008 for example and handle business logic and database access. The client program would have the client forms, etc and obtain data from the server. Is the server software usually set up as a Windows service normally? It would listen on certain ports? How does the server handle multiple concurrent users? I would imagine that after authentication, some sort of thread is created to listen for requests from the user?
-
c# and implementing securityI am relatively new to C#. Very generally, how would you implement an authentication system? You would have a user input form where the user puts username and password. I suppose a database table would store a permission set? Suppose you wanted to take the permission and disable some controls on forms.