User Profile

Collapse

Profile Sidebar

Collapse
ldpfrog
ldpfrog
Last Activity: Jul 9 '07, 07:50 AM
Joined: Nov 22 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ldpfrog
    replied to Reading in Login info from outside
    Understood, thank you! Check out my other post about reading the file from the internet?
    See more | Go to post

    Leave a comment:


  • ldpfrog
    replied to Reading in Login info from outside
    I know but I learned programming in TrueBasic and am not used to using 0 in arrays so I was afraid it would screw things up (which it did anyway). But thank you!
    See more | Go to post

    Leave a comment:


  • ldpfrog
    started a topic Opening a text file from the internet

    Opening a text file from the internet

    I was wondering how I would be able to open and take input from a text file through the internet. I was hoping that I could simply replace the filepath on my computer with the direct file online, but that was not the case. I'm using this to take usernames and passwords from the file. This is the working code I have now putting the data into an array.

    Thanks alot, Frog

    [CODE=vb]nFileNum = FreeFile

    Open...
    See more | Go to post

  • Simple way to read Login information from text file

    This is my first tutorial, so if there are any mistakes please forgive me =).

    This will show you a very simple way to read your Login information from an outside text file.

    What you need:
    1. Add a new "Login Dialog" form to your project.
    2. Completely erase the code inside of it, but keep the interface.
    3. Create a text file listing your usernames and passwords one line after the other....
    See more | Go to post

  • ldpfrog
    replied to Reading in Login info from outside
    Okay, thank you all alot for your help. This was the code that I came up with. I Created an array UInfo(999, 2). The X portion of this array is the maximum amount of usernames and passwords I could set, I could increase the amount but I doubt I'll have over 1000 users using this program. The Y portion is set up so if Y=1 then you are looking at a username, and if Y=2 then it is the password for the corresponding username.

    In order...
    See more | Go to post
    Last edited by Killer42; Jul 9 '07, 02:35 AM. Reason: Add =vb to CODE tag.

    Leave a comment:


  • ldpfrog
    replied to Reading in Login info from outside
    I did see that but I don't understand how to use it. It essentially hands you a chunk of code and doesn't tell you how to use it

    I have also been looking online and many are saying to use ADO, where you would use excel as opposed to a text file. I have been screwing around with this with no success =/.
    See more | Go to post

    Leave a comment:


  • ldpfrog
    started a topic Reading in Login info from outside

    Reading in Login info from outside

    I am currently writing a very simple encryption program for my friends and myself. I'm still learning VB, but am very familiar with programming itself. This is all irrelevant though, because this technique could be applied to any program which requires logging in.

    I would like to be able to make a file (just a basic text file or spreadsheet to start would be fine) with Usernames and Passwords listed which will be accepted into my program....
    See more | Go to post

  • ldpfrog
    replied to Working with clipboard
    Alright, I now have the program running fine. You simply hightlight what text you want converted and hit win-z and it replaces that text with the encoded text. You highlight what text you want decoded and you get a message box with the decoded text, all while keeping this inside the log in the main program. I also have it to minimize to the tray. I didn't figure out how to set the code$ array in a more organized fashion yet, but I suppose I'm content...
    See more | Go to post

    Leave a comment:


  • ldpfrog
    replied to Working with clipboard
    Yes, I want it to be the same sequence each time, otherwise a program on another computer could not decode it. Essentially I have 10 different code$ arrays with an identifier halfway through the sentence to signal the decoder which array to use. I'll have to play around with the Randomize statement to see if i acn figure something out, seeing as this problem greatly increases the size of my program. I basically have an extra 950 lines lying around,...
    See more | Go to post

    Leave a comment:


  • ldpfrog
    replied to Working with clipboard
    I got it! I figured it out not 10 minutes before you posted. This is what I did.

    Code:
    sl = Len(uinput.Text)
    For x = 1 To sl
    word2$(x) = Mid$(uinput, x, 1)
    Next x
    M = 0
    Log.Text = Log.Text & "Me: " + uinput.Text + " ("
    Do Until W = sl
    W = W + 1
    For x = 1 To 95
    If alpha$(x) = word2$(W) Then R = x
    Next x
    Log.Text = Log.Text & code$(R)
    ...
    See more | Go to post

    Leave a comment:


  • ldpfrog
    replied to Working with clipboard
    I'm not familiar with the sendkeys command but I've been toying around with it without success. I'm thinking once I have that down I will be pretty much finished. Nearly every program in Windows recognizes the Ctrl-C and Ctrl-V commands so hopefully I will soon be finished. All I will have to do once I figure out how to copy the text to the clipboard is
    Code:
    uinput = clipboard.gettext
    and then have it run the scrambling subprogram and do a
    Code:
    clipboard.settext
    ...
    See more | Go to post

    Leave a comment:


  • ldpfrog
    replied to Working with clipboard
    ooh okay. sl is = sentence length..it takes the length of the sentence so it knows how long to loop when converting. I suppose instead of sl i would make it uinput (userinput). So that way it is taking the clipboard text and replacing the textbox input in my program. Now the only problem is I'm not familiar with the clipboard in VB6 and all the tutorials online are unclear. I want one hotkey to copy, scramble, and paste. The way you had it written...
    See more | Go to post

    Leave a comment:


  • ldpfrog
    replied to Working with clipboard
    I dont understand, what is it supposed to be doing then?...
    See more | Go to post

    Leave a comment:


  • ldpfrog
    started a topic Working with clipboard

    Working with clipboard

    I posted a few weeks ago about an encryption program I was writing. I now have it working almost as a translator program. I want to use system wide hotkeys to be able to copy, run through the scrambler, and paste over wherever the text was, while also continue to add to the log kept in the home form. I am using mclhotkey for the systemwide hotkeys, but I am not familiar with the clipboard in VB6.

    This is the code I have to encode whatever...
    See more | Go to post

  • ldpfrog
    started a topic A few VB 6 noob questions.

    A few VB 6 noob questions.

    1. How do I utilize the clipboard...for example...copy highlighted text and paste text?


    2. In truebasic you could easily read data to an array by using a code such as
    Code:
    for x=1 to 10
    read alpha$(x)
    next x
    data a,b,c,d,e,f,g,h,i,j
    as far as I can tell the read statement has been abolished in VB 6.

    HELP PLEASE =)
    See more | Go to post

  • ldpfrog
    started a topic Creating an "Encoder/Decoder" in VB

    Creating an "Encoder/Decoder" in VB

    Basically my friend's parents used to log his AIM and email so we made a barbaric version of an encoder that we could type in what we wanted and get random letters out. The only problem is that I did it in Truebasic, and I am new to VB. I have the interface layed out with an Encode button and a Decode button with an Input and an output/log. Eventually I want to have it just with universal hotkeys to where you can highlight a text and it automatically...
    See more | Go to post
No activity results to display
Show More
Working...