Jump to content
Xtreme .Net Talk

mutant

*Experts*
  • Posts

    1922
  • Joined

  • Last visited

Everything posted by mutant

  1. If im not mistaken .net framework first came out as a final release in february 2002. Im not sure.
  2. Have you tried this? Application.DoEvents(); Put this in your loop. It will cause windows to process other messages.
  3. I dont know if they have what you need there but this site contains a lot of interesting samples: http://www.c-sharpcorner.com/Directx.asp
  4. Go to PasswordChar property and set a symbol that will cover all other letters. For ex. type "*" in there and it will look like standard password box.
  5. Go to solution explorer, right click your project, go to properties then change the assembly name textbox. :)
  6. Use this: System.Diagnostics.Process.Start("filename") This will open your mp3 in default player.
  7. To get the best performance you should to 3 things.. enable double buffering like aewarnick said and allpainting in wm: SetStyle(ControlStyles.DoubleBuffer, True) SetStyle(ControlStyles.AllPaintingInWmPaint, True) Then you override the OnPaintBackground and do nothing in it.
  8. Yes, its probably the garbage collector. You cant stop it, its a core part of the framework, hence the name managed for .net apps :) because it manages the memory the program uses. But as the computer needs the resources taken by gc gc should be releasing the memory and resources.
  9. Lets say your calulator display is a textbox, and that the buttons will contain only the number you want to use when they are clicked. Private Sub Digit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bttn1.Click, bttn2.Click, bttn3.Click, bttn4.Click, bttn5.Click, bttn6.Click, bttn7.Click, bttn8.Click, bttn9.Click, bttnZero.Click if sender is bttn1 then textbox1.appendText(bttn1.text) elseif sender is bttn2 then textbox1.appendText(bttn2.text) elseif 'repeat this for every button end if
  10. Do you have some specific problems with it? I doesnt look like you tried :)
  11. What line do you get the error on?
  12. Are they coming out with Access specific ones? That would be interesting :)
  13. How could it be less troublesome then few clicks in the solution explorer? :)
  14. If you embeded from code this means that the exectuable would have to recompile itself to include the resources :) I dont think that is possible.
  15. Not everyone knowing something about frameworks knows syntax of all languages, its not hard but some people just stick to one language. You can easily convert the code to c#.
  16. Try this book: http://www.apress.com/book/bookDisplay.html?bID=111 I heard some opions that it is a great introduction to DX9.
  17. Is that a managed C++ dll? If yes then in your C# project go solution explorer, expand your project, and go to references and browse for your dll and add it.
  18. If you plan to run the aspx files locally the server must be instaled on every computer that will try to run them. I would say you should just upload the files to a web server and use them from there.
  19. Use MSAccess database, its good for small project. Otherwise if you have VS.NET, it comes with MSDE which is essentially SQL server but it has some limitations, for example concurrent connections and things like that. Great for testing.
  20. Yes :) Use what iebidan said :) I didnt think about that :rolleyes:
  21. You need to pass the instance of you main form in constructors. For example, when you call form1 edit its contructor to accept an instance of your main form. Then use the variable that holds the value when setting the parent of the next form.
  22. You gotta wake up into the new year of 2003 :) Of course you should get it :)
  23. That code works fine for me. Are you sure your file has strings that you are looking for?
  24. Are you getting any particular errors or just nothing happens?
  25. Where do you have that DLL you are trying to reference? Try putting it in the bin folder of your project.
×
×
  • Create New...