Retrieving Data From A Program

Discuss how to write good code, break bad code, your current pet projects, or the best way to approach novel problems

Retrieving Data From A Program

Post by TheWhiteKid on Thu Dec 24, 2009 8:00 am
([msg=31864]see Retrieving Data From A Program[/msg])

Ok i dont need to know how to do this, i would like to know the best program to make a form that sends the users input to you

like how people scam xbox users making them think they can hack up a microsoft point code
TheWhiteKid
New User
New User
 
Posts: 18
Joined: Thu Dec 24, 2009 7:57 am
Blog: View Blog (0)


Re: Retrieving Data From A Program

Post by cilpolir on Thu Dec 24, 2009 8:08 am
([msg=31866]see Re: Retrieving Data From A Program[/msg])

uhm.. what to answer, first post and example of illigal activities....
My answer is:....read the disclamer it's there for a reason!
HackThisSite does not support illegal activities.
Image
User avatar
cilpolir
Poster
Poster
 
Posts: 218
Joined: Sat Sep 12, 2009 10:46 am
Blog: View Blog (0)


Re: Retrieving Data From A Program

Post by TheWhiteKid on Thu Dec 24, 2009 8:24 am
([msg=31867]see Re: Retrieving Data From A Program[/msg])

cilpolir wrote:uhm.. what to answer, first post and example of illigal activities....
My answer is:....read the disclamer it's there for a reason!
HackThisSite does not support illegal activities.




no no im not going to use it as a hacking tool i was wanting it so i could send my friends random surveys, riddles and quizzes but its ok now im going to use VB 2008
TheWhiteKid
New User
New User
 
Posts: 18
Joined: Thu Dec 24, 2009 7:57 am
Blog: View Blog (0)


Re: Retrieving Data From A Program

Post by cilpolir on Thu Dec 24, 2009 11:07 am
([msg=31871]see Re: Retrieving Data From A Program[/msg])

sorry for the flame, but most first post with this kinda questions are just script kiddies trying to get an easy hacking tool or something like that. If you just said what you wanted with it instead of the bad chosen example, i was more than willing to help you so i will do this now.

ever thought of just making a website with the quizzes etc? cause if any of your friends have a decent AV it will not allow your programm to send you the data they type in ;)
Image
User avatar
cilpolir
Poster
Poster
 
Posts: 218
Joined: Sat Sep 12, 2009 10:46 am
Blog: View Blog (0)


Re: Retrieving Data From A Program

Post by TheWhiteKid on Thu Dec 24, 2009 11:14 am
([msg=31872]see Re: Retrieving Data From A Program[/msg])

Ok ive got a code that is suppose to save it to this file in my computer Program Files\Logs\logs.txt but when i debug the program it says that it works but there is no file there???
TheWhiteKid
New User
New User
 
Posts: 18
Joined: Thu Dec 24, 2009 7:57 am
Blog: View Blog (0)


Re: Retrieving Data From A Program

Post by cilpolir on Thu Dec 24, 2009 11:19 am
([msg=31874]see Re: Retrieving Data From A Program[/msg])

TheWhiteKid wrote:Ok ive got a code that is suppose to save it to this file in my computer Program Files\Logs\logs.txt but when i debug the program it says that it works but there is no file there???

you are giving an input? also if you can post your code it is easier to spot errors
Image
User avatar
cilpolir
Poster
Poster
 
Posts: 218
Joined: Sat Sep 12, 2009 10:46 am
Blog: View Blog (0)


Re: Retrieving Data From A Program

Post by TheWhiteKid on Thu Dec 24, 2009 11:27 am
([msg=31875]see Re: Retrieving Data From A Program[/msg])

cilpolir wrote:
TheWhiteKid wrote:Ok ive got a code that is suppose to save it to this file in my computer Program Files\Logs\logs.txt but when i debug the program it says that it works but there is no file there???

you are giving an input? also if you can post your code it is easier to spot errors




Code: Select all
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Dim W As New System.IO.StreamWriter("C:\Program Files\Logs\logs.txt", True)
        W.WriteLine("Name:" & TextBox1.Text & " & " & "Answer:" & TextBox2.Text)
        W.Close()
        MsgBox("Hope You Won")
    End Sub
End Class
TheWhiteKid
New User
New User
 
Posts: 18
Joined: Thu Dec 24, 2009 7:57 am
Blog: View Blog (0)


Re: Retrieving Data From A Program

Post by cilpolir on Thu Dec 24, 2009 11:41 am
([msg=31876]see Re: Retrieving Data From A Program[/msg])

don't know anything about VB but i've read some tutorials and it seems like the logs.txt must first be created before VB can write something into it. So if you created that file and the run the program it should come into that file, how to let your program create that file I don't know, but maybe you do
Last edited by cilpolir on Thu Dec 24, 2009 1:08 pm, edited 1 time in total.
Image
User avatar
cilpolir
Poster
Poster
 
Posts: 218
Joined: Sat Sep 12, 2009 10:46 am
Blog: View Blog (0)


Re: Retrieving Data From A Program

Post by TheWhiteKid on Thu Dec 24, 2009 11:46 am
([msg=31877]see Re: Retrieving Data From A Program[/msg])

cilpolir wrote:don't know anything about VW but i've read some tutorials and it seems like the logs.txt must first be created before VB can write something into it. So if you created that file and the run the program it should come into that file, how to let your program create that file I don't know, but maybe you do



thanks man... i must of over looked that when i was reading the tut or they forgot that step. im kinda new to programming. do u have msn or aim so if i need help i can just contact you there?
TheWhiteKid
New User
New User
 
Posts: 18
Joined: Thu Dec 24, 2009 7:57 am
Blog: View Blog (0)


Re: Retrieving Data From A Program

Post by cilpolir on Thu Dec 24, 2009 1:16 pm
([msg=31878]see Re: Retrieving Data From A Program[/msg])

TheWhiteKid wrote:
cilpolir wrote:don't know anything about VB but i've read some tutorials and it seems like the logs.txt must first be created before VB can write something into it. So if you created that file and the run the program it should come into that file, how to let your program create that file I don't know, but maybe you do



thanks man... i must of over looked that when i was reading the tut or they forgot that step. im kinda new to programming. do u have msn or aim so if i need help i can just contact you there?

I'm new to programming to, so its better if you post any questions in the forum so other people than me can read them also and give tips etc. ;) but you can always pm me. Take my advise: when you get stuck writing that program, google al commands etc you're using to find out what exactly they do. cause I didn't even knew what VB was. so I just googled VB tutorials and after I got what the language did. I just googled your command to see what it excactly did, so I found your bug ;)
Image
User avatar
cilpolir
Poster
Poster
 
Posts: 218
Joined: Sat Sep 12, 2009 10:46 am
Blog: View Blog (0)


Next

Return to Programming

Who is online

Users browsing this forum: No registered users and 0 guests