|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
~ Ryan ~
|
VB6 Find and Store.
I have been thinking about doing a little VB6 program to help decipher Hijack This Logs so that they don't have to be analyzed online - especially if one is infected with malware that prevents webpages to be viewed.
Thinking deeper into the idea, I am pretty sure that BASIC will be able to handle the functions as I want them. I was planing on having a total log analyzer - you put in the log, press the start button and seconds later it would spit out information on each entry in the log, and if malware - telling how to best remove it. To do so, I would need a way to find and store the individual keywords to then refer to against the database I would program into it. But, I am drawing a blank on the coding for finding specific characters and locations. Such coding which would be able to identify the { } and [ ] characters and store the information located between them. Thanks In Advance, Ryan If this doesn't seem posible - or at least to someone of my limited programming skills, I know a simpler way would be to have a text box where you insert the BHO # or Start Up Keyword and press and "Info" Button - similar to those found online.
__________________
RiotCats.com, an internet domain specifically fabricated and visually erected for the appreciation of the feline kingdom! |
|
|
|
|
|
#2 |
|
Member (9 bit)
Join Date: Feb 2005
Posts: 392
|
this may help:
http://www.freevbcode.com/ShowCode.Asp?ID=417 try replacing "," with "[" and "{", then there you go...
__________________
words to live by: others don't know, I know. others know, I know more. others know more, I excel. one shouldnt read this far; above, is meant as an encouragement, translated from a Chinese Proverb. "He who angers you conquers you." : Elizabeth Kenny |
|
|
|
|
|
#3 | |
|
~ Ryan ~
|
Quote:
At the moment I am working on a Sudoku Puzzle Maker as a special project. The expected time to finish it is one month as it is a LOT of code and what seem like hundreds of If/Then statements. If anyone is an avid VB6 user, I highly recommend trying out this project (the Sudoku one) as it is one of the most enjoyable ones I have worked on and the overall coding isn't too difficult - it is the logic and problem solving parts which make it difficult. |
|
|
|
|
|
|
#4 |
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
Sounds like you are just doing simple string parsing. The functions "instr" and "mid" would be most helpful.
|
|
|
|
|
|
#5 | |
|
~ Ryan ~
|
I know it isn't Mid -
Quote:
Like I said - it might be easier to have a 04 text box where you put in the keyword and press a Find Button and then in a label below, it is updated with the information - that would also make coding it simpler while (in the end) the same goal is accomplished. |
|
|
|
|
|
|
#6 |
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
Mid would work if you did something like this
Code:
start = instr("[", data)
finish = instr("]", data, start + 1)
value = mid(data, start, finish - start)
|
|
|
|
|
|
#7 |
|
~ Ryan ~
|
Okay, thanks, I will try that out later. I first have to code most of the data base such as
Code:
if value1 = "Option04" then label2.caption = "Option04 is associated with etc.... |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|