Jump to content
Xtreme .Net Talk

mutant

*Experts*
  • Posts

    1922
  • Joined

  • Last visited

Everything posted by mutant

  1. If you want to learn 3D then don't get that book, it mainly concentrates on 2D graphics. :)
  2. Texturing a 3d object would not be possible with the drawing methods that GDI+ gives you. You don't have much choice other than using Direct3D.
  3. Here would a simple code that would do it using .NET only (using compatibility functions is not very good): 'create a new string builder Dim sb As New System.Text.StringBuilder("some text") 'replace the first letter with its uppercase counterpart sb = sb.Replace(sb.Chars(0), Char.ToUpper(sb.Chars(0)), 0, 1) MessageBox.Show(sb.ToString)
  4. VS.NET "Whidbey" will be out next year I think.
  5. Remeber that if you close the the form on which the application loop depends then the whole application closes. So if you start with FormA it might be a better idea to hide it.
  6. Microsoft said that the new release of VS.NET will have a much better HTML designer. Also, they mentioned it will no longer mess with your code :).
  7. Did you try going to options, Text Editor, HTML/XML, HTML specific? There is some options about formatting there. There is also an option to keep it from automatically filling in the ending tag, I assumed that is what you need from your example, if that is not what you want sorry :).
  8. This thread might help you with templates. http://www.xtremedotnettalk.com/showthread.php?s=&threadid=78721
  9. If that is the case you could do this: If checkbox1.Checked Then textbox1.Text = "C" Else textbox1.Text = "Text that is supposed to be here when not checked" End If This will check if the checkbox is checked, and if yes wil change the text to C and if not then change the text to something else.
  10. A checkbox cannot equal 1. Are you saying that if checkbox.Checked = True then textbox's text should be C?
  11. Im not sure Im getting your problem... Are you trying to put some text into the textbox when checkbox is checked and other text if checkbox is not checked?
  12. Are you using PictureBoxes to display the images?
  13. How are you trying to draw the text onto the image now?
  14. If you don't need anything special then the sound recorder app that comes with Windows will do it :). If you need the ability to do something to sound files then you will need something more. Its not hard to use that music in the game. You can use DirectX, or API functions like PlaySound.
  15. See if this thread helps you: http://www.xtremedotnettalk.com/showthread.php?s=&threadid=78756 :)
  16. Yes, the .NET collections start at 0. The Collection class from the VB6 compatibility namespace starts at 1 though.
  17. It disappears because you are only drawing it once. When the Paint event for the window occurs, for example min/max the window in your case, everything on the window is redrawn. Since you don't draw it again in the Paint event it will not be drawn again onto the form. Please start a new thread next time instead of digging up old ones. :)
  18. You dont need to have as many event handlers, in your designer generated code find where the event handlers get assigned and make it point to the same method for all textboxes this.TextBox2.TextChanged += new System.EventHandler(this.TextBox1_TextChanged); Or if you want, go to the properties, click on the lightning bolt icon and then from the list select text changed event and then from dropdown list select the method you want to handle the event.
  19. I made a typo in my first post, what I meant to say is that you cant reference an EXE from an EXE (my post is corrected now). So are your projects all EXEs or do you have DLLs?
  20. If all your projects are exes then you cant reference them. If one is exe and other DLL then you could reference the DLL from the exe one. [edit]Misspelled one word which changed the whole meaning of my post :)[/edit]
  21. Yes you can have more than one. What are you doing in your first timer? Did you start both of them?
  22. Are you sure its transparent? GIF images that have transparency, automatically draw with transparency for me, both in PictureBox and usig the Graphics object.
  23. I dont dont if I would call that an algorithm but anyway :), have you made any attempt to code or research that topic?
  24. The language itself contains no differences between those versions. What is different, are the tools you get to work with programming. Like for example server explorer, in Enterprise edition you can connect to any MSSQL Server database, in Pro only to MSDE. Things like that. Look to the microsoft VisualStudio homepage for more info: http://www.microsoft.com/vstudio/
  25. I don't use Office automation so can't help you there, sorry.
×
×
  • Create New...