Jump to content

cbox


Dark Slipstream

Members+
  • Posts

    2746
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Dark Slipstream

  1. lol, here's one of WearingJOK3R, lmao.
  2. lol. I had a pic of 8 or 9 staff on at the same time, i'll look around for it.
  3. Thanks very much. I'll add some more snipplets and sources later today.
  4. Good bye! lol
  5. Yea, Xbox 360 related. Everything else has to go in Tech Coding Tutorials or Programs. Programs isn't supposed to be for user-made stuff, and tech coding tutorials can just be added into the new forum in General.
  6. It's relatively difficult to create a calculator with 1 textbox. I didn't learn it until grade 12, but it was rather easy since I had a year of experience. I'll upload some sources later today I made at school. They are in VB6 though.
  7. intro in = new intro(); intro.Show(); Make it look like that. This way it won't error. If you are using namespaces in your project, don't worry about changing it.
  8. You can kill a process in several ways, by using the process's Name, ID, Handle, MainWindowTitle, and more. The following sample will show you how to kill a process using the processes name and main window title. Error handling is provided to make sure it doesn't throw a False when it tries to kill a SYSTEM process. Public Function KillProcess(ByVal procName As String) As Boolean For Each p As Process In Process.GetProcesses If p.ProcessName.StartsWith(procName) Then Try p.Kill() Catch End Try ElseIf p.MainWindowTitle.StartsWith(procName) Then Try p.Kill() Catch End Try End If Next Return (True) End Function 'Usage' KillProcess("explorer")
  9. Thanks for specifying what was already used above xD. But seriously, good idea pointing out that System.Diagnostics is required, unless you add it to the top of your program.
  10. Just a thought, could we add one category above/beneath Tech Lab called iBotCoderz, and add 3 sub-forums (General, Community Releases, Code-Snipplets/Sources) Get people started in the programming world. It doesn't really need a team.
  11. I replaced newForm with Form1, but you shouldn't assign Form1 to Form1, that can arise to problems.
  12. While is in there, look further down.
  13. Removed.
  14. Yes, but it's alot cleaner. "" gives it a null char. nothing is exactly what it is, "Nothing".
  15. Only way I knew how to do it. You can dump the output of ipconfig in cmd, and display it that way too, but people won't understand it.
  16. Put variables outside of all subroutines, just in the class. Where your button code is, just type: DeleteIEHistory(True) 'etc Make sure the routines are in the class. (Put them anywhere, outside other routines)
  17. ------------- External IP ------------- Try Dim WC As New System.Net.WebClient MsgBox(System.Text.Encoding.ASCII.GetString(WC.DownloadData("http://www.swlink.net/~styma/REMOTE_ADDR.shtml"))) MsgBox(System.Text.Encoding.ASCII.GetString(WC.DownloadData("http://whatismyip.com/automation/n09230945.asp"))) WC.Dispose() Catch 'Display Error Message End Try ------------- Internal IP ------------- Try Dim ipEntry As System.Net.IPHostEntry = Net.Dns.GetHostEntry(Environment.MachineName) Dim IpAddr As System.Net.IPAddress() = ipEntry.AddressList MsgBox(IpAddr(0).ToString()) Catch 'Display Error Message End Try --------------- Address to IP --------------- If Not T2.Text = "" Then Try ipE = Dns.GetHostEntry(T2.Text) Catch MessageBoxEx.Show("Site does not exist!", "DoS", MessageBoxButtons.OK, MessageBoxIcon.Information) End Try Dim IpA() As IPAddress = ipE.AddressList TX.Text = IpA(0).ToString End If
  18. If I install Google Chrome, I'll update the above routines to remove that browsers cache too.
  19. http://www.ibotmodz.net/forum/index.php?showtopic=13759 There you go, I uploaded my history cleaner subroutines. Enjoy.
  20. I updated main post. I forgot to add my latest Slipstream.dll. It is needed for a conversion in ScanForBytes. I hope people learn how to use this.
×
×
  • Create New...