Jump to content
Xtreme .Net Talk

Hughng

Avatar/Signature
  • Posts

    44
  • Joined

  • Last visited

Personal Information

  • Occupation
    Student
  • Visual Studio .NET Version
    7.0

Hughng's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Don't use the class. It is buggy and will crash your application if selected path length > 135 characters (very unpredicatable when it will crashed).
  2. Take a look at the 4th line: Dim sLen As String = Environment.GetCommandLineArgs(i).Length - 2 Don't you suppose to declare sLen as integer instead of String?
  3. Folderbrowserdialog If you are using .NET 2003 then you can use one of the control that builtin with it. I am assuming you are using VB.NET. Folderbrowserdialog control but be very careful when using this module. It contains a bug that will crash your app if the directory path longer than 135 characters (not everytime though). So it is fairly unpredictable when it crashs. Otherwise, you can use some of the browseforfolder class that will do it much better job but require some code change.
  4. What I did is created a hiden file in some directory and upon load my project I check with that file. Make sure you calculate the Hash with some other prase to avoid password hacking.
  5. Cool. Thank you very much for everyone help. Your helps are greatly appreciated.
  6. This software is using internal to about 10 - 20 users. I want to build a database so they can query what version software other machines have, their license number and who register it. This information is required to setup a tracking system that recording the exact location of each machine. To make the long story short, I need this information to be able to service any machine using my software and be able to know I should to go (we have 2 buildings and I don't want to go to the wrong one). And I don't want them to have to do anything beside send the hash key at registration time. Currently they have to send me the MAC Address + User Name + Hash key which is already stored the MAC Address + User name + HD serial number.
  7. Not a big problem but I want to keep track with some information from user system. Ex: The hash is generate from MAC address and HD serial number + user name + private key. I just want them to send me the Hash value then and I retrieve all other information from the hash key instead require them to send out those information. Basically, I just want to build a database of who is using my software. Thank you.
  8. Yes, it is not fully tested in .NET 2003 version. It also contains some bugs. One of the bug I found is that if you path length really long then you get exception raise when getting the path length. It is unpredictable when it happened. Basically, I start getting error around 155 characters or above.
  9. How do I decrypt an encrypted MD5 string. My program allow password to be encrypted using MD5 encrypting. Currently the only way I can checkk for valid password is encrypt the password and compare it with the original password. They match then I allow access otherwise don't. My question is how do I decrypt the original password so I can compare with the input from user instead of the current method which encrypt user input and verify with encrypted original password. Thank you.
  10. Ha, that's it. I did not know that I have to do that. Thank you very much for your help.
  11. Hello, I am using VB.NET 2003. I am trying to get the drive serial number + mac address through System.management name space. For some reason, it is not available in my machine. VB.NET 2003 does not know system.management name space at all. Do I have to do anything special to enable this name space? Thank you for your help, HN
  12. Thank you for your reply. Yes, it is excessive amount of item. This is one of the test routine that loop throught the whole list box. I use the list box to store the path to the correct reporting file for that single instance. To make the long story short, it is best if I leave the whole thing there.
  13. Does anyone know what is the max number of items listbox can hold? I have a program add a bunch of items in the list box. It always crash after around 12,000 - 13,000 entries. If that is the upper limit of list box, what should I use to get more number of items? Thank you very much, HN
  14. You can also set the text box properties to upper case then all characters appear in the box will be upper. You don't have to manually convert them :-).
  15. Go to the Options under Tools menus. Environments -> Help. Make sure it set to the correct Help collection you want to. You can either use the internal with is MSDN 2003 or external which is whatever you want to. Hope that help.
×
×
  • Create New...