Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by BKQc

  1. BKQc

    Query performance oddity

    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...
  2. BKQc

    WinForm's ListView loses fore color

    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...
  3. BKQc

    CurrentUserApplicationData and version changes

    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, "..")
  4. BKQc

    CurrentUserApplicationData and version changes

    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)...
  5. BKQc

    WF not completing after returning ActivityExecutionStatus.Closed

    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...
  6. BKQc

    WF not completing after returning ActivityExecutionStatus.Closed

    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...
  7. BKQc

    LAPI being replaced

    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...
  8. BKQc

    Custom attribute question

    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...
  9. BKQc

    try-catch .vs. &quot;on error&quot;

    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.
  10. BKQc

    Cache/Headers problem

    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...
  11. BKQc

    Unable to add new files, modify or add new version

    Have you tried looking at the connect logs? Is this from there? I f it is, maybe you should attach the whole transaction...
  12. BKQc

    Code injection at compil time

    OK, so it seems it is possible... But anyone know how?
  13. BKQc

    Code injection at compil time

    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...
  14. BKQc

    Code injection at compil time

    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...
  15. BKQc

    XML Comments / NDoc and external content

    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...

Part and Inventory Search

Back
Top