Jump to content
Xtreme .Net Talk

IngisKahn

Avatar/Signature
  • Posts

    436
  • Joined

  • Last visited

Everything posted by IngisKahn

  1. Well when you stretch out a texture it gets thin so you'll just have to make it thicker. Ok, I'm joking. Are you doing anything to the normals?
  2. Also the line continuation character in VB "_" requires a space before it.
  3. Pssst: You should save user/run-time settings in Application Data/Isolated Storage, not in app.config :)
  4. System.DataTime.Now
  5. System.Math has the functions you're looking for: Ceiling and Floor
  6. Which begs the question: What execption is being thrown?
  7. The first suspect would be your mesh's texture coords.
  8. Just do a quick browse of String class and you'll find what you need. ToLower, Split, and SubString will do the trick.
  9. Create a contructor for form2 that sets your data
  10. Mr. eater is sorta right :), you want to override AND overload Equals(), you don't want to expose a new property.
  11. Think about it... you probably hit end try before callit even runs. :) Error handling doesn't work across threads.
  12. It's better OOP practice if object2 doesn't need to know about object1.
  13. I would try to stay away from the Win32 API as much as possible. Have you tried using GDI+ yet?
  14. That is the standard way to do it. It would seem your boss doesn't quite understand UI proramming. Your other options are to pass a ref to Form1 or pass a delegate when you create Form2, but that is overkill.
  15. A cab file is just a file that contains other files just like a zip file.
  16. What you should take away from that article is that if your function has some meat to it then there's no real hit in performance. It's only when using small funcions that can be inlined will you see a real difference.
  17. As opposed to what? 99.99% of all assemblies are single file assemblies; whether it's as exe or dll depends on whether you're writing an application or a object library.
  18. Single File Assembly = normal application or library, in fact, VS creates only Single File Assemblies. Multi File Assemblies are used for combining multilple .NET languages in one assembly or for delayed downloading of an assembly. For the .NET equivalent of ActiveX server apps, look up "remoting".
  19. In short: yes.
  20. [Optional] :)
  21. In short it means that the assembly contains an ercyption key that can be used to verify the source of the assembly.
  22. How would opengl have anything to do with cheating? Anyway, DLLs don't "run", they are loaded into the memory of the calling app.
  23. Your second example would work just fine in C#, but in the crazy world of VB you have to use ReDim arrGrid(TotalSqrt, TotalSqrt) BTW Using individual controls for the sqaures in your game is usually not a good idea. Controls are expensive to use and you'd be better served to do all the drawing on a single board control.
  24. Basically you just make 2 functions for converting your class to/from a string so you could use your class just like it was a string.
  25. Too bad you're not using C#. If you were then you could put this in a class and define implicit type conversion operators.
×
×
  • Create New...