Jump to content
Xtreme .Net Talk

mutant

*Experts*
  • Posts

    1922
  • Joined

  • Last visited

Everything posted by mutant

  1. An MDI Parent form has an MDIChildren property, you could searh that.
  2. There is small installer for Managed DirectX9 (about 1.1 MB), it should come with the redistributable.
  3. ArrayList should work well, even better than using the Array functinon. What is that you are trying to do?
  4. If you want to completely close the form, not just hide it then simply use the Close() method of the form, it shoud work.
  5. So you could do this: Public Class SomeClass Public active As Boolean Public color as Color Public code as string End class Or with a structure: Public Structure SomeStruct Dim active As Boolean Dim color as Color Dim code as string End Structure Then you could declare your object as one of those and then put it into an array.
  6. If im understanding you right you could have a class or a structure with two values, one for the code and another code with the boolean value and then put each of them in an array.
  7. Im not sure if thats what you mean but you can check in what assembly anything is by looking at the description of each class in the documentation. On the bottom they have a line thats says: "Assembly: name of the dll".
  8. Are you talking about VS.NET IDE?
  9. You can go through child controls of a control like this: dim ctrl as Control Dim ctrl2 as Control For Each ctrl in Me.Control If typeOf ctrl Is GroupBox Then 'if its a groupbox For Each ctrl2 In ctrl.Controls 'go through all controls in a groupbox 'do something to each control Next End If Next
  10. MSDN has a lot of examples on this, just search for the System.Net.Sockets namespace and you will get an explanation for each object. If you dont like msdn then just search for System.Net.Sockets tutorial.
  11. You shouldnt use the Winsock control in .NET, look into the System.Net and System.Net.Sockets for that functionality and even more.
  12. I would suggest you make your splash screen responsive to a keyboard input or mouse and close it and combine that with a timer. The easiest way to that would be to simply start a message loop for the spalsh screen first and then when it exits , your main form.
  13. Try using the class name then.
  14. You would need to find the handle to the window, using FindWindow API, then you would send a message to a window using SendMessage.
  15. You the Save() method of the Image class: PicBox.Image.Save("path")
  16. Im not really sure about what you are saying about your FindWindow problem returning 0 everytime, can you show the code you are using? Integer should work good. FindWindow returns you the handle to the window, and a new handle is assigned everytime a window is created so that why you get different values.
  17. Int16, Int32 and Int64 can store different minimum and maximum numbers. Integer is equivalent to Int32, same with Short for Int16 and Long for Int64.
  18. To get the command line use: System.Environment.CommandLine
  19. Use one bitmap, you have less bitmap objects and its easier to mnipulate the drawing. :)
  20. GDI+ is a part of the Framework, its built right into it.
  21. You can make an array of pictureboxes in code, but not in the designer.
  22. Can you tell something more about what you are hardcoding? To load a picture into a picturebox you can do this: PictureBox1.Image = Image.FromFile("path to the file")
  23. You could set the interval of the timer to 10000 miliseconds (10 seconds). Then start the timer wherever you want to do it, then in the Tick event of the Timer check whether the textbox has anything entered into it. You can start the timer using its Start() method.
  24. There is no such an event as "While MouseDown", are you having some problems with MouseDown event and dont want to use it or what? :)
  25. A program that will boot with the computer can only be made in assembler. If you want to know how to make one just search google for "bootloader". Then when you have that, you can start making the rest in C++ (not C++.NET), but assembler is still recommended for core parts like the kernel. A hello word program like that is not hard as long as you have basic understanding of assembler. If you want to know hardware specifications then manufacturers should have some resources, like Intel for example has a lot of resources about working with the processor.
×
×
  • Create New...