Results 1 to 7 of 7

Thread: Anyone can help me with these controls?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2008
    Posts
    31

    Anyone can help me with these controls?

    Does anyone know if there's an activex control like these one?


    One more thing, can anyone suggest a library that I can use to encrypt strings to be stored in a database? Thanks!

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Anyone can help me with these controls?

    Quote Originally Posted by cantinamosh
    Does anyone know if there's an activex control like these one?
    There might be.. but it looks like it would be just as easy to make it yourself rather than implement an existing one.

    It looks to me like a FlexGrid and some combo's, and the _click event of the combos altering the filter for the data... exactly how you would filter the data (and which pre-made controls you could use) depends on your circumstances - where you are getting the data from, etc.
    One more thing, can anyone suggest a library that I can use to encrypt strings to be stored in a database? Thanks!
    There are several in our CodeBank - VB6 forum.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2008
    Posts
    31

    Re: Anyone can help me with these controls?

    Thanks for the response. My plan is to have a control like that I could use just to display info, so editing capabilities won't really matter. I'll check out the code bank too and hope to get some suggestions.

    BTW, what would I need to store program settings in an encrypted DAT file? Can anyone point me to a guide or reference on how to do that?

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Anyone can help me with these controls?

    The extension ".DAT" is pretty meaningless, as it has been used by so many programs/companies with so many different formats.

    As you just want to store encrypted data, build your data in a String, encrypt it, and save it (with .DAT or whatever you like on the end of the file name) by using the Open statement (with keywords of Binary and Output). See the help on it for examples.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Apr 2008
    Posts
    31

    Re: Anyone can help me with these controls?

    Thanks! I've noticed that too but I just never had any idea what topic to look at since the DAT file extension doesn't really seem to mean anything.

  6. #6
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Anyone can help me with these controls?

    I just noticed that there is an example of reading and writing in Binary mode at the end of this tutorial, which is linked from the "Files" section of our Classic VB FAQs (in the FAQ forum, which is shown near the top of our home page)

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Apr 2008
    Posts
    31

    Re: Anyone can help me with these controls?

    Thanks! Just about to sit and code. Actually I was going through your sig a while ago and did some reading.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width