Added: 4 years ago
From: SilverMagics
Views: 39,339
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (133)

Sign In or Sign Up now to post a comment!
  • What is this? is this Visual Basic 1897?

  • @steff385 yes i am dat old, mi englis not so very gut. but tis is echt old. you snap it?

  • @SilverMagics In descripion, your text was much more understandable.

  • @steff385 Trololo!

  • @SilverMagics Ben je nederlands?

  • at 4:51 how do i write the code in vb 2010 plz fast reply

  • can i also give it to other so they can connect to it on my pc?

  • it says Statement is not valid in a namespace when i put Private Sub command2_click()

    and its pissing me off

  • 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

  • why namfile = Text3 an error of method or data member not found

  • Hi! I can't write the open app.path thing in visual basic 2008 express edition, please help me!

  • hey. This is just what i need for making my virtual os in vb.

  • dont have microsoft tabbed dialog

  • by any chance are you German? es ist wunderbar danke

  • @JamieMair

    Nope he's dutch :P

  • i dont have the MS Tabbed Dialog Controls

    any where where i can download the files

  • will there be a 2008 or 2010?

  • there is 2008 already!

  • I don't have tabbed!

  • Do I have to have a database before making a login system?

  • Comment removed

  • What if I want to have the account file hosted on a website in a database?

  • 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()

  • 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()

  • THANX ALOT

  • To all the people who use VB'08, this is the code for saving a .txt file:

    My.Computer.FileSystem.WriteAl­lText("/Accounts/Users/" & namefile & ".txt", textbox3.text & vbCrLf & textbox4.text)

  • "Overload resolution failed because no accessible 'WriteAllText' accepts this number of arguments."

  • I also have this problem!

    What is the code in VB 8?

    (app.path part)

    Thanks

  • you don't have to use app.path, just /Accounts/Users/" & namefile & ".txt"

  • do you have it for vb 2008 i have a prob. with the open app.path part

  • i got VB08 please help me find out what the " code " for

    " Open" And " #2"

    It says theese two codes are wrong

  • filesystem.writealltext()

  • 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!

  • zomg that visual basic IS basic!

  • Too easy if you ask me...

  • 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.

  • man i really appreciate your videos; but the whole way your going about this "login system" is just wrong.

  • 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.

  • it says "object required"

  • 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

  • lol viarable :P

    ff in het nederlands, spreek het uit als: veriabol

  • hey were to get this Microsoft tabbed dialog controls???

  • 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 for the world, msn is dumb

  • what VB are you using?

  • VB06, which sucks badly. Use VB 08, it's a lot better!

  • 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 ?

  • the "Open " is a error in vb08... please help me anyone??? you know what the code on vb08 is for open ?

  • @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 Actually pro programmers use more object oriented languages such as C++ and Java to program.

  • @gamefreak1000000 yes! but i say for vb... I love vb, i know c++ but i more like vb6 =) VB8 Is SHIT!

  • @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).

  • i dont have tabbed dialog sad =(

  • me too!!!

  • lol now i do cuz i got the full version of visual basic 6.0 xD

  • ohhh ok

  • xD tyyy

  • 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

  • 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?

  • same

  • can you post a video on how to login to an SQL database using VB.

  • i did one in mySQL in 25 modules hahaha.

  • Lol, i run with vista too and it work fine :-P

  • vista is bad because it wont support the previous programs xD !

  • omfg.... i gto a path not found :\

  • Very low level of security only get Starter

  • i see UPS!=))wrong hotkey...=)))HAA n1

  • THANK YOU SOOOOOOOOO MUCH I ACTUALLY HAVE A PROJECT about this ill see the part 2 to finish it

  • doesnt work for me. any help?

  • i learned a bit of vb6 back in 04. but i forgot about it. this is very refreshing.

  • 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.

  • 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.

  • 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.

  • lol, vb6 and 2008 are completly different, some codes will be the same but the main codes are changed.

  • 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.tex­t,ect.

    i mainly use vb8 when i want buttons to look smoother instead of blocky :)

  • OMG!it works!

    i love it thanks!

  • 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

  • In For output as #1

    only the 'For' is a error

  • for will be corrected in the enterprise version automaticly

  • 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.

  • For output As #1

    End of statement expected

  • Close #1 afther everything to close you´re openstanding link with the file.

  • it won't work on vista, whats the problem

  • error in you´re code

  • Thank you m8!

  • 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.

  • but just make a password on that

    notepad file :L or hide it in system controlz

  • hmm how come i don't have windows tab thing >??

  • 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

  • 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)

  • oops double post

  • This doesn't work in visual basic 2008:( , or is it just me?:p

  • This doesn't work in visual basic 2008:( , or is it just me?:p

  • "Path not found. It's so damn annoying!

  • 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.

  • 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

  • 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

  • ...THANK YOU..........

  • Can you post the code please? :D

  • but where can i put the login code?

  • 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.

  • What is wrong ? :P

    whit :

    namefile = Text3

  • is it possible to get the information off a website like in vb "Skinet"? so it will still read the text in the file.

  • 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

  • Open App.Path & "\Accounts\users\" + namefile + ".txt" For Output As #1 is bold in yello

  • You need to create the folder "Accounts" with "Users" in it

  • bad file name or number when i create accounts apperns on screen time error 52

  • open app.path & "\Accounts\users\" + namefile + ".txt" is this wrong

  • Make a button and on its code type:

    form2.show

  • 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 :)

  • its all about where you put the program

  • 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"?

  • 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.

  • Yeah, this is getting annoying 'cause he isn't responding, but I have the some problem as you two guys :(

  • VB 2005 and 2008 are similar but VB6 is quiet different.

  • i have 2005 and it works in mine i also use vb 6.0 at school and the same stuff works

  • 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?

  • i had That problem also but you did something wrong i think

  • It doesn't work:( it don't create an .txt File

  • Why dont you make the files coded? Such as replacing "a" with "{u" or something to hide the names and codes?

  • i get an error when doing the creating tab,

    when i do the code in the "create" tab,

    it says "Expected As"

  • ? this works for me aswell, try to reinstall cuz you seem to have more problems.

  • 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

  • You can repace "" with Empty in your code..

    "" = Empty

    Empty = ""

    It's all the same...

  • i didn't know that but ill prefer ""

  • 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

  • i dont know how to do that.. can you ?? Please ?? Requesting. i really need in my server. Thanks

  • i can, but what do you mean by requesting, what do you want me to do ?

  • 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.

  • 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*

  • yes you could do that though

  • 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" ??

  • 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 ??? ^_^

  • yes, it will save a new account in the createon part, watch all the parts !

  • 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..

  • 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'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

  • Thanks, good comments are welcome xD

  • Thanx a lot

  • you're welcome

  • Is somebody need help, mail me ( i prefer that ) or Pm me with good explained and detailed problem, then i can help you.

  • 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

  • Also the program doesn't make the txt file

  • it should work in Visual Basic 6.0 ( this isn't for 5 or 2005 )

  • Too complicated. Tryed 40+ times, all failed. Can you help me, SilverMagics? o_o

  • i need the code can you write it here! thanks

  • 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.

  • Thanks! I'm gonna use the namefile part to name the file, to make an advanced Data Storer! :O

  • thats easy lol

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more