Search:

Type: Posts; User: wyrd

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    14
    Views
    21,802

    Re: [C#] Sharp Invader

    Wow.. 3 years and people are still interested in this. Surely there are far better examples by now, but you can download the game here:

    http://www.dotnetforums.net/showthread.php?t=75455

    or...
  2. Replies
    14
    Views
    21,802

    [C#] Sharp Invader

    This is an arcade style space shooter which I made in C# using part Windows GDI and part GDI+. It's only the second game I've ever made and would appreciate some comments, suggestions, and criticism...
  3. I can't seem to draw the TextureBrush correctly...

    I can't seem to draw the TextureBrush correctly (using Graphics.FillRectangle()). When using it, it "wraps" the image as it moves.

    Can you post a snippet of your code so we can see how you're...
  4. Replies
    8
    Views
    4,590

    I looked through all the keywords for C# and...

    I looked through all the keywords for C# and didn't find anything that even remotely resembled that (I could of missed it though), except for base which is the equivalent of MyBase (which you already...
  5. Replies
    23
    Views
    2,243

    www.dotnetforums.net www.gotdotnet.com

    www.dotnetforums.net
    www.gotdotnet.com
  6. Replies
    8
    Views
    4,590

    Define what you mean by "myclass." Are you...

    Define what you mean by "myclass." Are you referring to the class itself? As the above user said, that would be this. ie; this.Close() (which would be Me.Close() in VB.NET). If you know what you mean...
  7. Replies
    40
    Views
    1,749

    C# is quite easy to explain.. it's an OOP...

    C# is quite easy to explain.. it's an OOP language that uses the .NET framework. It bears similarities to both C++ and Java in terms of syntax. As an extra twist though (and good thing), it provides...
  8. Replies
    12
    Views
    1,616

    You don't need to put the characters in an array,...

    You don't need to put the characters in an array, because a string is an array of characters already. Simply open your object browser and search for object String, it will list all of the methods and...
  9. Replies
    9
    Views
    10,743

    There are two types in .NET, value types and...

    There are two types in .NET, value types and reference types.

    Value types are the basic types, such as int, long, double, etc. This includes structures and enums. As you would guess, value types...
  10. Replies
    15
    Views
    895

    I couldn't agree more. Even though I've actually...

    I couldn't agree more. Even though I've actually switched to C# and don't program in VB anymore, this is still an excellent book and reference as it covers the .NET framework quite well. To prove my...
  11. Replies
    9
    Views
    1,123

    Using regular expressions is much easier.. ...

    Using regular expressions is much easier..



    using System.Text.RegularExpressions;

    string splitThis = "stuff to split";
    MatchCollection words = Regex.Matches(splitThis, @"\w+");
    ...
  12. Replies
    3
    Views
    698

    Use the splitter control. Do a search for it in...

    Use the splitter control. Do a search for it in the MSDN help and they actually tell you how to make an Outlook style GUI using it. :)
  13. Replies
    2
    Views
    527

    Accessing user created .dlls made in C/C++

    How can I access functions inside a .dll that I made in C/C++?
  14. Replies
    15
    Views
    1,648

    Edneeis' code works fine. If something is not...

    Edneeis' code works fine. If something is not working correctly for you then please paste the code you are using and tell us EXACTLY what the problem is.
  15. Replies
    2
    Views
    847

    Regular Expressions Tutorial/Code Samples..

    I could really use some opinions and suggestions on this tutorial/code sample I'm working on for the Text.RegularExpressions namespace. I've never written any sort of tutorial before so it's...
  16. Replies
    12
    Views
    1,431

    Yeah I asked this same question on gotdotnet.com...

    Yeah I asked this same question on gotdotnet.com a couple of weeks ago. :) Seems to be one of those odd ball questions that no one really knows the answer to except a couple people.
  17. Replies
    12
    Views
    1,431

    You need to use this for VB.NET;...

    You need to use this for VB.NET;
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvssamp/html/vbcs_xmlcomments.asp?frame=true
  18. Replies
    18
    Views
    3,860

    You asked these same questions about 2 weeks...

    You asked these same questions about 2 weeks ago..
    http://www.dotnetforums.net/showthread.php?s=&threadid=49366&highlight=regular

    Scroll down to the bottom for my reply.
  19. Replies
    16
    Views
    923

    Before people go around bashing MS they should...

    Before people go around bashing MS they should learn to do some research and get their facts straight.
  20. Replies
    5
    Views
    647

    The top one declared a new variable then creates...

    The top one declared a new variable then creates an Object in memory, then points the variable to that Object.

    The bottom one simply creates an Object in memory then points a previously created...
  21. Replies
    4
    Views
    1,132

    I'm learning VB.NET just like everyone else, so...

    I'm learning VB.NET just like everyone else, so I'm more then happy to take any coding suggestions if anyone has some.
  22. Replies
    7
    Views
    2,461

    I don't think there is. As I understand it, when...

    I don't think there is. As I understand it, when you first load up the form the JIT compiler has to actually compile it, which is why they don't pop up right away the first time you run them. Java...
  23. Replies
    4
    Views
    1,132

    If anyone cares.. I finished the Class Library by...

    If anyone cares.. I finished the Class Library by fixing some bugs and documenting everything. Also added Insurance to the BlackJack demo and fixed a few bugs. The link above was updated if you feel...
  24. Replies
    15
    Views
    1,904

    He was just telling you how to make images...

    He was just telling you how to make images transparent.
  25. Replies
    10
    Views
    1,892

    No kiddin? I didn't know that, LOL.

    No kiddin? I didn't know that, LOL.
  26. Replies
    10
    Views
    1,892

    Hmm. Yeah. It's late, I just don't know what I...

    Hmm. Yeah. It's late, I just don't know what I type sometimes.. :o
  27. Replies
    10
    Views
    1,892

    A TextBox can't contain other Objects. Panels are...

    A TextBox can't contain other Objects. Panels are the only Objects that can contain other Objects. Well, I suppose I could be wrong but at least that's how I understand it. :)

    The only way I can...
  28. Replies
    15
    Views
    2,045

    It is kind of odd that Collections don't have the...

    It is kind of odd that Collections don't have the Clear() method. Oh well, just do..

    collection1 = New Collection()

    :)
  29. Thread: Read from file

    by wyrd
    Replies
    2
    Views
    962

    Ewww.. the evil FileOpen() returns! :eek: Use...

    Ewww.. the evil FileOpen() returns! :eek:

    Use Streams. Read tutorial here;
    http://www.elitevb.com/content/01,0072,01/01.aspx
  30. Replies
    18
    Views
    3,860

    I replied to this on the other forum you posted...

    I replied to this on the other forum you posted to as well, but just incase here it is on this forum as well...

    Regular expressions are the easiest and best way if you want an accurate count of...
  31. Thread: autocomplete

    by wyrd
    Replies
    4
    Views
    1,121

    kerv21: Nice demo.. and I don't mean to be a...

    kerv21:

    Nice demo.. and I don't mean to be a stickler but it's not good to promote old legacy VB6 coding in a VB.NET forum. Microsoft even suggests staying away from the VisualBasic namespaces as...
  32. Thread: autocomplete

    by wyrd
    Replies
    4
    Views
    1,121

    You have to copy the ListBox items into an array...

    You have to copy the ListBox items into an array and then match it against regular expressions.

    Here's a simple matching mechanism I quickly wrote up. You can easily add more complexity by toying...
  33. Replies
    15
    Views
    1,904

    MrPolite: I just added a background image to...

    MrPolite:

    I just added a background image to my form, then added a label with BackColor set to Transparent. It worked fine.

    Note: The Transparent option is under the Web tab.
  34. Replies
    15
    Views
    1,904

    Set the BackColor property to Transparent. ;)

    Set the BackColor property to Transparent. ;)
  35. The reason it's so slow is definitely because of...

    The reason it's so slow is definitely because of the way you're doing file handling. You need to use Steams.

    Here's a tutorial that should help clear things up;...
  36. Replies
    4
    Views
    515

    Use lstProduct.SelectedIndex to get the values.

    Use lstProduct.SelectedIndex to get the values.
  37. Replies
    3
    Views
    629

    The IndexOf method does work, it returns the...

    The IndexOf method does work, it returns the index position of the String you searched for.

    Dim index as Integer = ListBox1.Items.IndexOf("item name")

    You can also use the Contains method which...
  38. Replies
    9
    Views
    1,010

    You said that you wanted to remove the specific...

    You said that you wanted to remove the specific selected index from multiple ListBox's based on what was selected in the 1st ListBox.

    In your code you're trying to remove items based on their own...
  39. Replies
    9
    Views
    1,010

    Private Sub Button1_Click(ByVal sender As...

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    ListBox2.Items.RemoveAt(ListBox1.SelectedIndex)
    ...
  40. Replies
    9
    Views
    1,010

    If you want to remove something at a specific...

    If you want to remove something at a specific index then just use the RemoveAt() property.
Results 1 to 40 of 52
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width