I have a query on a junction table that looks like this:
SELECT 1
FROM MyTable
WHERE (k1 = :A1 OR k2 = :A2 OR k3 = :A3 OR k4 = :A4 OR k5 = :A5 OR k6 = :A6 OR k7 = :A7 OR k8 = :A8 OR k9 = :A9 OR k10 = :A10 OR k11 = :A11) AND ROWNUM <= 1
The role is to know if a given node is present anywhere...
I have a little VB.Net 4.0 WinForm app which contains a ListView. Depending on the content of one of the columns, I get the foreground color to change. The items are added live by a background process and the color set before adding to the list.
The problem is that as soon as either a new...
Yeah, I agree but I thought maybe there was a reason I was missing that explained while it defaults to that pattern *using version number). But if there's not, you're right I could use
Io.Path.Combine(My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData, "..")
Hi,
I'm doing a WPF application that uses
My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData
to store a local xml database. When you use this function, the path returned uses formating
String.Format("{0}\{1}\{2}\{3}", basePath, CompanyName, ProductName, ProductVersion)...
First of all, sorry to send this question all over the place but since I couldn't find a WF dedicated forum, I really don't know what is the best place to ask the question.
So, the situation is that I built a WF using .NET Workflow Foundation in .NET 3.5 that is used to control the flow of a...
First of all, sorry to send this question all over the place but since I couldn't find a WF dedicated forum, I really don't know what is the best place to ask the question.
So, the situation is that I built a WF using .NET Workflow Foundation in .NET 3.5 that is used to control the flow of a...
Recently, I had some discussion with OT support staff (basically about the face that J# is to be phased out by MS) and I was a bit shocked to know that LAPI will be officially (Enterprise WebServices are still based on it) out of the business with the end of 9.7 maintenance cycle.
Am I the only...
I'm trying to build a little "autonomous" object factory that is using reflection and attributes to know what are the available object types.
Actually, the custom attribute looks like
<ObjectFactory(13)>
Where 13 is the object type id. So say in my DB I have an object for which I stored the...
On Error Resume Next", "On Error goto 0", "On Error goto -1" and "On Error Goto [label]" are still supported at least in .Net 1.1.
In some cases where a line of code is optional, on error resume next may be faster that the whole try catch logic.
I have a web page for which I want to implement if-modified-since algorithm to minimize server and network load but it seems I have a big problem getting the last-modified header to get sent to the client.
Up to now, I've tried using response.cache.setLastModified([myDate]) and also...
This was a simple example but the goal is to easily implement complex validation or even stats gathering, counters, trace, ... name it. The best would be to have a way to automatically execute code each time the function is called but I think this is even harder.
The reasons to have it done at...
Anyone knows of a way to inject some code before the compiler does its job?
My goal is to be able to add attributes to function parameters to generate testing code so a function like
function MyFunction(<notNothing()>test as object)
end function
would become
function MyFunction(test as...
I'm trying to build a complete help file using C# XML comments. Up to now, everything was going well until I got to point to an HTML file that is not directly related to any piece of code.
I then looked at NDoc additional parameters and found one called "FilesToInclude". I tried setting my...
This is a usual misbelieve caused by some official documentation that said that but in fact it is not the case. GAC is used over bin folder except if the dll used in the project is not exactly the same as the one in the GAC (different name, version or SNKey) and that no policy tells to do...
it is not supposed to but you may want to look at fusion logs using fuslogvw and setting the following registry key:
HKLM/SOFTWARE/Microsoft/Fusion/ForceLog [REG_DWORD] = 1
What this does is log ALL fusion event that occur in the system. From there, you should see what is the version requested...
I finally got it to work.
The first time, the problem came from the fact that my config file wasn't correctly added to the assembly (/embed instead of /link) and when I did it correctly, I had changed the XML inside the config file and an error was introduced in it.
The way I corrected it was...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.