Jump to content
Xtreme .Net Talk

mutant

*Experts*
  • Posts

    1922
  • Joined

  • Last visited

Everything posted by mutant

  1. We are in the process of implementing them.
  2. I wrote an example and uploaded it to my website yesterday. Its a little different then using the backbuffer (like createdbyx said) but similar: http://www.directx4.net/modules.php?name=Content&pa=showpage&pid=26
  3. Char.IsLetter(character)
  4. mutant

    Conversion

    Class library is a DLL.
  5. The code I showed you will do it the way you want...
  6. Do this: labelname.Text = (Convert.ToInt32(labelname.Text) + numbertoadd).ToString() First you have to convert the text to an integer (or any number data type you want to use) to add it with another number. Since that results in a number, you have to then convert the result to a string.
  7. Look in winuser.h.
  8. Completely forgot about this thread, sorry :) Can you show some you are using to draw the text? Like how big you are making the rectangle, font etc. As far as I can tell drawing 2D text works fine for me.
  9. You still will be able to access the site using the old address.
  10. Use the closing event of the form. The arguments passed into the event will enable you to stop the form from closing. e.Cancel = True This will cancel the closing of the form.
  11. Im not aware of any method that would allow you to go smaller than a pixel........ When changing sinlge pixels the image probably doesn't look good because of antialiasing. A lot of image editing programs automatically add pixels of different color around an "object" in the image so it looks smooth.
  12. mutant

    Uint32

    Keep in mind that UInt32 is no CLS compliant, so the use is discouraged. Read about that topic more here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconwhatiscommonlanguagespecification.asp
  13. If you are using .NET 1.0 here is an API alternative: http://www.elitevb.com/content/01,0077,01/
  14. Databse access isn't very hard once you understand it. Look here for some tutorials: http://samples.gotdotnet.com/quickstart/howto/default.aspx?url=/quickstart/howto/doc/adoplus/adoplusoverview.aspx
  15. You can prevent drawing to the form by checking the Created property of the Form object. If its false then the form is closed and you can exit the loop.
  16. If you don't want a form shown until the user clicks an option from the notify icon you can do this: NotifyIcon ico = new NotifyIcon(); //create the icon ico.ContextMenu = new ContextMenu(); //add some context menu to it ico.Icon = new Icon(Application.StartupPath + @"\App.ico"); //set the icon ico.Visible = true; //and finally make it visible Application.Run(); //start a message loop for your application without a form //so the app doesnt exit when the Main is done. //Then of course you add some handlers and such to make your form appear Then you will have to manually terminate the application using Application.Exit since no form is associated with the message loop.
  17. You don't seem to give your application enough time to process messages. Its stuck in the loop only doing what you specified in the loop. To allow your application to process messages use this: System::Windows::Forms::Application::DoEvents(); Now your application will be able to process the messages including resize, move etc. Stick that line of code at the bottom of your loop or anywhere in your loop.
  18. What went wrong? What text are you drawing? 2D or 3D?
  19. First you would need to create an Access database in Access then you can connect to the DB using classes inside System.Data.OleDb namespace.
  20. Yes as far as I know.
  21. How does the loop that calls the drawing routine look?
  22. mutant

    Font

    The font has to be installed into the font respository of Windows.
  23. Im sure Excel format is much more complicated than that so I think that won't work.
  24. You mean accessing the database and inserting, updating, etc. records?
  25. mutant

    java in vj#

    It can't find some classes because the Java specification used in J# is old so it doesn't contain all the newer things.
×
×
  • Create New...