Search:
Type: Posts; User: wyrd
Search:
Search took 0.04 seconds.
-
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...
-
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...
-
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...
-
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...
-
www.dotnetforums.net
www.gotdotnet.com
-
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...
-
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...
-
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...
-
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...
-
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...
-
Using regular expressions is much easier..
using System.Text.RegularExpressions;
string splitThis = "stuff to split";
MatchCollection words = Regex.Matches(splitThis, @"\w+");
...
-
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. :)
-
How can I access functions inside a .dll that I made in C/C++?
-
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.
-
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...
-
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.
-
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
-
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.
-
Before people go around bashing MS they should learn to do some research and get their facts straight.
-
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...
-
I'm learning VB.NET just like everyone else, so I'm more then happy to take any coding suggestions if anyone has some.
-
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...
-
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...
-
He was just telling you how to make images transparent.
-
No kiddin? I didn't know that, LOL.
-
Hmm. Yeah. It's late, I just don't know what I type sometimes.. :o
-
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...
-
It is kind of odd that Collections don't have the Clear() method. Oh well, just do..
collection1 = New Collection()
:)
-
Ewww.. the evil FileOpen() returns! :eek:
Use Streams. Read tutorial here;
http://www.elitevb.com/content/01,0072,01/01.aspx
-
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...
-
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...
-
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...
-
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.
-
Set the BackColor property to Transparent. ;)
-
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;...
-
Use lstProduct.SelectedIndex to get the values.
-
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...
-
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...
-
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ListBox2.Items.RemoveAt(ListBox1.SelectedIndex)
...
-
If you want to remove something at a specific index then just use the RemoveAt() property.
|
Click Here to Expand Forum to Full Width
|