Support Forums

Full Version: Computer Information - Program Made By Me
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
[Image: YzwzC.png]

I've just made a quick program, which pulls your computer information.
  • Computer Username
  • Computer Name
  • Internal IP Address
  • External IP Address

Picture


Download Link:
http://www.mediafire.com/?8apiua7slvf2om4

You can scan it yourself, I can't be bothered to do it.
It's just 1 line of code per line..
Are you dumb? I have around 30-50 lines of code in the source.
(11-12-2011, 06:41 PM)BreShiE Wrote: [ -> ]Are you dumb? I have around 30-50 lines of code in the source.

Code:
Dim Name As String = (My.User.Name)
Dim User As String = Name.Split("\").GetValue(0)
Dim CompName As String = Name.Split("\").GetValue(1)
Dim WC As New WebClient
Dim IP As String = WC.DownloadString("http://www.whatismyip.org/")
Dim LocalIP As String = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName()).AddressList(0).ToString()
MsgBox(CompName & vbNewLine & User & vbNewLine & IP & vbNewLine & LocalIP)

Nono
(11-12-2011, 07:24 PM)iRtehLeet Wrote: [ -> ]
Code:
Dim Name As String = (My.User.Name)
Dim User As String = Name.Split("\").GetValue(0)
Dim CompName As String = Name.Split("\").GetValue(1)
Dim WC As New WebClient
Dim IP As String = WC.DownloadString("http://www.whatismyip.org/")
Dim LocalIP As String = System.Net.Dns.GetHostByName(System.Net.Dns.GetHostName()).AddressList(0).ToString()
MsgBox(CompName & vbNewLine & User & vbNewLine & IP & vbNewLine & LocalIP)

Nono


Not how I've done it, now stay away from my threads, thanks.
(11-13-2011, 06:22 PM)BreShiE Wrote: [ -> ]Not how I've done it, now stay away from my threads, thanks.

Its only like 5 lines of code don't see why your releasing it lol Confused
(11-14-2011, 12:20 PM)iRtehLeet Wrote: [ -> ]Its only like 5 lines of code don't see why your releasing it lol Confused


You don't know how I code, nor do you know how I've coded this. Now please, do not reply again.
(11-14-2011, 12:38 PM)BreShiE Wrote: [ -> ]You don't know how I code, nor do you know how I've coded this. Now please, do not reply again.

Coders always want less code = better

I just showed you how to do it in 5 lines, if you really took 50-60 then your doing it wrong.
(11-14-2011, 03:30 PM)iRtehLeet Wrote: [ -> ]Coders always want less code = better

I just showed you how to do it in 5 lines, if you really took 50-60 then your doing it wrong.

It's more like 10-15, but still. The way you did it is retarded, too simple for my liking.

Rather than spamming this forum, if you wish to contact me regarding this matter further, please AIM me. ibreshie.
Not to flame, but he is right. The way he did it is more professional. Shorter code doesn't always mean a better program but most times it does. As it will actually be faster most times.
Pages: 1 2 3