Jump to content

dman

Member
  • Posts

    708
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by dman

  1. Cool. I would be proud to be associated with your project. I see what you mean about the added crlf's. Tricky since like you said sometimes you don't want to remove whitespace. Maybe instead of trimming the lines in the array you could use left() function to return all but last two chars (the cr & lf)?
  2. Cyber, Your "reversestring" function is clever, but I think not necessary. Try the InStrRev function, it was made to search backwards. try this..... Public Sub FindNext(ByVal Value, ByVal Direction, ByVal CaseSensative) If Value IsNot Nothing Then ' Only run if Search String is not Null ' Set The CaseSensative to the appropriate Search Method If CaseSensative = False Then CaseSensative = CompareMethod.Text Else CaseSensative = CompareMethod.Binary End If ' Set Search Start Location Based on Selection Length Dim varPosition As Integer = frmNotepad.txtNotepad.SelectionStart + frmNotepad.txtNotepad.SelectionLength ' Search for the Text In the specified Direction from the text cursor Dim lengthPosition As Long ' Declare Search Result Variable If Direction = "Down" Then lengthPosition = InStr(varPosition + 1, frmNotepad.txtNotepad.Text, Value, CaseSensative) 'Find Value After Caret varPosition Else If frmNotepad.txtNotepad.SelectionStart > 0 Then lengthPosition = InStrRev(frmNotepad.txtNotepad.Text, Value, frmNotepad.txtNotepad.SelectionStart, CaseSensative) 'Find Value After Caret varPosition End If End If ' Select Searched Text If lengthPosition > 0 Then frmNotepad.txtNotepad.SelectionStart = lengthPosition - 1 ' Move Caret to Start of Text frmNotepad.txtNotepad.SelectionLength = Len(Value) ' Set Length of Selection to the Search String Else MsgBox("Cannot find " + Chr(34) + varFind + Chr(34), MsgBoxStyle.Information) ' Display Message if no more Instances of Search String in Specified Direction or None at all End If CaretRefresh(frmNotepad.txtNotepad) ' Scroll txtNotepad to Caret Position SetCharacterPosition() ' Update Line / Character in Status Bar End If End Sub
  3. If this is easy please tell how you believe it can be done. You can reshack the dll and change the icon pictures, but then they will perform wrong function when clicked. The dll is compiled and no source available, so can't recode it. Unless I am missing something it's not that easy.
  4. no, no central computer. like ring said, connect broadband modem to switch uplink, pc's to other switch ports. as long as switch is powered any or all computers can be on or off.
  5. If I understand the question correctly, answer is yes... you can share internet connection with switch. Like you say, only one can transmit at a time on hub, switch is full duplex, more like smart bridge than hub.
  6. Your editor looks just as you described you would make it... clean, simple and functional. I like it. Problem #1. Cursor position starts at 0 but instr() function would consider that place in string to be 1. Just add 1 to varPosition in this function and should work OK If Direction = "Down" Then lengthPosition = InStr(varPosition + 1, frmNotepad.txtNotepad.Text, Value, CaseSensative) 'Find Value After Caret varPosition Else ..... I try to take a look at looparound problem tomorrow. Cya
  7. I love freeware and IZArc does everything I need. Handles RAR, 7z, ACE plus every other format you can think of. Makes nice self-extractors too.
  8. Hi patriotman, Thank You. Don't know what else to say except thank you again and welcome to the forum!
  9. Hi Cyber, Sent you a PM a week or so ago asking how this was going. Hopefully you just overlooked it and didn't blow me off. If you would like me to try to debug, zip your code and mail to dettest@comcast.net. Can't really tell what is going on from the snippet you posted because referenced functions are not included. dman
  10. Not sure if 2k3 is same as in XP, but in XP you would go to my computer/ properties / advanced/ performance / visual effects and check "Use drop shadows for icons on desktop" hope that helps, I dont have 2k3.
  11. Has no effect on speed, just a different way of passing connection info that makes deployment easier.
  12. sorry, not going to happen. 4GB limit on single file, no way around it.
  13. Is there nothing the Japanese can't animate? I like "The Major vs. OS Girls"... Thats what I call working your OS!
  14. uuuuhm, the other way around <{POST_SNAPBACK}> aaah, yeah. Little bout of dyslexia.
  15. The best way to silence critics is to impress them, not mad rad faces. Short of that ignore them. You should consider editing your post before you find you are on same dead end street again.
  16. today $1.00 = 1.23 euro http://www.x-rates.com/
  17. Basically they are the same, except win9x does not support .cmd It is mainly a naming convention then. Scripts that use NT-Only functions should be named .cmd, while scripts that can also run on win 9x should be named .bat.
  18. That's pretty cool (even though this is English forum). Bet it's not too long before browsers are sporting universal translators.
  19. try opening for input with lock. Open "c:\test.txt" for input lock Read as #1 and trap the error 70 that occurs if file is already open. if it opens without error, close it and do your transfer.
  20. Rather than creating a dsn, try using a dsnless connection. You pass all connection info as as string in your code. To create your connections, create a text file and name myconn.udl. Then in properties set all of the correct parameters and save it, then open in text editor to get the connection string that you will use in your code. google "ado dsnless connection" for more info. you could also set the connection to use the .udl file itself and include it in your install.
  21. I like the vinyl! Thx SiMoN. I put Dux on for my nephews computer (9 and 12) They love 'em.
  22. The evil makers of aurora somehow evade the "adware" tag. maybe it is because they offer a uninstaller, even though they make it impossible to find. http://www.mypctuneup.com/ Aurora is "Nail.exe" BTW, if you want to remove it manually. After this run Hijackthis to find it's other crumbs. also, this post really belongs Here, just for future reference.
  23. I love every tune by The Offspring... like audio meth to me. My fave of all time is Jimi Hendrix - Voodoo Child. This with some good phones will blow your little mind, as Jimi would say.
  24. I didn't see "netsh int ip reset" command mentioned. Anyone try that? or winsockxpfix?
  25. I never tried regeditPE on win2k but it's worth a try. You will need BartPE and RegeditPE. Or BartPE and UBCD4Win, which includes regeditPE and lots more. Unfortunately, making these disks is at least as much work as installing windows, probably more. And you need a working computer to make them. Be worth it in the long run though.
×
×
  • Create New...