Solved

separate output strings into a flexgrid in order

Posted on 2014-12-06
8
89 Views
Last Modified: 2014-12-07
On the attached project, I have a BlockList form that shows all blocked websites in among several text files.  These text files are located in the test folder.  When clicking "Show Blocked Sites" they output in the Immediate Window, but I would instead like them to output to a Flexgrid for viewing purposes.

For example, execute the program under the BlockedList Form and choose the date range from 11/11/2014 to 11/24/2014 and you will find all the typical results below in the immediate window.


30                adnxs.com: ib.adnxs.com.                           192.168.1.100
3                  blogspot.com: adsense.blogspot.com.       192.168.1.100


However I would like to separate these strings as indicated above into 3 columns in a flexgrid.  Then also list them from greatest to smallest number of blocked sites



Any help is always appreciated.
CB.zip
0
Comment
Question by:al4629740
  • 4
  • 4
8 Comments
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 40485205
Consider this a first draft. I assume you want to summarize the websites but I need some direction on how to do that.
Q-28575780.zip
0
 

Author Comment

by:al4629740
ID: 40485457
Looking great.  It is exactly in the order it should be.

The only thing I'm pondering is what to do when certain sites that come up as

^.*s(3|e)x: expertsexchange.112.2o7.net.

I have to figure out what those sites are
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40485553
Are you implying that you don't want any summarization?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:al4629740
ID: 40485852
Sounds good : )  What do you mean by summarization?
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40485917
Well I thought there might be duplicates that you'd want added up and shown as one total, but I see now that there aren't any complete duplicates. There are for example a lot that contain "tumblr.com" but none where the second column is exactly the same.
0
 

Author Comment

by:al4629740
ID: 40486041
Is it possible to put the following headers in?

#Blocked          Site             IP Address
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40486154
0
 

Author Comment

by:al4629740
ID: 40486165
Thank you
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question