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
T

TheSnakeByte

@TheSnakeByte
About
Posts
9
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Need help with PropertyGrid
    T TheSnakeByte

    Now, I just recently found out about PropertyGrid and I think I like it. My problem is, I can't figure out how to display my tree in a apropriate way. My classes look like this: class MyTreeNode { List mylist = new List(); public MyTreeNode[] SubNodes { get { return (MyTreeNode[])mylist.ToArray(); } } public string Name = "something"; } I want this MyTreeNode class to display as a list of nodes; but instead of that [0] as a name it should display the node's Name-attribute. I would also like to set the value to something different. I just can't figure out how to do that exactly. please give me a hint. so long.

    C# help data-structures tutorial

  • Accessing activeX in ASPX from C#
    T TheSnakeByte

    as far as I know either VS.NET or I are stupid. you want to use that instance in your code-behind? afaik this doesn't work. you'll have to put a <% code... %> part into the html that fires onload or whenever if that's not what you've meant, sorry, I don't get it :p so long.

    ASP.NET csharp asp-net com hardware

  • help in ASP.NET
    T TheSnakeByte

    my username has nothing to do with my attitude... it's just a alias that I use on the internet and that for quite some time... I got used to it... next, what does this page have to do with an help-link provided by microsoft? further, this got nothing to do with programming... if you'd use the help provided (that help link...) you wouldn't have to prove that you don't have a clue... I already answered your question: just read the help link, it's all there. and you're wrong. this board is by no means the fastest way... it's a easy way (you don't have to use your brain) but by no means fast. but... with that kind of attitude... you will have MUCH less friends on the coding community than I have with mine... those kind of questions are all already answered and still come up again and again and again and... it's annoying. and be assured, I'm not alone with that kind of 'attitude' so, please, take this as an advice to solve your problems (this one and future ones): 1. try any help that can be found along with your problem (the help-link) 2. try search functions (it may take some time to figure out what to type in but it will save you (and us) a lot of annoying questions and replys) 3. try google 4. think about it 5. ask your mother 6. think about it 7. ask your little sister 8. think about it 9. ask your cat 10. think about it 11. ask your dog 12. think about it ... 999. post your question using the following rules: a) use a useful topic (your topic for this one could be "VisualStudio can't connect to webserver") b) post the whole error-message c) if it worked and after something changed it doesn't, tell us what you did d) before you click "submit", read your post again, see if everything is in it and you really can't come up with a solution e) click "Submit"

    ASP.NET csharp help asp-net visual-studio sysadmin

  • help in ASP.NET
    T TheSnakeByte

    first: use the topic to specify your problem... this board is basicly to help with asp.net so your topic says NOTHING second: with this error-message there comes a Help link... use it... this problem isn't about ASP.NET, it's about laziness so long. PS: I know I'm not very polite but it just drives me nuts when my REAL problems are dropped to page 4 because of this kind of 'problem'

    ASP.NET csharp help asp-net visual-studio sysadmin

  • Threading in ASP.NET
    T TheSnakeByte

    the popup: just another .aspx webpage that says "sending mails..." and does that. when it's done it does a refresh on itself and shows "done" all you have to do is: open that page in a new browser window (like target="_blank" or use javascript) for more details on how to open popups, refer to google and "javascript tutorials" (maybe selfhtml.org) you could also use a iframe but that 'might' be stupid if the user wants to browse somewhere else... anyways, threads on webpages are not the thing to go for and popups are a matter of html/javascript

    ASP.NET csharp asp-net sysadmin question

  • memory leaks?
    T TheSnakeByte

    threads seems like a valid reason for 100% cpu @topic maybe it's not even the memory itself that's leaking but the thread-resources... make sure every thread is properly killed (thread.Abort()) after it's done (on WinAPI it really is necessary to do this every time, not sure if the GC collects finished threads so just make sure it's cleaned up) since you have a client-server-model I guess you're using threads and "sessions" for each user. make sure every session has an inactivity-timeout and it's properly cleaned up (all the threads, all the resources) so long.

    C# sysadmin tools performance help question

  • Threading in ASP.NET
    T TheSnakeByte

    post the code you use to start the thread something like: (new System.Threading.Thread(new System.Threading.ThreadStart(TaskMethod)).Start(); in theory this should work although I'm not sure whether there's any timeout for threads on ASP.NET maybe you could open a popup-page for the sending... so the client would know when he's done but still can use his main-browser-window...

    ASP.NET csharp asp-net sysadmin question

  • Creating OO, easy-to-use, valid-xhtml WebControls.
    T TheSnakeByte

    Hi. I've been looking for the "perfect" web-platform allover (mod_perl, mod_php, CGI) and found ASP.NET (/mod_mono) so I tried some things but, in the end, I was disappointed... why? .NET languages (C# in particular) are ObjectOrientated. BUT ASP.NET is NOT. It's even more plain then my room's floor... Yes, OK. I have to admit there are classes and controls but they are not even very dynamic (I can't pass dynamic attributes without putting a LOT of effort into it). plus, I can neither create valid HTML nor XHTML because the ASP.NET-"renderer" just doesn't 'know' the standard. So, I thought I'd build my own library using a XML-writer (I really long for .NET 2.0). I did that by overriding both, the Page- and Control-class using my 'XhtmlWriter' paired with some TextWriter to write (valid) CSS. My problem is (or at least one of many): - How do I get anything else but the System.Web.UI.Page as a Page (so the Server can use it and accepts it as a Page)? I don't want to derive from that whole Page-class because most of it is overridden anyways. another problem would be: - What's the best way to create a XmlWriter and a TextWriter from a HtmlWriter (that is only if I don't get to kick that whole System.Web.UI.Control-stuff). thanks for anything useful, so long.

    ASP.NET csharp question html css asp-net

  • working with .NET 2.0 and .NET 1.1
    T TheSnakeByte

    well, I'm trying to write a .NET 2.0 application (since I need serial-ports and I hate using non-.NET-components) but I have a problem... every time I run my programm (serial-ports don't do anything yet so that shouldn't be the problem) I get a NullReferenceException... when I try to run it with the debugger, first it's about 500times slower and second the exception isn't thrown at all but the debugger locks up somewhat later... I'm using threads so maybe that could be the cause but the main problem I got is: when the exception is thrown (without debugger) it gives me the option to launch the jit-debugger... but when I click to launch it it launches visual studio 2003; and that just can't debug .NET 2.0 so: how do I get the jit-debugger to use vs2005? any idea? thanks, so long.

    .NET (Core and Framework) csharp debugging question visual-studio help
  • Login

  • Don't have an account? Register

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