Computer Science Canada

Saving text files

Author:  Skizzarz [ Tue Feb 10, 2004 2:17 pm ]
Post subject:  Saving text files

Last year i made a vb program that starts up at the boot up of the comp and goes overtop of the logon window, my window was a duplicate of the login window and when someone typed there user and pass it saved it to a file in the c drive and came up with a fake error message and then exited to the real login window, i got a shitload of student and teacher logins, i compiled it, then i lost the form and forget the code i used for saving the actual file, but i know how to do every thing else, can someone just tell me how to save the text file thanks allot!

Author:  Maverick [ Wed Feb 11, 2004 10:07 pm ]
Post subject: 

Man thats a fuggin brilliant idea! I will pay u for that prog, but sorry havent learned how to save files yet.

Author:  jonos [ Wed Feb 11, 2004 10:18 pm ]
Post subject: 

im not sure what you need to do, but couldn't you write it to a text file, there are some tutorials here i think where you can do that.

Author:  Tony [ Wed Feb 11, 2004 11:07 pm ]
Post subject: 

we do have a tutorial... right here

Author:  Acid [ Thu Feb 12, 2004 12:07 am ]
Post subject: 

That is pretty brilliant. How would you do something like that?

For, uh, purely educational purposes of course.

Author:  Tony [ Thu Feb 12, 2004 10:35 am ]
Post subject: 

in purely educational purposes you make a form in VB identical to that of windows logon (just copy the graphics and place textboxes in the correct place) then stick your program in msconfig above winlogon.exe

Author:  Acid [ Thu Feb 12, 2004 3:23 pm ]
Post subject: 

Yeah, I knew how to do everything except make it come up over the login screen.

Author:  Skizzarz [ Fri Feb 13, 2004 2:05 pm ]
Post subject: 

it wass so easy, less then 10 lines of code.
i'll post it in the vb submission forum when im one it, hopefully i'll get some bits...Wink

Author:  Skizzarz [ Fri Feb 13, 2004 2:13 pm ]
Post subject: 

in the tutorial it shows how to write from one text box, but i need it from 2, the username box, AND the password box, how is this done?

Author:  Skizzarz [ Fri Feb 13, 2004 2:20 pm ]
Post subject: 

nevermind, i did it, u can get it right here....

Author:  Skizzarz [ Fri Feb 13, 2004 2:27 pm ]
Post subject: 

shit i cant send it

Author:  Skizzarz [ Mon Feb 16, 2004 1:50 pm ]
Post subject: 

so how do i post my program?

Author:  Maverick [ Mon Feb 16, 2004 3:45 pm ]
Post subject: 

well you shule winZip it or winRar it since compsci doesnt support VB file extensions

Author:  Dan [ Mon Feb 16, 2004 5:37 pm ]
Post subject: 

pm, me the file existions for vb socrce code and stuff and i will add them.

Author:  w00rm [ Tue Feb 17, 2004 1:36 pm ]
Post subject: 

on windows 98 SE i goto msconfig and i can't find winlogon.exe, where is it located. What OS are you running this program on?

Author:  Skizzarz [ Wed Feb 18, 2004 1:38 pm ]
Post subject: 

also, i was using the c drive origanally, but then i tried a network drive (PSmile when i started it in vb it worked, then when i restarded the computer it couldnt find the p drive (cuz i wasnt logged in) i want a network drive so i can go on any school comp and check the pass's how would i do this?, and also, someone said that u make a window that looks like the login screen, well u dont even have to do that, u can make it EXACT by printscreening the login window, then make ur whole form a pic (the login window) and choose the form option so that the form does not have any buttons or bluebar on top, then put text box overtop of the pic one, and do the same with all the other buttons, u can even get a fake error message to pop up after they click ok, but dont forget about the network drive problem, can anyone help me?

Author:  Skizzarz [ Fri Feb 20, 2004 1:23 pm ]
Post subject: 

any suggestions? plz

Author:  recneps [ Sat Feb 28, 2004 8:50 pm ]
Post subject: 

It all depends on how tight the network is, like if anyone can access it (say its FSmile like you can write to F: until you login, then you could just write to F:, then access F: when you log into another comp. Your question isnt the clearest :\

Author:  Tony [ Sat Feb 28, 2004 8:56 pm ]
Post subject: 

sounds like your P: drive is your "personal" drive and you got to be logged in to access it Rolling Eyes So you've got to save on some local drive, such as C: or any driver on the network that doesn't require a login..

another possibility would be to use a remote drive such as over the internet for example... The simpiest way would be to just write a PHP script to log all the info send to it and access that page from your program, passing user/pass as the string to be logged

Author:  Skizzarz [ Fri Mar 05, 2004 3:47 pm ]
Post subject: 

no p isnt our personal, its named 'oesapps' or smthn, h: is our personal drive, and i cant work on it anymore anyway cuz i got caught and almost was suspended, luckily instead all i have to do is stay after school a couple nights and help secure the schools computers from ppl like me lmao

Author:  recneps [ Fri Mar 05, 2004 4:05 pm ]
Post subject: 

<cough>Make a LOOPHOLE!</cough> Very Happy

Author:  Skizzarz [ Fri Mar 05, 2004 4:06 pm ]
Post subject: 

already thought of that Laughing


: