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

harningt

@harningt
About
Posts
6
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • HTTP Auth Intercept/Password Form Processing using IE
    H harningt

    I'm in the process of developing a demonstration application that will allow password auto-fill for both forms and HTTP-AUTH... however I cannot find any reference on how to handle the HTTP-AUTH requests. I'm developing a BHO so that I can hook into IE's system and perform lookups on username/password... potentially asking to save new passwords. Since I cannot seem to find a way to intercept the password manager/autocomplete so that HTTP-AUTH and forms would work.. I am trying to shoehorn form parsing and the as-yet-unknown method of intercepting HTTP-AUTH box to do what I need. I'll also be developing a similar thing for Firefox, and having both methods present a similar interface to a scripting language so I can do the 'dirty work' with easy-updates/fixing... (However the browser interface seems to be the real dirty work...).

    ATL / WTL / STL json tutorial

  • Socket type/protocol question
    H harningt

    I was looking through the docs for what type of sockets I can create with the System.Net.Sockets.Socket class and I saw "RDM" - Reliable Data Messaging. To me this seems like quite a nice swap-in alternative to UDP in some cases [when speed isnt terribly important, but there's no need to create a connection then destroy it like TCP would require] I tried to create it with the address family InterNetwork [IP v4.. normal internet] and Undefined protocol-type... since there's nothing there that looks like it would be RDM. When it tried to create the socket, it threw an exception that the address family doesnt support RDM. Now... for one I'd like to have RDM for Internetwork..... but in any case.. does anyone know where I can find any info about the different socket-type/protocol combinations with their supporting address families. Thanks.

    .NET (Core and Framework) csharp performance question

  • Singleton (key/object dictionary) variable troubles
    H harningt

    Well i certainly feel foolish.... I decided to look at my implementation again to see if there was a spoof.... turns out there was... the key I was using wasnt the key that matched with the object... so it returned null since it didnt have it... though I thought the indexer of SortedList was supposed to throw when the value didnt exist. Oh well.... back to working on the actual project now rather than debugging this issue, lol. Hmm.. does anyone have a good suggestion for which to use to store these interface implementation instances. I am using a singleton right now... but I'm using a single processor system and accessing it singly [no stress tests at all .. at least yet]. So... would Application, Cache, or the Singleton work best? I'd like the instance to be available indefinitely, perhaps adding new ones when a new one is available, or removing them when the dll is removed [and the config changed]. The removal however would be more difficult and would require a reload of the entire application due to the wonderful AppDomain unloading but no Assembly unloading [I really hope they add that ability in the next versions of .NET ... I'd like to have a good, simple plugin system that allowed removal without total unloads or using cross-AppDomain calls (I think that uses a form of remoting.. right?)]

    ASP.NET csharp database visual-studio com graphics

  • Singleton (key/object dictionary) variable troubles
    H harningt

    I'm trying to create a pluggable-type of ASP .Net tool to allow for images to be rendered through just one .aspx file, but through any number of assemblies that arent particularly bound... they just have to have a class that derives from a specific interface that allows drawing to an output stream. To me it seems easier to just have one .aspx file and use query strings to determine which class to use and have image creation data in there as well. I've tryed to use singletons, the cache, and the application for key/object storage. The keys are the strings used in the query strings to determine which type of class to use and the objects are instances of the classes [which I see mainly as just holder's of the drawing function, though perhaps class data might be necessary... but thats besides the point] Now for the problem... with all the methods I've tried various methods to get the keys and objects loaded... Singleton: 1. Load up on singleton class instantiation through reflection. [Also tried simply getting type-name strings to use Activator.Create(...)] 2. Use the Global.asax application start event to register all the objects directly (not quite as pluggable, but that could be patched by loading a custom data file and working with that) Cache & Application: 1. Use the Global.asax application/session start events to register the objects. For ALL of these I see that the place of instantiation/reflection/etc work in getting the data into the sorted list or key/object pair. However... once my application asks for the data, it finds the key... but the object passed is ALWAYS 'undefined value'... even with the type-name string. This I find interesting in 3 ways. a) The key was found... so the key "survived" somehow. b) The Value list browsed via the visual studio debugger does in fact have the correct value. c) Upon passing out to where its needed (the "ImageDraw.aspx.cs") the value is immediately 'undefined', to both the VS debugger and to attempts to call functions on it. Any clue as to why this happens..... this situation puts a HUGE damper on my plan to create nice pluggable systems. [a nice simple image drawer tool, ... web page 'units/blocks' loaded from database instructions.. etc] Oh yes.. if you wish to talk to me to discuss [if you think it'd be more productive initially than forum.. though itd be good to post up results here] AIM: Metalx1784 MSN/Windows Msgr: metalx15@hotmail.com email: metx84 @ comcast . net [get rid of the spaces... anti-span attempt]

    ASP.NET csharp database visual-studio com graphics

  • where can I put my big files to be downloaded?
    H harningt

    You should check out www.exaltedhosting.com cheap as heck, with decent bandwidth, PHP, ASP [not .NET .. they use *nix], and other stuff. As well as MySQL databases. Purty good.. specially considering the price. Someday I might just buy a server there for uhh.. i think its like $30/month and put on all kinds of .NET stuff. :-D run myself a hugeeee server, perhaps letting others sub-host off me and recoup some of that 30/month ... though by the time i have that kinda money to spend on web... there'll probably be a huge .NET setup in the *nix world... I hope..

    The Lounge help announcement php sysadmin question

  • online resources won't work
    H harningt

    Yeah, that's happened to me to recently. I mainly noticed it when I uninstalled CodeObject and their thing stayed in the Online Resources as the only one... then I got instructions how to remove theirs.... and now its just blank.

    The Lounge csharp visual-studio question
  • Login

  • Don't have an account? Register

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