
-----------------------------------
Skizzarz
Tue Feb 10, 2004 2:17 pm

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!

-----------------------------------
Maverick
Wed Feb 11, 2004 10:07 pm


-----------------------------------
Man thats a fuggin brilliant idea! I will pay u for that prog, but sorry havent learned how to save files yet.

-----------------------------------
jonos
Wed Feb 11, 2004 10:18 pm


-----------------------------------
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.

-----------------------------------
Tony
Wed Feb 11, 2004 11:07 pm


-----------------------------------
we do have a tutorial... right [url=http://www.compsci.ca/v2/viewtopic.php?t=2149]here

-----------------------------------
Acid
Thu Feb 12, 2004 12:07 am


-----------------------------------
That is pretty brilliant.  How would you do something like that?

For, uh, purely educational purposes of course.

-----------------------------------
Tony
Thu Feb 12, 2004 10:35 am


-----------------------------------
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

-----------------------------------
Acid
Thu Feb 12, 2004 3:23 pm


-----------------------------------
Yeah, I knew how to do everything except make it come up over the login screen.

-----------------------------------
Skizzarz
Fri Feb 13, 2004 2:05 pm


-----------------------------------
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...;)

-----------------------------------
Skizzarz
Fri Feb 13, 2004 2:13 pm


-----------------------------------
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?

-----------------------------------
Skizzarz
Fri Feb 13, 2004 2:20 pm


-----------------------------------
nevermind, i did it, u can get it right here....

-----------------------------------
Skizzarz
Fri Feb 13, 2004 2:27 pm


-----------------------------------
shit i cant send it

-----------------------------------
Skizzarz
Mon Feb 16, 2004 1:50 pm


-----------------------------------
so how do i post my program?

-----------------------------------
Maverick
Mon Feb 16, 2004 3:45 pm


-----------------------------------
well you shule winZip it or winRar it since compsci doesnt support VB file extensions

-----------------------------------
Dan
Mon Feb 16, 2004 5:37 pm


-----------------------------------
pm, me the file existions for vb socrce code and stuff and i will add them.

-----------------------------------
w00rm
Tue Feb 17, 2004 1:36 pm


-----------------------------------
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?

-----------------------------------
Skizzarz
Wed Feb 18, 2004 1:38 pm


-----------------------------------
also, i was using the c drive origanally, but then i tried a network drive (P:) 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?

-----------------------------------
Skizzarz
Fri Feb 20, 2004 1:23 pm


-----------------------------------
any suggestions? plz

-----------------------------------
recneps
Sat Feb 28, 2004 8:50 pm


-----------------------------------
It all depends on how tight the network is, like if anyone can access it (say its F:) 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 :\

-----------------------------------
Tony
Sat Feb 28, 2004 8:56 pm


-----------------------------------
sounds like your P: drive is your "personal" drive and you got to be logged in to access it :roll: 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

-----------------------------------
Skizzarz
Fri Mar 05, 2004 3:47 pm


-----------------------------------
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

-----------------------------------
recneps
Fri Mar 05, 2004 4:05 pm


-----------------------------------
Make a LOOPHOLE! :D

-----------------------------------
Skizzarz
Fri Mar 05, 2004 4:06 pm


-----------------------------------
already thought of that :lol:
