Jump to content

SomethingToChatWith

Active Members
  • Posts

    448
  • Joined

  • Last visited

Everything posted by SomethingToChatWith

  1. Well I came up with a solution on my own... after all this trouble :) Here's the code if anyone's interested: Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim str As String = "" 'String of numbers in thier random order to show Dim RandomNumbers(0) As Decimal 'Array of random numbers used to sort the real numbers randomally so they are unique Dim Numbers(9) As Integer 'Array of actual numbers the application will use Numbers(0) = 1 Numbers(1) = 2 Numbers(2) = 3 Numbers(3) = 4 Numbers(4) = 5 Numbers(5) = 6 Numbers(6) = 7 Numbers(7) = 8 Numbers(8) = 9 Numbers(9) = 10 For I As Integer = 0 To Numbers.Count - 1 ReDim Preserve RandomNumbers(I) RandomNumbers(I) = Rnd() Next Array.Sort(RandomNumbers, Numbers) For I As Integer = 0 To Numbers.Count - 1 str &= Numbers(I) & " " Next MessageBox.Show(str) End Sub End Class Couple more routines to write and I'll be done with my first useful application :)
  2. As long as iTunes can use the files you can have it convert to w/e format you need later for the device you want to put it on.
  3. If you do a lotta downloading of files and such, give hashtab a try. Its a shell extension for Windows that adds a "File Hashes" tab to file properties for quick checking rather than having to go launch md5sum w/e and than having to navigate to the file you just downloaded. Now you can just click open folder at the end of your download go to properties and get the hashes almost imediately. Download it here
  4. Well, I was hopeful but it ended up producing the same result with one or more elements having the same value... I orginally had another loop set up to catch for things like this, but I was forced to go to the code I got above because it kept returning the same value the way I had it, causing it to loop continously with no logical nor runtime errors.
  5. Hmm.. using the random class to do it. I tried that a few days ago and kept getting the same number, but the .next(1, 6) might work. Don't have time now to fiddle with it but I'll give it a try. Any more suggestions to try out? BTW, this isn't a game. Its a quiz app that needs to randomally display questions and thier possible answers hence the range restrictions and importance that each be unique.
  6. I use a select case statement in my loop with every possible bit of info the app needs to get info from the file and use it and system.io.file.opentext to open the handler. For string manipulation use the lset() and mid() functions.
  7. lamo! :) Maybe he's starting to lose his memory? I'd eat a stick too if it improved it :)
  8. As far as backup for contacts/e-mail, just copy his .pst file to a safe place and than if there's problems you can launch outlook again on the re-install and set it back as the default again after you've copied back. If you put right in the folder outlook is expecting, it might not even prompt you with the usual setup routine like it normally would. Done this plenty of times.... it don't keep all the settings and you lose any e-mail sigs, but your folders, including inbox e-mails, contacts, tasks, calendar will remain intact.
  9. Don't mean to barge into a thread on another topic here, but how did you get your code to indent inside the code tags? The indent tags weren't working for me or if they are I cant use anymore than one indent per line.
  10. My first "help" thread here :) I am wrting a Visual Basic application that will need to use an array with anywhere from 2 to 10 elements that contain unique numbers within a range generated randomally. I'm using VS 2008 for this. The code I got for this in a test project I'm doing until I can figure out how its done: Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Array to be used Dim randomnumbers(9) As Integer 'String that well contain the values to display in the messagebox Dim messagestring As String = "" 'Cycles through each element in the array For I As Integer = 0 To randomnumbers.Count - 1 'Assigns the current I element a random number between the range of 1 and 10 randomnumbers(I) = CInt(Int((10 * Rnd()) + 1)) 'Only happens on the 2nd or any other go-around since there well never be a first answer that is the same when the others have not be given values. If I > 0 Then 'Compares the current element to the last one. If equal, decrease I so the same element is used in the next go around. If randomnumbers(I) = randomnumbers((I - 1)) Then I -= 1 Else 'Appends the current element to the string to be displayed at the end when it is unique from previous elements messagestring &= randomnumbers(I) & " " End If Else 'Assigns the first element to the string to be displayed at the end of the procedure. messagestring &= randomnumbers(I) & " " End If Next MessageBox.Show(messagestring) End Sub End Class The code above does generate numbers between the ranges of 1-10 for the ten elements of the array, but despite the if condition I put in to redo the element if it equals the last element, it ends up giving me two or more elements with the same number just about everytime I execute the code.
  11. Oh im sure Nintendo is due for another accessory for the Wii sometime... perhaps dvd player add-on?... :P
  12. You can setup Outlook where it only gets links instead of full e-mails and than only downloads when you want to read an e-mail. So this would sorta be relying on the server. You can also set it up where it keeps copies of messages on the server (whereas its default behavior is download and delete messages from the server). With you want true server interaction, stick with gmail or web outlook in your browser as with the case of companies running exchange servers. I personally haven't had that much issues with outlook, but this is coming from someone who keeps everything organized and cleans out the inbox every once in awhile.
  13. Uninstall anything related to firefox. Make your limited the account an admin until after the installation. Or if you wanna play things safe, get the portable copy and put it somewhere on your hard drive, creating a shortcut on the desktop so that it would appear as if it were installed.
  14. You'd be surprised... I hate 2wire products. Had the unfortuanate task of having to set one up for my friend. I'd throw on dd-wrt if you can. I'm a little confused by what you mean setting up shares/user accounts on the router. You do it on the ftp server itself.
  15. Remote access on the router might also need to be enabled short of firewall/port forwarding settings. If you're using mac filtering to limit those who can access the network that might be blocking outside users as well. Make sure you've got your router password-protected though.
  16. Time to clean your computer... Problem might be various things, such as PSU/CPU (as it was for my older machine), fans, etc like you said but cleaning out the fans and getting as much dust and stuff out of the case if a good first step and may help.
  17. It doesn't scan the contents of the file until you actually try to run it. The only other time where it would auto-remove based on content otherwise is if you got realtime scanning enabled on a half way decent security suite and are copying/moving the file to another disk/location.
  18. Create a batch to rename the files with an unkown extension or remove .exe altogether. Than when you want to use the program have another batch that'll restore the extensions. Had to do this with Cain on my usb because McAfee would auto-remove it.
  19. For me it seems as if a PS3's selling price is starting to not look so bad after all. Free online and you get a browser and a blue ray player too with a better hard drive than what comes with the 360.
  20. Yes I know about the edit feature... Users are just too lazy to click it from whats been seen.
  21. Well there's a few things you can do... - You can compact your data file to supposedly "save space" and "improve performance" - Redo the e-mail account and when it asks you what data file to put recieved mail in see if you can skip that. - Donwload only headers unless you actually want to read a message. - Use rules to organize the e-mail into folders of your choice on your conditions. - Link your tasks with your contacts instead of the calendar. You might be able to link the contacts with the calendar, not sure. - If you're using exchange and hate dealing with .pst files, than stick with web outlook access. You don't want to haft to track down e-mail Outlooks deleted from the server when you need it later from another location. - You can move your .pst files to where you'd want them, but yeah they require you got one even if you don't need it. MS is pushing their live suite in the future along with W7. If its a hit most people will start using that I suppose.
  22. Couldn't they set it up here to auto-merge posts? Its been done before on other forums so the mods don't haft to do it.
  23. Most CompTIA's exams never expire and are supposedly "indepedent" from any1 company's technology. Self study for the skills and take any exam offered through them that may be good for your job (ie A+ for a general technician/support person). Then go back only if your employer requires it and take the proprietary exams.
  24. Spray paint for what... ? And a rope... interesting. Yeah. Little paper clip made it into my toolkit when a friend of mine had a super annoying modem I couln't reset (didn't know the password) so on return visit I brought one of my own and kept it in there since. Bent it up so it even has a nice little handle :)
×
×
  • Create New...