you should get the new version of visual basic like 2008 express edittion its totally free and they deliberetly made the free program for some strange reason!
Ok, but you mean the text files. If you do then your sad. This was a project to see what i could do at the time with Visual Basic. This isn't meant to be seen as a serious project that you would use for a real database.
wuuuhuuu this tutorial had all it needs :D i love in the end wuupssss hihi wrong hot key =))) u was very funny ^^ gratz it best tutorial i ever seen iam loooking for part 2 now hop u made it xD
add me, Can you connect to my computer and do it for me? I keep getting errors, I'm on microsoft like you. We will use MSN messenger to do it. OK? Please help. Thanks :)
NOT, VB6 still is more accessible for the average programmer than 2008. ' 08 is more towards the Microsoft programming structure which it totally opposite of what some real programming languages are.
In most cases i would still go for VB6.
Tell me something that you can't do with VB6 as far as programming ?
@gamefreak1000000 NO! VB6 FTW VB8 is for noobs, i maked av in vb6 u can add sexy style if u know how ;) VB8 Is ver for noobs in programming.. VB6 is for pro programmers ;)
@jaspremanbojs Well that's your opinion. I personally like VB08 because it has a better looking GUI and not to mention I know how to code in it better than VB06 (because I never used it more than once).
Hi SilverMagics 8's me again. Thank u for d video dat u share 2 us. Anyway can u give me a sample on how to incorporate crystal report to VB6. Thanks. More Power
ok it looks like you have a lot of unecessary stuff in your coding and it also looks like you dont know how to indent with nested If and Then statements... Your coding isnt efficient and is very messy. Overall you know what your talking about with your coding sorta and made a good effort to make these videos. Most of these people watching these videos are only here to copy and steal your information to make it look like their good.
not very secure because someone can go there and just go to the folder and open it you should of made a second form with encryption coasts a little time but noone would be able to crack the password with an disassembler.
You can use sockets to download .txt files from the internet, and then save it to that directory :D. But his system wouldn't work with that too well. I use my own system I designed, which makes all applications require a password to run (It got annoying, so I turned it off)
just copy the login code and when the username is equels to the username he finds in the txt file than he can't make the new account. its just as simple as that
wtf?? it says my microsoft tabbed dialog controls are in "c:\program files\xyerclev\msn state tools\TABCTL320CX" which is something i downloaded ages before this where the hell did it decide to try to load that from that, it also fails...ummm help please lol... i have vb6
The codes are diffrent in the diffrent versions, just so you know it. To me the winsock control didn't work on my vista, but on my XP's it worked fine.
a few days ago i didnt even know how to close and open up a other form but i have progressed a lot the out come it for the 2008 user who were getting errors with the code ive manged to make it work with jst a bit of changing the code so if you want to know the code jst ask
could someone please tell me how to get that dialog box to choose what format of program you want. It never pops up on mine. Please help someone.. PS reply to help me! PPS whats the addon tut URL please paste it in reply
ahmmm,. make me a code thats when the username and password accepted. the login system will automatically close then open a new form for my Server list.. Thanks.
what about if example: password accepted/Access Granted ,the login system will automatic close and it will open a new form for the CounterStrike Server list... Can you do this ?? Thank you very much.. *Re:post*
what about if example: password accepted/Access Granted ,the login system will automatic close and it will open a new form for the CounterStrike Server list... Can you do this ?? Thank you very much..
Hi Silvermagics... when if all done and i upload it and give to my friend, what will happen if he wants to creat an account ?? did the username/password he created go directly to my computer or not ?? even if the .exe is in my friend ?? ahmmm.. im planning to make login system coz we have a private server in counter strike, thats why im wondering if my question is possible to do...
I have the code just like yours but i get "Runtime error 52: Bad file name or number" when i click Create. Debug says the error is in the Open App.Path & "C:\" + namefile + " .txt" For Output As #1 part why is this... Still a good vid :D
What is this? is this Visual Basic 1897?
steff385 4 months ago
@steff385 yes i am dat old, mi englis not so very gut. but tis is echt old. you snap it?
SilverMagics 4 months ago
@SilverMagics In descripion, your text was much more understandable.
steff385 3 months ago
@steff385 Trololo!
WK010 3 months ago
@SilverMagics Ben je nederlands?
theIkweetgeennaam 3 months ago
at 4:51 how do i write the code in vb 2010 plz fast reply
aerodromiaN4Life 5 months ago
can i also give it to other so they can connect to it on my pc?
dominiqe90 8 months ago
it says Statement is not valid in a namespace when i put Private Sub command2_click()
and its pissing me off
Braden123135 1 year ago
what if i want to store the username and password on sql database table.? What the new path i have to use? i'll appreciate ur help. Thanks
starcatcher164 1 year ago
why namfile = Text3 an error of method or data member not found
chikwa223 1 year ago
Hi! I can't write the open app.path thing in visual basic 2008 express edition, please help me!
bijanHH 1 year ago
hey. This is just what i need for making my virtual os in vb.
TheJimmysupernerd 1 year ago
dont have microsoft tabbed dialog
12super123 1 year ago
by any chance are you German? es ist wunderbar danke
JamieMair 1 year ago
@JamieMair
Nope he's dutch :P
dvdcase56 1 year ago
i dont have the MS Tabbed Dialog Controls
any where where i can download the files
ergo247 2 years ago
will there be a 2008 or 2010?
swehunter2000 2 years ago
there is 2008 already!
Rango7000 2 years ago
I don't have tabbed!
PenguinDumbledore27 2 years ago
Do I have to have a database before making a login system?
gamefreak1000000 2 years ago
Comment removed
nashbored1231 2 years ago
This has been flagged as spam show
textbox3.text & vbCrLf & textbox4.textEnter condom, " sex".
nashbored1231 2 years ago
What if I want to have the account file hosted on a website in a database?
etodvs 2 years ago
In VB 2008 the code for open and ave is the follow
FileOpen(1, "/Accounts/User/" & namefile & ".txt", OpenMode.Output)
PrintLine(1, TextBox3.Text)
PrintLine(1, TextBox4.Text)
FileClose()
DJfett95 2 years ago
The Path must allready exist. If it's don't there you will get a error message!
And I had a littel mistake. The right code is:
FileOpen(1, "Accounts/Users/" & namefile & ".txt", OpenMode.Output)
PrintLine(1, TextBox3.Text)
PrintLine(1, TextBox4.Text)
FileClose()
DJfett95 2 years ago
THANX ALOT
olivetti260398 2 years ago
To all the people who use VB'08, this is the code for saving a .txt file:
My.Computer.FileSystem.WriteAllText("/Accounts/Users/" & namefile & ".txt", textbox3.text & vbCrLf & textbox4.text)
ramp6 2 years ago
"Overload resolution failed because no accessible 'WriteAllText' accepts this number of arguments."
saint1997 2 years ago
I also have this problem!
What is the code in VB 8?
(app.path part)
Thanks
JDcalado 2 years ago
you don't have to use app.path, just /Accounts/Users/" & namefile & ".txt"
ramp6 2 years ago
do you have it for vb 2008 i have a prob. with the open app.path part
moh199702 2 years ago
i got VB08 please help me find out what the " code " for
" Open" And " #2"
It says theese two codes are wrong
jakob149 2 years ago
filesystem.writealltext()
ramp6 2 years ago
you should get the new version of visual basic like 2008 express edittion its totally free and they deliberetly made the free program for some strange reason!
wasitrealy 2 years ago
zomg that visual basic IS basic!
Key103Manchester 2 years ago 2
Too easy if you ask me...
gamefreak1000000 2 years ago
It is, but it is one of THE languages to get into programming. Learning the base easy is just what you need to get the head start.
Visual Basic 6.0 was nothing but good for me. Other languages are easier to learn now that i know the basics.
SilverMagics 2 years ago
man i really appreciate your videos; but the whole way your going about this "login system" is just wrong.
dosattack777 3 years ago
Ok, but you mean the text files. If you do then your sad. This was a project to see what i could do at the time with Visual Basic. This isn't meant to be seen as a serious project that you would use for a real database.
SilverMagics 3 years ago
it says "object required"
phats50mea 3 years ago
wuuuhuuu this tutorial had all it needs :D i love in the end wuupssss hihi wrong hot key =))) u was very funny ^^ gratz it best tutorial i ever seen iam loooking for part 2 now hop u made it xD
OooShikamaruooO 3 years ago
lol viarable :P
ff in het nederlands, spreek het uit als: veriabol
roberini 3 years ago
hey were to get this Microsoft tabbed dialog controls???
Enzo0912 3 years ago
add me, Can you connect to my computer and do it for me? I keep getting errors, I'm on microsoft like you. We will use MSN messenger to do it. OK? Please help. Thanks :)
runesoul50 3 years ago
not for the world, msn is dumb
SilverMagics 3 years ago
what VB are you using?
DJGoDz99 3 years ago 2
VB06, which sucks badly. Use VB 08, it's a lot better!
gamefreak1000000 2 years ago
NOT, VB6 still is more accessible for the average programmer than 2008. ' 08 is more towards the Microsoft programming structure which it totally opposite of what some real programming languages are.
In most cases i would still go for VB6.
Tell me something that you can't do with VB6 as far as programming ?
SilverMagics 2 years ago
the "Open " is a error in vb08... please help me anyone??? you know what the code on vb08 is for open ?
jakob149 2 years ago
@gamefreak1000000 NO! VB6 FTW VB8 is for noobs, i maked av in vb6 u can add sexy style if u know how ;) VB8 Is ver for noobs in programming.. VB6 is for pro programmers ;)
jaspremanbojs 1 year ago
@jaspremanbojs Actually pro programmers use more object oriented languages such as C++ and Java to program.
gamefreak1000000 1 year ago
@gamefreak1000000 yes! but i say for vb... I love vb, i know c++ but i more like vb6 =) VB8 Is SHIT!
jaspremanbojs 1 year ago
@jaspremanbojs Well that's your opinion. I personally like VB08 because it has a better looking GUI and not to mention I know how to code in it better than VB06 (because I never used it more than once).
gamefreak1000000 1 year ago
i dont have tabbed dialog sad =(
minikiller23 3 years ago 2
me too!!!
Enzo0912 3 years ago
lol now i do cuz i got the full version of visual basic 6.0 xD
minikiller23 3 years ago 2
ohhh ok
Enzo0912 3 years ago
xD tyyy
minikiller23 3 years ago
Hi SilverMagics 8's me again. Thank u for d video dat u share 2 us. Anyway can u give me a sample on how to incorporate crystal report to VB6. Thanks. More Power
kfcrfc1974 3 years ago
how woul i make a text1. and text2. boxs send the info from whats in them e.g login name and pw to submit to my email form a submit button?
aaron311293 3 years ago
same
sykoretart 3 years ago
can you post a video on how to login to an SQL database using VB.
sharekhan5 3 years ago
i did one in mySQL in 25 modules hahaha.
OlloX3 3 years ago
Lol, i run with vista too and it work fine :-P
dixo12 3 years ago
vista is bad because it wont support the previous programs xD !
SilverMagics 3 years ago
omfg.... i gto a path not found :\
ty4gmqqq 3 years ago
Very low level of security only get Starter
JeanNardi 3 years ago
i see UPS!=))wrong hotkey...=)))HAA n1
euforii666 3 years ago
THANK YOU SOOOOOOOOO MUCH I ACTUALLY HAVE A PROJECT about this ill see the part 2 to finish it
shangu04 3 years ago
doesnt work for me. any help?
WmashdaProductions 3 years ago
i learned a bit of vb6 back in 04. but i forgot about it. this is very refreshing.
jpmacion 3 years ago
ok it looks like you have a lot of unecessary stuff in your coding and it also looks like you dont know how to indent with nested If and Then statements... Your coding isnt efficient and is very messy. Overall you know what your talking about with your coding sorta and made a good effort to make these videos. Most of these people watching these videos are only here to copy and steal your information to make it look like their good.
Knl0391 3 years ago
oh dear... very very good video, 5/5.
but i only have visual basic portable edition. and it does not have the microsoft tabbed components.
popdodl 3 years ago
is there a way to do this is vb8?
i followed the tutorial using that.(replacing text.text with textbox.text) and it wont let me build.i put the code in vb6 and it worked fine.
runehockey 3 years ago
lol, vb6 and 2008 are completly different, some codes will be the same but the main codes are changed.
SilverMagics 3 years ago
yeah, a main code change i noticed between the two are things like..adding the word "box" to text(box)1.text,list(box)1.text,ect.
i mainly use vb8 when i want buttons to look smoother instead of blocky :)
runehockey 3 years ago
OMG!it works!
i love it thanks!
romeoandjule 3 years ago
I think the errores is because i used viual basic 2005, now i have 6.0 but i dont get up the micrsoft tabbed ting
NiceWar 3 years ago
In For output as #1
only the 'For' is a error
NiceWar 3 years ago
for will be corrected in the enterprise version automaticly
SilverMagics 3 years ago
Open App.path is a error
For output as #1 is a error
Print #1 Textbox5.text the # is error
Print #1 TextBox6.Text the # is error
Close #1 the # is error
i have wrote everything exackly like you wrote it.
NiceWar 3 years ago
For output As #1
End of statement expected
NiceWar 3 years ago
Close #1 afther everything to close you´re openstanding link with the file.
SilverMagics 3 years ago
it won't work on vista, whats the problem
VisualMaster1 3 years ago
error in you´re code
SilverMagics 3 years ago
Thank you m8!
NicholasSta 3 years ago
not very secure because someone can go there and just go to the folder and open it you should of made a second form with encryption coasts a little time but noone would be able to crack the password with an disassembler.
AndrewXIOS 3 years ago
but just make a password on that
notepad file :L or hide it in system controlz
DrizTut2010 3 years ago
hmm how come i don't have windows tab thing >??
rihanDj 3 years ago
If you can do this with it retrieving the data from a .txt file on a web site then id use this in a blink of an eye :P
PrivTz 3 years ago
You can use sockets to download .txt files from the internet, and then save it to that directory :D. But his system wouldn't work with that too well. I use my own system I designed, which makes all applications require a password to run (It got annoying, so I turned it off)
diotecktec2 3 years ago
oops double post
TAND16 3 years ago
This doesn't work in visual basic 2008:( , or is it just me?:p
TAND16 3 years ago
This doesn't work in visual basic 2008:( , or is it just me?:p
TAND16 3 years ago
"Path not found. It's so damn annoying!
MagnusRulerHardt 3 years ago
Silver, i keep getting "Cannot find Path". I want it to save in a single folder on the desktop, a little help plz? Thanks in advance.
xRobratsx 3 years ago
what if, the username is already taken?
what should be the code so that the user know that the username he type is already taken by someone
jp26198926 3 years ago
yes i know this can be done
just copy the login code and when the username is equels to the username he finds in the txt file than he can't make the new account. its just as simple as that
SilverMagics 3 years ago
...THANK YOU..........
jp26198926 3 years ago
Can you post the code please? :D
MagnusRulerHardt 3 years ago
but where can i put the login code?
jp26198926 3 years ago
wtf?? it says my microsoft tabbed dialog controls are in "c:\program files\xyerclev\msn state tools\TABCTL320CX" which is something i downloaded ages before this where the hell did it decide to try to load that from that, it also fails...ummm help please lol... i have vb6
rriinnnniirr 3 years ago
The codes are diffrent in the diffrent versions, just so you know it. To me the winsock control didn't work on my vista, but on my XP's it worked fine.
MagnusRulerHardt 3 years ago
What is wrong ? :P
whit :
namefile = Text3
sofiastranden 3 years ago
is it possible to get the information off a website like in vb "Skinet"? so it will still read the text in the file.
PrivTz 3 years ago
helo
a lot of people as my self have visual 2008
a few days ago i didnt even know how to close and open up a other form but i have progressed a lot the out come it for the 2008 user who were getting errors with the code ive manged to make it work with jst a bit of changing the code so if you want to know the code jst ask
chris2k7chaser 3 years ago
Open App.Path & "\Accounts\users\" + namefile + ".txt" For Output As #1 is bold in yello
Media126047 3 years ago
You need to create the folder "Accounts" with "Users" in it
MagnusRulerHardt 3 years ago
bad file name or number when i create accounts apperns on screen time error 52
Media126047 3 years ago
open app.path & "\Accounts\users\" + namefile + ".txt" is this wrong
Media126047 3 years ago
Make a button and on its code type:
form2.show
MouthofSaurons 3 years ago
yh pls mate are yo and good at vb2008 nd vb06
because im trying to do the advance login and
i need to get this code "traslated" to the vb2008 code Open(app.path)& open "
wot would that be in vb2008 thanks in advanced :)
chris2k7chaser 3 years ago
its all about where you put the program
sHiMmYTheNomad 4 years ago
Hey, SilverMagics, your great at programming
but I'm having Truoble trying to create
the "Advanced Login System" which I love very much I have "Visual Basic 2008 Express Edition" are the codes different compared to "Visual Basic 0.6"?
Mcaculey 4 years ago
I also have VB 2008.
It doesn't work for me!
I don't know where I have to create the maps with Accounts and Users.
In het Nederlands: Waar moet ik die mappen aanmaken?
Ik heb heel veel errors.
Bollivierke 4 years ago
Yeah, this is getting annoying 'cause he isn't responding, but I have the some problem as you two guys :(
Jexah247 4 years ago
VB 2005 and 2008 are similar but VB6 is quiet different.
matthewjaravelo 4 years ago
i have 2005 and it works in mine i also use vb 6.0 at school and the same stuff works
sHiMmYTheNomad 4 years ago
It doesn't work, when I create the account. It don't create .txt file. Why does that happen? Can U help me with that Silvermagic?
madrickwfb 4 years ago
i had That problem also but you did something wrong i think
jnbjabnk 4 years ago
It doesn't work:( it don't create an .txt File
jnbjabnk 4 years ago
Why dont you make the files coded? Such as replacing "a" with "{u" or something to hide the names and codes?
MouthofSaurons 4 years ago
i get an error when doing the creating tab,
when i do the code in the "create" tab,
it says "Expected As"
HellsHighwayTrooper 4 years ago
? this works for me aswell, try to reinstall cuz you seem to have more problems.
SilverMagics 4 years ago
I have improved the program a little bit :)
The text fields says "Type in a username..." (if it is username) and when you click it it will set it to blank! Cool uh?
Code:
Private Sub Text1_Click()
If Text1.Text = "Type in a username..." Then
Text1.Text = ""
End If
End Sub
MouthofSaurons 4 years ago
You can repace "" with Empty in your code..
"" = Empty
Empty = ""
It's all the same...
dexter152 4 years ago
i didn't know that but ill prefer ""
SilverMagics 4 years ago
could someone please tell me how to get that dialog box to choose what format of program you want. It never pops up on mine. Please help someone.. PS reply to help me! PPS whats the addon tut URL please paste it in reply
raiderscrusade 4 years ago
i dont know how to do that.. can you ?? Please ?? Requesting. i really need in my server. Thanks
garciathom06 4 years ago
i can, but what do you mean by requesting, what do you want me to do ?
SilverMagics 4 years ago
ahmmm,. make me a code thats when the username and password accepted. the login system will automatically close then open a new form for my Server list.. Thanks.
garciathom06 4 years ago
another thing,
i forgot to ask..
what about if example: password accepted/Access Granted ,the login system will automatic close and it will open a new form for the CounterStrike Server list... Can you do this ?? Thank you very much.. *Re:post*
garciathom06 4 years ago
yes you could do that though
SilverMagics 4 years ago
Put this code after msgbox ("Accec granted"):
Me.Hide
Form2.Show (if form2 is the name of the new form. then the new form will show and the login hide.
But silvermagics, it keeps saying "Path not found" ??
MagnusRulerHardt 3 years ago
Ops, sory coz im new here..
but im trying my best just to do this.. hehe
last question..
can i or they make multiple username/password ??? ^_^
garciathom06 4 years ago
yes, it will save a new account in the createon part, watch all the parts !
SilverMagics 4 years ago
another thing,
i forgot to ask..
what about if example: password accepted/Access Granted ,the login system will automatic close and it will open a new form for the CounterStrike Server list... Can you do this ?? Thank you very much..
garciathom06 4 years ago
Hi Silvermagics... when if all done and i upload it and give to my friend, what will happen if he wants to creat an account ?? did the username/password he created go directly to my computer or not ?? even if the .exe is in my friend ?? ahmmm.. im planning to make login system coz we have a private server in counter strike, thats why im wondering if my question is possible to do...
garciathom06 4 years ago
i'ved seen a lot of tutorials but yours ahhhmm hhmmm awesome this one is cool i'll pm you if i need help with my project 5star for you dude
ernestojsjr 4 years ago
Thanks, good comments are welcome xD
SilverMagics 4 years ago
Thanx a lot
skatermark 4 years ago
you're welcome
SilverMagics 4 years ago
Is somebody need help, mail me ( i prefer that ) or Pm me with good explained and detailed problem, then i can help you.
SilverMagics 4 years ago
I have the code just like yours but i get "Runtime error 52: Bad file name or number" when i click Create. Debug says the error is in the Open App.Path & "C:\" + namefile + " .txt" For Output As #1 part why is this... Still a good vid :D
MongooseRoadkill 4 years ago
Also the program doesn't make the txt file
MongooseRoadkill 4 years ago
it should work in Visual Basic 6.0 ( this isn't for 5 or 2005 )
SilverMagics 4 years ago
Too complicated. Tryed 40+ times, all failed. Can you help me, SilverMagics? o_o
starwarsfan567 4 years ago
i need the code can you write it here! thanks
programer60640 4 years ago
ok Here is the code :
Open App.Path & "\Accounts\Users\" + namefile + ".txt" for output as #1
Print #1, text3.text
Print #1, text4.text]
close #1
this is how to make a simple code for saving a txt file with the content from text3 & text4.
SilverMagics 4 years ago
Thanks! I'm gonna use the namefile part to name the file, to make an advanced Data Storer! :O
starwarsfan567 4 years ago
thats easy lol
SilverMagics 4 years ago