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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
N

Noodnik

@Noodnik
About
Posts
8
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How to set "Special Build" attribute in Assembly?
    N Noodnik

    I'd like to set a "Special Build" property/attribute in the Assembly of my project (or in a resource file) -- something that gets compiled in. I've looked around the net for this and it's really not clear to me. I'm using Visual Studio.NET 1.0 and my App is standard C#. I've actually got two flavors of the app (one command line and one GUI) and I need to set the "Special Build" string differently for each app (E.g., I don't want to do it in code, I just want to set the values differently in either resource files or in the AssemblyInfo.cs file). Thanks for any tips!

    .NET (Core and Framework) csharp visual-studio tutorial question learning

  • XMLSpy alternatives...
    N Noodnik

    I'm looking at XML/XSD editors to help me to put together a fairly large set of interlinked schemas. I've tried XMLSpy and like it very much. But... It's SOOO expensive!!! (almost $1000 for the version I think I need!). Are there ANY alternatives I should try that even come close to being as easy to use and as intuitive as XMLSpy? I've tried XMLFox (freeware) and Popkin's "XML Architect" - they don't even come close as far as I'm concerned. Anything else out there? Again, I need it to be stable, be able to edit large linked schemas and validate documents based on the linked schemas.

    XML / XSL xml help question announcement

  • SAX in C#
    N Noodnik

    I've got a big and deep XML file I want to extract values from. My webservice is currently entirely in C#. I thought to use SAX because I just want to build up a two-column dataset from my XML file: the PATH and the TEXT VALUE. E.g.: /root= /root/node=2 /root/node/sub=SomeText /root/node2=3 /root/node2/sub=Some More Text Since I've used SAX before to easily build up the "path" part, I searched for a SAX parser in .NET and on the net and am VERY surprised that I can't find one!! Anyways, I'm new to XSLT et. al. and suspect there's a quick way for me to do what I want there (e.g. to build up this two column file WITHOUT knowing the names of the nodes). Can anyone suggest how, or even a small stylesheet to do this?? Thanks for any [good] advice!

    XML / XSL csharp xml question

  • Bug in Forms.HelpProvider?
    N Noodnik

    Thanks for checking that out! In "Help:About" from my "Visual C# .NET" IDE, I see I'm using "Microsoft .NET Framework Version 1.0.3705" (e.g., a very old version). It would appear to be a bug that has been fixed in updates to the .NET framework and/or the IDE. Do you know where I can get the update(s) for my .NET Framework and IDE? I've tried the "Check for Updates" menu item (it fails without giving a reason), and looked around Microsoft's Support website for updates, but am not sure what I need.

    .NET (Core and Framework) help csharp dotnet winforms graphics

  • Bug in Forms.HelpProvider?
    N Noodnik

    I'm trying to provide simple "pop-up" (e.g., tooltip-style) help hints for my dialog controls (standard Windows Forms using C#), using System.Windows.Forms.HelpProvider and System.Windows.Forms.Form.HelpButton. I'm using only the "SetHelpString()" method on the HelpProvider to set the help text to strings managed internally by the application. When I invoke the help the first time, it always seems to work. Sufficient subsequent invocations invariably either crash the program completely (with an "Application Error" dialog: The instruction at "xxxxx" referenced memory at "xxxxx". The memory could not be "written". Click on OK to terminate the program - sometimes it says "read" instead of "written") or cause some very strange application error/exception that the CLR does manage to catch. Does anyone recognize this? Is there a fix for it? I've searched MSDN Knowledge Base and Google (and here at CodeProject) for clues, but nothing comes up. Help!! Here's a program that demonstrates this problem for me, usually within 5-10 usages of the "HelpButton": ----------------------- using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace WindowsApplication1 { /// /// Summary description for Form1. /// public class Form1 : System.Windows.Forms.Form { private System.Windows.Forms.HelpProvider helpProvider1; private System.Windows.Forms.Button button1; private System.Windows.Forms.Button button2; private System.Windows.Forms.TextBox textBox1; /// /// Required designer variable. /// private System.ComponentModel.Container components = null; public Form1() { // // Required for Windows Form Designer support // InitializeComponent(); string s= "This is the help for button 1 I hope it is long and helps us to figure out where the problem is" ; helpProvider1.SetHelpString(button1, s) ; s= "This is the help for button 2 I hope it is long and helps us to figure out where the problem is" ; helpProvider1.SetHelpString(button2, s) ; s= "And this help is for the text box" ; helpProvider1.SetHelpString(textBox1, s) ; } /// /// Clean up any resources being used. /// protected override void Dispose( bool disposing ) { if( disposing ) { if (components != null) { components.Dispose(); } } base.Dispose( di

    .NET (Core and Framework) help csharp dotnet winforms graphics

  • Why does "DoEvents()" reset Current.Cursor?
    N Noodnik

    I understand that if I set "Cursor.Current= Cursors.WaitCursor ;" then somewhere I call "Application.DoEvents()", my hourglass cursor will disappear. Why the he$$ does .NET insist on doing this? I want the hourglass there so the user knows the app is busy *AND* I want the form to be repainted (to show the progress bar) so I both set the cursor and call "DoEvents()".

    .NET (Core and Framework) question csharp

  • What about pipes?
    N Noodnik

    It's actually "anonymous pipes" I'm talking about (e.g., not "named pipes"). When you create an anonymous pipe, you get TWO handles - one you use on your side of the connection, the other you pass to the remote application. The pipe is "anonymous" in that there is no "name" for it - there is no need, as both sender and receiver can access it using the handles that are returned. The application I'm interfacing with is Microsoft Flight Simulator 2002 (MSFS2k2). There is a facility built in to MSFS2k2 to send it a "Flight Video" by passing it a handle to an open file containing the video. By using an anonymous pipe, I can have one process create and send a video to MSFS2K in real-time. This is what I want to do. I have it working now, but I sure am surprised if in fact MS.NET doesn't provide support for this - especially as it continues to be a necessary tool for interacting with MS products...

    .NET (Core and Framework) csharp c++ question

  • What about pipes?
    N Noodnik

    I recently had the need to stream data to a running application using anonymous pipes. I was very surprised to find it so hard in .NET! I ended up using the "CreatePipe()" and "CloseHandle()" functions using "DllImport(kernel32.dll)". Is there really no native support for pipes in the FCL?

    .NET (Core and Framework) csharp c++ 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