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
D

Dave Midgley

@Dave Midgley
About
Posts
55
Topics
25
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • "Protection error - Debugger Detected" when using MediaElement
    D Dave Midgley

    For the benefit of anyone reading this, after much searching I did eventually find the solution. It does seen to be a problem caused by Nero (anyone who wants a more technical discussion might like to look at my thread here[^], which was mostly over my head). I finally found the solution here[^], which was to rename c:\Program Files\Common Files\Ahead\DSFilter\NeVideo.ax to something else. This fixed it immediately, didn't even need a reboot. I don;t know whether this classes as a "bug" or a "feature" in Nero 6, or whether it has been fixed in later versions. By all accounts it only affects programs when they are being debugged, so shouldn't be a problem for the released version. Hope this helps someone else.

    Dave

    WPF help csharp wpf data-structures debugging

  • "Protection error - Debugger Detected" when using MediaElement
    D Dave Midgley

    Sorry, in which bit of my post did I mention Silverlight? I'm using WPF, and anyway this is obviously not a problem of what formats are supported - and if you read the documentation they quite clearly ARE supported.

    Dave

    WPF help csharp wpf data-structures debugging

  • Protection Error Debugger Detected
    D Dave Midgley

    It's been a while since you posted this, but the problem is still around, see my post http://www.codeproject.com/Messages/3785972/Protection-error-Debugger-Detected-when-using-Medi.aspx[^]. I wondered whether you ever found a solution to it. I'd appreciate hearing about it if you did.

    Dave

    C / C++ / MFC question debugging help

  • Protection error: debugger detected
    D Dave Midgley

    It's been a while since you posted, but the problem is still very much around even in VS2010, see my post http://www.codeproject.com/Messages/3785972/Protection-error-Debugger-Detected-when-using-Medi.aspx[^]. I wondered whether you ever found a solution. I'd appreciate knowing about it if you did.

    Dave

    C / C++ / MFC debugging help question

  • "Protection error - Debugger Detected" when using MediaElement
    D Dave Midgley

    I have just started using VS2010 and have written the tiniest possible WPF program using a MediaElement, with an openFileDialog to load a Uri filename into the Source property of the MediaElement. It works fine with a .WMV file, but any other sort of file (.MPG, .AVI, even .JPG) causes a message to come up "Debugger detected - please close it down and restart". My research so far indicates that it is some sort of clash between video codecs, the most common theory being something to do with Nero 6/7 and the DivX codec. I do have Nero 6 installed, but I've checked in Control Panel | Sounds and Audio Devices | Video Codecs, and although I have a whole list Video Compression Codecs, none is called DivX or anything with Nero in the name. I could uninstall Nero 6, but I do use it, and it seems a bit drastic for what must be basically a bug somewhere that needs fixing. I have also downloaded GraphEdit, which seems to be the diagnostic tool of choice for this problem, but not being an expert in video codecs I haven't the faintest idea what to do with it now that I've got it. (I tried Graph | Insert Filters, but there are a million of them to choose from!) I am running XP pro, and my program is in C# under VS2010. I would really appreciate some help. (NB This problem has obviously been around for a while - I'm finding posts about it from as early as 2005 - but no solutions!)

    Dave

    WPF help csharp wpf data-structures debugging

  • Please can someone do me a favour and run a C# test for me
    D Dave Midgley

    I agree it's not very good. I was quite surprised to find that it does actually support animated GIFs, and then unsurprised to find that it doesn't support them properly by implementing a non-infinite number of loops.

    Dave

    C# csharp linux help

  • Please can someone do me a favour and run a C# test for me
    D Dave Midgley

    Interesting! What do you use then?

    Dave

    C# csharp linux help

  • Please can someone do me a favour and run a C# test for me
    D Dave Midgley

    Doh!. Thanks OriginalGriff. I didn't even realise they did a free Express version. That's done the trick. What an idiot!!

    Dave

    C# csharp linux help

  • Please can someone do me a favour and run a C# test for me
    D Dave Midgley

    I realise this sounds a bit pathetic, but I have developed a workaround for a weakness in the pictureBox class, and I will publish it as an article on CodeProject. However I haven't yet upgraded from VC2005 (as a freelancer I am having trouble getting work in these straightened times and don't reall want to shell out for VS2010 just at the moment). Before I publish I would like to check whether the problem has been solved in later versions of .NET. I have a test program all ready. If someone with VS2010 could spare half an hour to run the test it would save me wasting my and everyone else's time on an unecessary article.

    Dave

    C# csharp linux help

  • Basename, skill level and pasting HTML
    D Dave Midgley

    Thanks guys. I'm not a CodeProject regular and didn't realise I could delete the oddballs myself on the "my articles" page, which I have now done. I seem to remember reporting the same problem when I submitted the article on reparse points way back when. It would be nice if an article and its basename (.aspx page name) wasn't actually cast in stone until a bit later in the creation process, to allow the writer to change his/her mind. Or alternatively, if an article exists from the moment the first page is filled in and the basename defined, then the author should be able to then come back to that article and complete it, but as far as I know that isn't possible either - you can't edit an article until the final text page as been completed - or am I wrong? However I imagine that such upgrades would require fundamental changes to the way CP works, so I guess we live with it.

    Dave

    Site Bugs / Suggestions html help workspace

  • Basename, skill level and pasting HTML
    D Dave Midgley

    I have just posted an article and 3 matters arose which I wanted to tell you about: 1) If you fill in the first page (Naming and setup), press the "Next, article uploads" button and then for whatever reason decide to stop and start again later, you find that the basename you used has been created, and when you try again you get a "basename already in use" error and have to think of a new name. 2) I couldn't find the "skill level" selector on page 1 anywhere, although it is mentioned in the notes 3) I submitted a large article by preparing it as HTML first, selecting the "bare HTML <>" button on the subission page and pasting the whole lot in. When I pressed <> again to return to WYSIWYG view I found I could edit anything. I had to keep returning to the HTML view to make changes - made even more difficult because the cursor positions of the two views appear to be independant. Apart from that - it's a great site and I use it very often.

    Dave

    Site Bugs / Suggestions html help workspace

  • How to customise the behaviour of a control when it is selected
    D Dave Midgley

    I am developing a control that displays a grid of pictures. I want to be able to select a picture by clicking on it, and change its appearance (eg. with a border) to show that it is selected. I have created: 1. a class derived from UserControl that contains a PictureBox for the picture 2. a class derived from FlowLayoutPanel to contain the pictures. This overrides CreateControlsInstance() to return an instance of... 3. a class derived from Control.ControlCollection to contain the picture objects. This overrides the Add(Control value) method in order to add a handler to the Click event of the control being added to the collection. It also contains the click event handler, and this is where my problem lies:- It seems to me that the logical next step is for the click event handler to identify the control that has been clicked (no problem) and to call its Select() method, which will then alter the appearance of the control as required. The problem is that Control.Select() cannot be overridden. This raises two questions: Q1: what does Control.Select() actually do? Q2: how do I implement the change in appearance of the control. Obviously I could just set the UserControl.BorderStyle property from within the click handler in collection class, but surely an object should make its own decision as to how it looks when it is selected. I can only assume that I've misunderstood something, or am doing it all the wrong way. Can anyone advise?

    Dave

    C# question css help tutorial

  • Submission Wizard
    D Dave Midgley

    Oops I seem to have replied to myself. Try again: All seems to have gone well (http://www.codeproject.com/useritems/ReparsePointID.asp\[^\] except that I mamaged to upload my screenshot JPG twice with different names, so one of them is now superfluous, and I couldn't work out how to get rid of it. Dave Dave

    Dave

    The Lounge help question

  • Submission Wizard
    D Dave Midgley

    All seems to have gone well (http://www.codeproject.com/useritems/ReparsePointID.asp[^] except that I mamaged to upload my screenshot JPG twice with different names, so one of them is now superfluous, and I couldn't work out how to get rid of it. Dave

    Dave

    The Lounge help question

  • Submission Wizard
    D Dave Midgley

    That's what I thought. Thanks for the quick response anyway. I think there is an HTML template that can be used for "offline prep" in place of the Wizard, isn't there? Probably a better way to go. I'm just finishing a big C# development (www.ionyoo.com, if I'm allowed a quick advert!) using all sorts of aspects of C# and .NET and I've got a load of tidbits that would make good CP articles, but I've never found the time to get stuck into the mechanics of producing them. If I can do one I'll probably do more. Anyway I'll try the template (tommorrow, it's supper time in Mud Island now). Cheers

    Dave

    The Lounge help question

  • Submission Wizard
    D Dave Midgley

    Is this where we ask questions about CodeProject itself? I was in the middle of writing an article using the submission wizard. I'd uploaded a bunch of files and made a start on writing the article, and then IE got accidentally closed (oops). Is there any way I can get back to my article or do I have to start all over again? Anybody help? Dave

    Dave

    The Lounge help question

  • Find active user under Fast User Switching
    D Dave Midgley

    When fast user switching is enabled, how can a service find out which user is the active user? (I realise this is more of an operating system question than a C# one, but there didn't seem to be a suitable operating system message board, and I am developing with C#/.NET 2.0, so I hope it's OK here.)

    Dave

    C# csharp question

  • How to get process's user and domain without WMI
    D Dave Midgley

    Thanks Mike, that's just what I needed.

    Dave

    .NET (Core and Framework) csharp tutorial question

  • How to get process's user and domain without WMI
    D Dave Midgley

    I am trying to get the user and domain of a running process. I can do it using the WMI, but this has various problems (it's slow, it needs to run wmiprvse.exe). There must be a way of getting this information without using the WMI - does anyone know it? (I'm using C# under .NET2.0, but that should be irrelevant, any answer is going to involve a p-invoke, I'm sure)

    Dave

    .NET (Core and Framework) csharp tutorial question

  • Tooltip in ListView: MouseMove fires continuously in VS2005
    D Dave Midgley

    There seems to be a problem in VS2005 (which was not present in VS2003) when a tooltip is assigned to a listview . If the mouse hovers over a blank area of the listview it works fine, but if it hovers over a populated row the tooltip shows very briefly and disappears. More seriously, a tooltip generates a MouseMove event when it disappears (even in VS2003), which causes real havoc in a program that uses the MouseMove event to set the tooltip text, because setting the text causes the tooltip to be redisplayed. When the cursor is over the blank area there is no problem, the tootip disappears after the AutoPopDelay time (usually 5 secs) and is immediately redisplayed (as in VS2003). When over a populated row however, because the tooltip disappears as soon as it is displayed, the resulting MouseMove event causes it to flicker madly - indeed the evnts are generated so fast that they can reenter and cause exceptions to be generated and the program to crash. I have been totally unable to find an acceptable workaround for this apparent bug on VS2005. Has anyone else come across this problem, and does anyone know of a workaround? Dave

    Visual Studio 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