Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

Hugo Hallman

@Hugo Hallman
About
Posts
82
Topics
40
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • ActiveX controls on web pages
    H Hugo Hallman

    Yes.

    COM com cryptography question

  • ActiveX controls on web pages
    H Hugo Hallman

    Hello all. I've authored an ActiveX-control that i'd like to put on my web page. (yes, it's worth downloading) But XPsp2 requires that the control be signed. (Or did it require that before sp2?) Verisign takes a fortune for a publishers certificate, so does anyone know an alternative? One obvious alternative is to let the users download an installer, but that's not at all as compelling as a real control.. The microsoft documentation on authenticode speaks about a certificate type for "individuals", but I can't seem to find a way to get such a certificate?

    COM com cryptography question

  • updating a database
    H Hugo Hallman

    I think that the problem is that you've entered the id of a student that doesn't exist in the Database. Either enter a corresponding student into the database or remove the constraint that there must be a student actually responsible for the loan. ;)

    C# help database security announcement learning

  • High performance buffer pooling?
    H Hugo Hallman

    Hello. I'm working on a performance critical component, and need buffers to work in. I'll only need one buffer per thread, (at most) so I'll store one in thread-local-storage and I'll keep a record on the average needed size, per AppDomain. Thus I'll change the size of the pooled buffers peridocially to the average size (rounded up to the nearest SystemPageSize, which is usually 4K). So, the question is if this is even a good idea in managed code at all? If I was working in unmanaged code, I'd not even have asked, but now I don't know if it's simply better to call new byte[requiredSize].:confused:

    C# question performance

  • Read the HttpContext.Trace
    H Hugo Hallman

    Thanks a LOT!!:):rose:

    ASP.NET debugging question

  • Read the HttpContext.Trace
    H Hugo Hallman

    Hello! Is there any way to read HttpContext.Current.Trace? -I need to log it's content in some place other than Trace.axd at some times.

    ASP.NET debugging question

  • Event Handling for System Date
    H Hugo Hallman

    I suggest you search for "API Hooking", which is quite complicated, but there are good articles about it already.

    Article Writing tutorial

  • System.IO.Stream
    H Hugo Hallman

    If you haven't the option to use StringWriter, use MemoryStream and Convert.GetBytes

    C# tutorial csharp question

  • OWA dissection
    H Hugo Hallman

    The, without doubt, coolest web-page I've ever seen is OWA 2003 (Outlook Web Access). I think it would be very cool with an article or article series with the dissection of the techologies used in OWA. Client side and (with Lutz Roeder's .net Reflector) server side code.

    Article Writing csharp sysadmin

  • Escape Single Quote
    H Hugo Hallman

    And they are much faster too, since the SQL (which has to be compiled) can be cached for every request. There's simply no excuse for not using them!:)

    C# database algorithms question

  • Controls in a template
    H Hugo Hallman

    I just implemented a template so I could do this:

    Columnpart!

    but when I try this: Naturally the corresponding Button in the base class is never initialized. Of course I can programmatically insert the button instead, but that's not a very neet solution, so, -Any suggestions, anyone? Thx

    ASP.NET question learning

  • Message pump exception catching
    H Hugo Hallman

    Hey all. I suppose this is easy really, but I don't know how to do it. How can I catch exceptions that occur in message handlers i windows forms? It's also gotta be before the default message pump exception handler. I have some exceptions that can occur at a million places on user input, and should be handled centrally. Thanks in advance.

    C# question winforms tutorial

  • OWA with SSL
    H Hugo Hallman

    Well, as I said, I do get SSL to work, but the SSL settings are deleted when the virtual directories are read from ESM when restarting the services, so I need to enter them there instead of in IISAdmin. I have several ips on the Exchange server to enable two companies to use the same one with different public folders and only port 443. Thank you for your exchaustive answer though.:rose:

    System Admin help sysadmin security question

  • OWA with SSL
    H Hugo Hallman

    Hey all. I've been stupid enought to take on to install Exchange 2003, so I suppose I'll just have to blame myself but I'd still appreciate some help on this: When I try to enable SSL for OWA in [Exchange] System manager, the textbox for filling in the SSL port is grayed out, so I have to enable SSL from IISAdmin instead and it works. The problem is that when the server is restarted the settings I do in IISAdmin is overwritten with the ones from System Manager, so SSL dissapears:mad: :rose:To anyone with a decent (scripted?) solution or suggestion. (I Have a CA on the same machine.)

    System Admin help sysadmin security question

  • windows folder properties
    H Hugo Hallman

    How do I open up a windows shell folder properties dialog from dotNet? I would prefer doing it purelly managed, but if required there's no real reason not to use interop (as I suppose I'd have to)

    C# question csharp com linux

  • Version Control System
    H Hugo Hallman

    You can use MSDE for free.

    The Lounge c++ sysadmin collaboration question announcement

  • Version Control System
    H Hugo Hallman

    SourceGear's Vault is great too. http://www.sourcegear.com/vault/[^]

    The Lounge c++ sysadmin collaboration question announcement

  • BeginInvoke
    H Hugo Hallman

    Thank you very much for your answer. Although I don't agree on your discussion, I'll use the code you gave me. I tested calling BeginInvoke(Nada) a hundred thousand times and then GC.Collect(); The memory footprint after the collection was over a hundred megs. ??? And the reason I ask is that I do use BeginInvoke, but am not satisfied with it. And Invoke is no option since it causes deadlocks in my case. (The UI is updated from a background process.)

    C# winforms data-structures performance question

  • BeginInvoke
    H Hugo Hallman

    I can't find the equivalent to PostMessage in Windows Forms. I'm currently using BeginInvoke, as it's much like it, but then I get memory leaks, since I ignore the AsyncResults. What should I do with them? Store them in a queue which I walk through later to see if the Completedflag is set and can then safelly call endinvoke? Thanks in advance

    C# winforms data-structures performance question

  • Batch job impersonation
    H Hugo Hallman

    Thanks a lot! -Chee that was a heavy paper. I'll read it when I come back from vacations.:zzz:

    ASP.NET database question sysadmin help career
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups