Jump to content
Xtreme .Net Talk

mutant

*Experts*
  • Posts

    1922
  • Joined

  • Last visited

Everything posted by mutant

  1. Use the FromAODate method of the Date type. Dim d As Date = Date.FromAODate(55909)
  2. If you don't feel that something belongs in any specific forum, just post in random thoughts.
  3. How about make it easier and do some socket programming :).
  4. If you don't want a merchant service, your chances of getting a merchant account from your bank are very slim unless you have a real business.
  5. You want to integrate that into your application? In ASP.NET or windows app?
  6. Well, voice communication aside :). DirectPlay is a networking API.
  7. It is starting to be as normal as it can be. Even ATI (graphics card maker) incpororated .NET Framework into their driver releases. And that, is a good thing.
  8. Write your own networking engine. DirectPlay didn't have that many useful features that would make writing something similar hard. It is actually easier than it sounds :).
  9. Please send a PM to a moderator/admin if you wish to know any specific reasons for post/thread deletion.
  10. Can you show excatly how you tried?
  11. May I ask why would you need to capture other application's key presses? Are you trying to setup a system wide hotkey or something?
  12. KeyPress event is the one you are looking for. And there is a much easier way to do that than RegEx I think :). Private Sub Text_KeyPress(args...) If Not Char.IsDigit(e.KeyChar) And Not Char.IsPunctuation(e.KeyChar) e.Handled = True 'tell the textbox not include the character MessageBox.Show("numbers and punctuation only please!") End If End Sub Now, punctuation includes other signs too rather than only "." and "," so its up to you if you want to check like that or compare it otherwise.
  13. mutant

    Star

    The star indicates whether the user is online (yellow) or offline(grey) at that time ;).
  14. You converting it to an integer, thats just the way it works, rounding the number would be the most logical thing to do during a conversion like that. Btw., you shouldn't use CInt but System.Convert.ToInt32() :), as CInt is an old function which shouldn't exist by now :). What you can do though is floor the number and convert it to an integer, or do the work yourself. Dim d as Double = 2.999999 Dim i as integer = Convert.ToInt32(Math.Floor(d))
  15. Basically, yes. The knowledge will prove useful later.
  16. You might want to look here. Also, you can't/wouldn't want to create ActiveX components in VS.NET. (altough you can make you .NET components COM visible)
  17. The framework provided with the SDK is a very nice piece of code to get you started. What I would suggest though is studying the code for a while, see how things work, this would especially apply if you don't have any previous experience with DirectX.
  18. I don't mind the size at all. Right now I have 130 GBs of space on my computer. I only use about 5GBs of that (VS, EQ2, random stuff..., the rest is used up by family members). I'm not the kind of person that downloads stuff all day and keeps it :). I can only imagine playing some newer games on a harddrive like that... the loading times would be so small.
  19. Speaking of harddrives...getting this would make my day :).
  20. I know about those APIs. I mean an actual .NET class which is a part of the Framework, even if it is just a call to those APIs underneath (on the Win32 platform).
  21. Does anybody know if Microsoft plans by any chance to add an implementation of high precision timing to .NET library? I've tried searching but can't find anything about that topic. Thanks.
  22. The best way to do this would be to create your own arguments object and expose a boolean property (my example uses a public variable for the sake of simplicity). Here is the example: Public Class Class1 Public Event Hello(ByVal cancel As ARGS) Public Sub RaiseTheEvent() Dim res As New ARGS RaiseEvent Hello(res) 'The message will now show the value of cancel that is there, it will be different 'if you changed it in the event handler MessageBox.Show(res.cancel.ToString()) 'of course you can do anything you want with that value, i just used the MBox 'as an example End Sub End Class Public Class ARGS Public cancel As Boolean = False End Class
  23. Im not sure if Im understanding you correctly but you cannot simply access a directory on another computer, even if it would allow for that. You need some kind of a software server running. And no, that class does not support URLs.
  24. Happy Thanksgiving to everyone! Even if you don't celebrate it (for any reason) :).
  25. I don't think it came out already. I still cannot find any of those in any of my favorite online stores (Newegg :)). Also, I'm having a hard time believing that Nvidia would make a horrible chipset like you say, maybe it was one manufacturer that used it and screwed up :).
×
×
  • Create New...