Jump to content
Xtreme .Net Talk

Leeus

Avatar/Signature
  • Posts

    50
  • Joined

  • Last visited

Leeus's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi all, I just opened up MS Access and saw that I could read in a table containing public folder information! Is this possible in VB.NET, is there a guide/code samples anywhere?
  2. You can't just reference the color.blue directly, you can if you imported system.drawing Otherwise it would be system.drawing.color.blue.
  3. yes and they worked, they also work on the server if i manually place a file in the M:\ drive!! But when Exchange is doing its business it doesn't work!
  4. I have created a windows service that notifies via a net send when a file is created, tested on mymachine and it works fine. Put onto the server and changed the directory to point to my exchange servers M:\ drive and no notifications....however..... when I manually put a file on my M:\ drive I get notified!!!!!! Strange, I have made the service log on as the admin and the admin has full rights, I also tried Local system and no joy either!!!
  5. Leeus

    Repaint

    Doh, of course, thanks.
  6. Is there a way to repaint a whole form, at the moment I use control.update and it reappears but is there a way to do this to all controls on a form??
  7. No seriously, its not going to be used for hacking, I work for an isp and we have huge issues with our customers being open for relay, so this app just checks for that! I could have plumbed in our ip ranges but is seems to do the trick! Thanks guys!
  8. Thanks, not quite for hacking but preventing it! ;)
  9. what does it need to be then?
  10. I used that code and on the first line of the loop (For Each l In ListView1.Items ) I get the following error: An unhandled exception of type 'System.InvalidCastException' occurred in RelayCrawler.exe Additional information: Specified cast is not valid. I'm going crazy!
  11. Has anyone got a function to add a number to an ip address? I want it to cope with once it reaches 254 to increment the previous octet also?!?
  12. Me too!!!
  13. No notepad is not open, the only reason I mentioned it was to prove the file could be opened. The file is a log file constantly being written to.
  14. Just tried that and still same error!
  15. Notepad takes ages but opens the file the VB program gives this error! "The process cannot access the file "c:\mail\Log\PT030928.LOG" because it is being used by another process." I have adapted the code as follows but still doesn't work! Dim sr As New StreamReader(New FileStream(filelocation, FileMode.Open, FileAccess.Read))
×
×
  • Create New...