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
C

campk

@campk
About
Posts
5
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • mapi33
    C campk

    does anyone know what, if anything, is going on with the MAPI33 wrapper [site]? I've been doing some research on Extended MAPI + .NET and came across this library (and it seems to suit my needs well) at www.mapi33.adexsolutions.com but didn't download the trial or docs, and now it seems to be gone..? it redirects to valuehost.ru; i would guess that maybe they've exceeded bandwidth on the colo/hosting plan, or something similar, but since i don't speak russian, and most of the text is actually images (no babelfish translations) does anyone know if this library has been discontinued/abandoned? there is always the Outlook Redemption lib, but it seems like the MAPI33 was a bit more complete/robust. thanks -

    .NET (Core and Framework) csharp com hosting question

  • deploying .NET/ActiveX via cab
    C campk

    I am currently working on deploying a .NET component (Windows Form - UserControl) for use [embedded] in Internet Explorer. The actual delivery system is this: I have a deployment project that packages everything as an *.msi This *.msi + an *.inf are packaged in a CAB file, which is referenced in the CODEBASE attribute of the object tag in the markup. This part is great - it is deployed, installed, & works fine. What I am dealing with now is the upgrade process.. From all of my research & trials, which can more or less be neatly summed up on this page.. http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1536629&SiteID=1[^] Since mscoree.dll is what has to instantiate the object for IE to host it, when msiexec installs my component, everything is installed referencing the .NET2.0 version, 2.0.50727.1433. So, for IE to be able to hook into the code base & install it properly, I have to append the version information (to the codebase attribute) as 2.0.50728. This is obviously sub-optimal, and presents the need for a potentially ugly workaround. Per some of the articles/posts I have read, I have fiddled with registry values in the following keys, but to no avail. HKEY_CLASSES_ROOT\CLSID\{...}\InprocServer32 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Code Store Database\Distribution Units\{...} If anyone has had to deal with a similar case, or has any ideas on what to try, I would definitely appreciate the help! Thanks -

    .NET (Core and Framework) com csharp html css database

  • Amazon arrived...
    C campk

    Beale St is WAY better than Pure Rock Fury. My personal taste says that PRF is the worst album that they've ever released; not to say that songs on it were bad, but it has been the one-off album in their discography... Everything else has had a "feel" to it, and PRF was just a hodge-podge. Robot Hive/Exodus & Blast Tyrant were also excellent & worth checking out; they've been making a transition from a hard-core feel to a more earthy/bluesy sound. For a similar sound, check out Five Horse Johnson, a band out of (I believe) Ohio; they toured with clutch over the spring months throughout the NE US & Jean Paul Gaster did the percussion on their latest album 'The Mystery Spot'

    The Lounge c++ com architecture

  • regex name/value pairs
    C campk

    Keith - I was headed in that direction, but couldn't quite get it.. Thanks for the help on it. What you have helped with has given me.. (?[a-zA-Z0-9_]*) \x20*? (?<Operator>>=|<=|<|>|=|!=|LIKE) \x20*? (?<quote>[""']?)\w+?\k<quote> \x20*? which matches the following PropertyName = 'Blah' AND PropertyTwo >= 9 OR PropertyThree = "asdf" OR AnotherProperty >= 'thisis atest' perfectly up until the last part... AnotherProperty='thisis atest' the \w+? will stop at the space in between 'is' and 'atest', which is where i am stuck now. using .*, or something similar captures too much... I am inclined to believe that using a negated character class [^""'] is the way to go, but am not positive how to do that; the things I have been trying wind up matching too much. Any ideas? Thanks - -- modified at 9:21 Friday 5th January, 2007

    .NET (Core and Framework) regex help question

  • regex name/value pairs
    C campk

    a little stumped with a regex i've been working on... trying to parse name/value pairs from a string - I have something close, but it chokes on certain cases. (?# PROPERTY )(?[a-zA-Z0-9_]*)\x20*?(?# OPERATOR )(?>=|<=|<|>|=|!=|LIKE)(?# Value )\x20*?'?\w+'? // any property name of any length, captured into backreference 'Property' (?[a-zA-Z0-9_]*) // whitespace, 0+, minimal matching \x20*? //any of the operators >=, <=, <, >, =, !=, LIKE captured into backreference 'Operator' (?>=|<=|<|>|=|!=|LIKE) // whitespace, 0+, minimal matching \x20*? // single quote, 0-1 // followed by word character, 1+ // followed by single quote, 0-1 '?\w+'? I am looking to match (and extract) name/operator/value pairs from a string, such as... PropertyName='SomeValue' AND IntProperty < 9 OR AnotherProperty LIKE 'this is a test' the regex i have above works fine for the first two terms, but then when you get a quoted string, it only matches up to the first space... This is only ever going to be an issue with the quoted strings, anything else will assume a word boundary on whitespace, which is the desired behavour. I need that last part of the Regex to basically say "if we're enclosed in single quotes, get anything between the opening and closing quote; otherwise, match everything up to whitespace" any help is much appreciated. (or if anything spots any weak spots in the Regex i have so far..) thanks -

    .NET (Core and Framework) regex help 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