Yes.
Hugo Hallman
Posts
-
ActiveX controls on web pages -
ActiveX controls on web pagesHello 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?
-
updating a databaseI 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. ;)
-
High performance buffer pooling?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: -
Read the HttpContext.TraceThanks a LOT!!:):rose:
-
Read the HttpContext.TraceHello! 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.
-
Event Handling for System DateI suggest you search for "API Hooking", which is quite complicated, but there are good articles about it already.
-
System.IO.StreamIf you haven't the option to use StringWriter, use MemoryStream and Convert.GetBytes
-
OWA dissectionThe, 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.
-
Escape Single QuoteAnd 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!:)
-
Controls in a templateI 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
-
Message pump exception catchingHey 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.
-
OWA with SSLWell, 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:
-
OWA with SSLHey 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.)
-
windows folder propertiesHow 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)
-
Version Control SystemYou can use MSDE for free.
-
Version Control SystemSourceGear's Vault is great too. http://www.sourcegear.com/vault/[^]
-
BeginInvokeThank 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.)
-
BeginInvokeI 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
-
Batch job impersonationThanks a lot! -Chee that was a heavy paper. I'll read it when I come back from vacations.:zzz: