Skip to content

C#

C# discussions

This category can be followed from the open social web via the handle c-065f1d12@forum.codeproject.com

93.7k Topics 383.1k Posts
  • Checkbox in Datagrid

    tutorial csharp com help question
    3
    0 Votes
    3 Posts
    0 Views
    A
    Hello Clay, Thanks a lot. That's a pretty good link. I will try it and I let you know when I get it to work. Thanks again. Anderson Anderson F. afraga22@hotmail.com
  • Hosting .NET controls in IE ***LOCALLY***

    csharp html com sysadmin hosting
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    2 Posts
    0 Views
    E
    Mario, I bought the standard version as well and ran into the same issues you have. There are quiet a few templates that are missing. However, after doing some searches, MS has claimed that they inadvertently left of some of the templates in the standard edition and will be providing an update (Not sure which templates they are referring to). With that said some people have found ways to add various templates back in. Here is a link for the class library template. It works great. http://groups.google.com/groups?hl=en&lr=lang\_en&ie=ISO-8859-1&oe=ISO-8859-1&th=1610d3f841479209&rnum=1 In response to your questions, you can create libraries and controls, it's just a manual process. The templates make things much easier
  • Why so many class in framework sealed?

    help question graphics
    6
    0 Votes
    6 Posts
    0 Views
    N
    Andy Smith wrote: and I quote from "Applied Microsoft .NET Framework Programming": " the CLR knows the exact layout Here is Mircosoft "knowing" everything again... Nick Parker
  • Bitmap Button

    graphics help question
    2
    0 Votes
    2 Posts
    0 Views
    J
    Try opening the JPEG in an image viewer, I bet your background color got mangled during the compression of the file resulting in a slightly different color in spots (but nothing the human eye would notice). If possible you should stick to lossless image formats such as: BMP, GIF, PNG HTH, James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
  • switch enhancement in C#

    question csharp c++ java delphi
    2
    0 Votes
    2 Posts
    0 Views
    A
    I agree with you that C# switch statement is unneccesarily poor. It is such things that make me almost want to move to VB.Net. VB and C# are on the same level, performance-wise, and VB has some _great_ syntax niceties such as a GOOD switch statement ( Select/Case ) and the With statement. Although, in the long run I doubt i'll ever switch to vb.net... if only for the reason that I fully expect that a programmer who has "c#" on his resume can demand a higher pay than one with "VB.net" on it; regardless if that is an intelligent decision.
  • Reflection & Assemblies

    help question
    2
    0 Votes
    2 Posts
    0 Views
    J
    Yes its quite possible, I've written an article that does just that Using reflection to extend .NET programs. James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
  • Am I Missing Something Here?

    question csharp visual-studio com
    9
    0 Votes
    9 Posts
    0 Views
    N
    That’s ok; I am coming from Visual C++ IDE, not the VB IDE, same problems, different perspective. :cool:
  • We have ASP/ASP.NET Beat

    csharp asp-net com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    4 Posts
    0 Views
    J
    If only one item can be selected why are you using the CheckListBox in the first place? Its very nature implies that you can select multiple items. If you only want to allow one item to be selected you should use a normal ListBox or create your own control that does what the CheckListBox does but uses Radio buttons instead of check boxes. James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
  • From Java to C#

    csharp java question
    5
    0 Votes
    5 Posts
    0 Views
    L
    Try the JUMP tool from microsofts MSDN site. It's a free to for Java User Migration Path (JUMP) and it is suppose to convert your code pretty well.
  • between a property and an indexer

    question csharp data-structures tutorial learning
    2
    0 Votes
    2 Posts
    0 Views
    N
    You can define a property that returns a reference to an array. Also, there is nothing stopping you from returning a reference to class that defines an indexer with multiple parameters. Either way, it should work as you stated above... Regards
  • HTTP GET request example?

    tutorial html com help question
    2
    0 Votes
    2 Posts
    0 Views
    RaviBeeR
    Ooops - I meant to post this in the C++ forum. Sorry! /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com
  • Assembler in C# code ?

    csharp question
    2
    0 Votes
    2 Posts
    0 Views
    J
    Nope, it isn't possible. You could write a component in MC++ which contains the code then call it from C#, I believe the QuickStart samples have an example of how to do this [Edit: "this" refers to using MC++ to wrap some C/C++ code, the code you will wrap with MC++ is the ASM code]. James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
  • Windows Messages

    question
    2
    0 Votes
    2 Posts
    0 Views
    J
    Unfortunately the Windows messages aren't defined anywhere in .NET; you'll have to pull the values out from the appropriate header file from the Platform SDK. HTH, James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
  • Wizard UI

    csharp design tutorial
    2
    0 Votes
    2 Posts
    0 Views
    Z
    So far I haven't seen one. But with the way that the IDE handles the TabControl, it isn't as hard as it used to be.
  • Subject: using "DockingStyle.Fill"

    help tutorial question
    2
    0 Votes
    2 Posts
    0 Views
    Z
    Sure, right click the ScrollBar and select 'Send to Back'.
  • 0 Votes
    2 Posts
    0 Views
    J
    The DOTNET Mailing List is the best resource I've found outside of CodeProject :) James Sonork: Hasaki "I left there in the morning with their God tucked underneath my arm their half-assed smiles and the book of rules. So I asked this God a question and by way of firm reply, He said - I'm not the kind you have to wind up on Sundays." "Wind Up" from Aqualung, Jethro Tull 1971
  • TCP/IP in C#

    csharp com question
    3
    0 Votes
    3 Posts
    0 Views
    N
    James T. Johnson wrote: There is probably some winsock/system hook buried somewhere deep in the win32 API So you think a system hook is the way to go?? :confused: This might be a great article idea, when I find more time/information I will post something, I tried the VC++ forum but only got one response that was unfortunately no help. I'll keep searching :) Nick Parker
  • Memory

    question performance
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied