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
S

Senkwe Chanda

@Senkwe Chanda
About
Posts
1.0k
Topics
167
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • InvokeMember "Member Not Found" when attempting to set a property
    S Senkwe Chanda

    Thanks Serge, I didn't know about that particular method. In any case, it turns out I wasn't casting my parameter to the correct type and that was the problem. Thanks for your help Serge, I appreciate it :-) Woke up this morning...and got myself a blog

    .NET (Core and Framework) csharp help question

  • InvokeMember "Member Not Found" when attempting to set a property
    S Senkwe Chanda

    Hi Serge, thanks for replying. The property is not readonly or private, it looks like this... public string MyProperty { get { return _myPropertyValue; } set { _myPropertyValue = value; } } However, the quickwatch window gives me what I expect to see. All the fields and properties are initialized to null or 0 (strings and ints) Woke up this morning...and got myself a blog

    .NET (Core and Framework) csharp help question

  • Phew , Italy scraped out a draw
    S Senkwe Chanda

    "Indian Soccer" :confused::confused: ;P Woke up this morning...and got myself a blog

    The Lounge

  • InvokeMember "Member Not Found" when attempting to set a property
    S Senkwe Chanda

    I’m dabbling with some of .Nets reflection features and am running into the following problem… I have the following code, Assembly myAssembly = AppDomain.CurrentDomain.Load("MyAssembly"); Type myType = localDataAssm.GetType("MyNameSpace.MyType”, true, true); Object myObjectInstance = Activator.CreateInstance(myType); myType.InvokeMember("MyProperty", System.Reflection.BindingFlags.SetProperty , null, myObjectInstance, new object[] {"blah"}); The InvokeMember step fails with “Member Not Found”, even though the said property does indeed exist. This seems to be straight forward to me so what am I missing?? Woke up this morning...and got myself a blog

    .NET (Core and Framework) csharp help question

  • Most hated Interview question....
    S Senkwe Chanda

    I think I'll go to an interview drunk one day and when they ask me what my weakness is I'll say "My weakness is resisting the urge to club you over the head with this keyboard for asking me that question". :suss: Woke up this morning...and got myself a blog

    The Lounge question com career

  • RedHat consulting
    S Senkwe Chanda

    I'd argue that a good plumber important enough to warrant rates of $75/hr Woke up this morning...and got myself a blog

    The Lounge database question

  • Just back after...
    S Senkwe Chanda

    I watched on the news this morning that voter turnout has been very poor this time around. Perhaps people are getting tired of politicians promises? Woke up this morning...and got myself a blog

    The Lounge help

  • C# questions
    S Senkwe Chanda

    And I'm rating you a 5 for using the phrase "mad cross-over skillz". I'd give you an extra point for that "z" in "skillz". Word :cool: Woke up this morning...and got myself a blog

    The Lounge csharp question learning workspace

  • A Viral Conspiracy?
    S Senkwe Chanda

    Disclaimer: I've been thrown into the cells once here in SA for NO REASON whatsoever :-) BUT, when you think about it, these guys make something like 2 or 3000 Rands a month and for that, we expect them to risk their lives for us. So in a way, I can understand their corruption, I don't condone it, but I can understand it :-) Woke up this morning...and got myself a blog

    The Lounge question discussion business

  • How to use a WTL splitter window
    S Senkwe Chanda

    Go Here[^] Woke up this morning...and got myself a blog

    ATL / WTL / STL c++ tutorial question

  • Microsoft Search Engine
    S Senkwe Chanda

    I also try my best to answer the surveys honestly, harsh or not. I was a sceptic but it seems someone over at MS is actually listening. For example, the MSDN newsgroups have improved quite a bit and they took care of those issues that I remember having complained about. Same with the new hotmail interface, when it first came out there were things about it I didn't like. Guess other people felt the same coz the issues were resolved for the most part. Woke up this morning...and got myself a blog

    The Lounge tutorial question css com announcement

  • MSXML implementing ISAXContentHandler, what on earth am I missing??
    S Senkwe Chanda

    Hi Edward. Thanks for the reply again. I took a peek at the projects *.tlh file and my eyes glazed over so I deleted it and rebuilt all. Same thing happened. Looks like I'm going to have to dig into the file and look for anything odd. Thanks for your help :-) I'll post this problem to another newsgroup as I'm sure someone must have experienced this before. :-) Woke up this morning...and got myself a blog

    COM tutorial help question

  • MSXML implementing ISAXContentHandler, what on earth am I missing??
    S Senkwe Chanda

    Hi, thanksk alot for the response :-) Unfortunately, your suggestion doesn't seem to work. I've already tried including "raw_interfaces_only", didn't work I'm afraid. I've just now tried your "raw_XXX" suggestion and I still got the same compile error. Thanks again for the suggestions though :-) Woke up this morning...and got myself a blog

    COM tutorial help question

  • MSXML implementing ISAXContentHandler, what on earth am I missing??
    S Senkwe Chanda

    I've read the docs and a few online examples of how to implement the ISAXContentHandler interface. Simple enough. In my "stdafx.h" file, I make sure to add the following two lines. import using namespace MSXML2; Cool, I then created a class derived from ISAXContentHandler, call it ContentHandlerBase. I implemnted each of the ISAXContentHandler methods such that they all return S_OK. Then, I created a class that derived from ContentHandlerBase, call it ContentHandlerImpl. In this class I only implemented one method, say ISAXContentHandler::startElement for example. As soon as I tried to instantiate this class via ContentHandlerImpl* chi = new ContentHandlerImpl(), I got "Cannot Instantiate Abstract Class" along with a whole bunch of ... HRESULT MSXML2::ISAXContentHandler::raw_ignorableWhitespace(unsigned short *,int)' : pure virtual function was not defined for example, for each of the ISAXContentHandler methods even though they HAVE been implemented in the base class. I don't get, it. I downloaded an online sample and it compiled fine. Laboriously poring over the differences between my code and the sample code has proved fruitless as I can't see anything I did wrong :-( Anybody have any clues as to what might be the problem? Thanks. Senkwe Woke up this morning...and got myself a blog

    COM tutorial help question

  • Where and What did you study?
    S Senkwe Chanda

    hehe, Paul you know that's bad advice. Just to prove it to you, I'm quitting my job and becoming a blues guitar player :-D If I fail, I'm hunting you down! Woke up this morning...and got myself a blog

    The Lounge question help

  • Isn't it amazing
    S Senkwe Chanda

    Ian Darling wrote: And Ctrl+Shift+U/Ctrl+U for change selection case as well Thanks!! Now all those friggin ATL macros will feel my wrath :-D Woke up this morning...and got myself a blog

    The Lounge help question

  • w00t
    S Senkwe Chanda

    *green with envy* My monitor would be at home in the first ever episode of the Flintstones. What does the new job entail Jeremy? Please tell me you're practicing working in COBOL so I at least have something to smirk about ;P Woke up this morning...and got myself a blog

    The Lounge career

  • american soccer fans...
    S Senkwe Chanda

    hehe, fair enough :-D Woke up this morning...and got myself a blog

    The Lounge game-dev

  • american soccer fans...
    S Senkwe Chanda

    I've seen him play and wasn't that impressed. He's the equivalent of that Wayne Rooney kid in England. They're both very fast, very strong, and very powerful finishers. But they lack grace and finesse so they're not my kind of players. Why does it matter? Well the world game has progressed to the point where it's ridiculously easy to nullify these types of players. (Michael Owen isn't having a bad patch, his number is simply "up"). Put it this way, these guys would NEVER be able to make the French, Brazilian ,Portuguese or even Cameroon national teams. They're young though, so lets hope they mature :-) PS, the American team does have some players that I consider gifted and I do cheer them on when they play. It would be great for football as a whole if US soccer caught on more Woke up this morning...and got myself a blog

    The Lounge game-dev

  • New Counter!
    S Senkwe Chanda

    Mr.Prakash wrote: I dont know whos is going to have the honor of being the 1,000,000th person. We can drag him/her into the lounge and bombard him/her with VB questions :-) Woke up this morning...and got myself a blog

    The Lounge
  • Login

  • Don't have an account? Register

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